diff --git a/index.html b/index.html index 695bf94..08bb434 100644 --- a/index.html +++ b/index.html @@ -294,7 +294,7 @@
ffmpeg -i input_file -c:v libx264 -pix_fmt yuv420p -c:a aac -map 0:a output_file
ffmpeg -i input_file -c:v libx264 -pix_fmt yuv420p -c:a aac output_file
This command takes an input file and transcodes it to H.264 with an .mp4 wrapper, audio is transcoded to AAC. The libx264 codec defaults to a “medium” preset for compression quality and a CRF of 23. CRF stands for constant rate factor and determines the quality and file size of the resulting H.264 video. A low CRF means high quality and large file size; a high CRF means the opposite.
In order to optimize the file for streaming, you can add this preset: