mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-01-11 19:17:08 +01:00
add note for +faststart
This commit is contained in:
parent
42cacd8414
commit
e08ec96fd9
@ -303,6 +303,11 @@
|
||||
AAC is the codec most often used for audio streams within an .mp4 container.</dd>
|
||||
<dt><em>output_file</em></dt><dd>path, name and extension of the output file</dd>
|
||||
</dl>
|
||||
<p>In order to optimize the file for streaming, you can add this preset:</p>
|
||||
<p><code>ffmpeg -i <em>input_file</em> -c:v libx264 -pix_fmt yuv420p -c:a aac -movflags +faststart <em>output_file</em></code></p>
|
||||
<dl>
|
||||
<dt>-movflags +faststart</dt><dd>This tells FFmpeg to move some of the essential metadata to the start of the file, which permits starting viewing before the file finishes downloading (an ideal characteristic for streaming).</dd>
|
||||
</dl>
|
||||
<p>In order to use the same basic command to make a higher quality file, you can add some of these presets:</p>
|
||||
<p><code>ffmpeg -i <em>input_file</em> -c:v libx264 -pix_fmt yuv420p -preset veryslow -crf 18 -c:a aac <em>output_file</em></code></p>
|
||||
<dl>
|
||||
|
Loading…
Reference in New Issue
Block a user