diff --git a/index.html b/index.html index d51a217..85bc2fd 100644 --- a/index.html +++ b/index.html @@ -445,6 +445,38 @@ + + +
ffmpeg -i input_file -c:v libx264 -vf "yadif,format=pix_fmts=yuv420p" output_file
This command takes an interlaced input file and outputs a deinterlaced H.264 MP4.
+libx264
will use a chroma subsampling scheme that is the closest match to that of the input. This can result in Y′CbCr 4:2:0, 4:2:2, or 4:4:4 chroma subsampling. QuickTime and most other non-FFmpeg based players can’t decode H.264 files that are not 4:2:0, therefore it's advisable to specify 4:2:0 chroma subsampling.For more H.264 encoding options, see the latter section of the encode H.264 command.
+"yadif,format=pix_fmts=yuv420p"
is an ffmpeg filtergraph. Here the filtergraph is made up of one filter chain, which is itself made up of the two filters (separated by the comma).
+ The enclosing quote marks are necessary when you use spaces within the filtergraph, e.g. -vf "yadif, format=pix_fmts=yuv420p"
, and are included above as an example of good practice.