HTML housekeeping

Sorry, I missed these.
This commit is contained in:
Reto Kromer 2016-05-15 12:08:57 +02:00
parent f016869a9b
commit 25b41be22d

View File

@ -958,24 +958,15 @@
<p><code>ffmpeg -r 1 -loop 1 -i <i>image_file</i> -i <i>audio_file</i> -acodec copy -shortest -vf scale=1280:720 <i>output_file</i></code></p>
<p>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.</p>
<dl>
<dt>ffmpeg</dt>
<dd>starts the command</dd>
<dt>-r <i>1</i></dt>
<dd>set the framerate</dd>
<dt>-loop <i>1</i></dt>
<dd>loop the first input stream</dd>
<dt>-i <i>image_file</i></dt>
<dd>path, name and extension of the image file</dd>
<dt>-i <i>audio_file</i></dt>
<dd>path, name and extension of the audio file</dd>
<dt>-acodec <i>copy</i></dt>
<dd>copy the audio. -acodec is an alias for -c:a</dd>
<dt>-shortest</dt>
<dd>finish encoding when the shortest input stream ends</dd>
<dt>-vf <i>scale=1280:720</i></dt>
<dd>filter the video to scale it to 1280x720 for YouTube. -vf is an alias for -filter:v</dd>
<dt><i>video_output_file</i></dt>
<dd>path, name and extension of the video output file</dd>
<dt>ffmpeg</dt><dd>starts the command</dd>
<dt>-r <i>1</i></dt><dd>set the framerate</dd>
<dt>-loop <i>1</i></dt><dd>loop the first input stream</dd>
<dt>-i <i>image_file</i></dt><dd>path, name and extension of the image file</dd>
<dt>-i <i>audio_file</i></dt><dd>path, name and extension of the audio file</dd>
<dt>-acodec <i>copy</i></dt><dd>copy the audio. -acodec is an alias for -c:a</dd>
<dt>-shortest</dt><dd>finish encoding when the shortest input stream ends</dd>
<dt>-vf <i>scale=1280:720</i></dt><dd>filter the video to scale it to 1280x720 for YouTube. -vf is an alias for -filter:v</dd>
<dt><i>video_output_file</i></dt><dd>path, name and extension of the video output file</dd>
</dl>
</div>
</div>