diff --git a/index.html b/index.html index ecc75ee..362f6c9 100644 --- a/index.html +++ b/index.html @@ -303,6 +303,11 @@ AAC is the codec most often used for audio streams within an .mp4 container.
output_file
path, name and extension of the output file
+

In order to optimize the file for streaming, you can add this preset:

+

ffmpeg -i input_file -c:v libx264 -pix_fmt yuv420p -c:a aac -movflags +faststart output_file

+
+
-movflags +faststart
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).
+

In order to use the same basic command to make a higher quality file, you can add some of these presets:

ffmpeg -i input_file -c:v libx264 -pix_fmt yuv420p -preset veryslow -crf 18 -c:a aac output_file