diff --git a/index.html b/index.html index 13bd1a6..09e29d7 100644 --- a/index.html +++ b/index.html @@ -953,12 +953,7 @@

Create a video from an image and audio file.

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.

+

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
@@ -971,11 +966,11 @@
-i audio_file
path, name and extension of the audio file
-acodec copy
-
copy the audio
+
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
+
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