diff --git a/index.html b/index.html index b93d6a2..0ab8c79 100644 --- a/index.html +++ b/index.html @@ -958,24 +958,15 @@

ffmpeg -r 1 -loop 1 -i image_file -i audio_file -acodec copy -shortest -vf scale=1280:720 output_file

This command will take an image file (e.g. image.jpg) and an audio file (e.g. audio.mp3) and combine them into a video file that contains the audio track with the image used as the video. It can be useful in a situation where you might want to upload an audio file to a platform like YouTube. You may want to adjust the scaling with -vf to suit your needs.

-
ffmpeg
-
starts the command
-
-r 1
-
set the framerate
-
-loop 1
-
loop the first input stream
-
-i image_file
-
path, name and extension of the image file
-
-i audio_file
-
path, name and extension of the audio file
-
-acodec copy
-
copy the audio. -acodec is an alias for -c:a
-
-shortest
-
finish encoding when the shortest input stream ends
-
-vf scale=1280:720
-
filter the video to scale it to 1280x720 for YouTube. -vf is an alias for -filter:v
-
video_output_file
-
path, name and extension of the video output file
+
ffmpeg
starts the command
+
-r 1
set the framerate
+
-loop 1
loop the first input stream
+
-i image_file
path, name and extension of the image file
+
-i audio_file
path, name and extension of the audio file
+
-acodec copy
copy the audio. -acodec is an alias for -c:a
+
-shortest
finish encoding when the shortest input stream ends
+
-vf scale=1280:720
filter the video to scale it to 1280x720 for YouTube. -vf is an alias for -filter:v
+
video_output_file
path, name and extension of the video output file