diff --git a/index.html b/index.html index 1f277e3..fb712c9 100644 --- a/index.html +++ b/index.html @@ -110,7 +110,7 @@
ffmpeg
starts the command
-i input_file
path, name and extension of the input file
-c:v libx264
tells ffmpeg to change the video codec of the file to H.264
-
-pix_fmt yuv420p
libx264 will use a chroma subsampling scheme that is the closest match to that of the input. This can result in YUV 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. In order to allow the video to play in all players, you can specify 4:2:0 chroma subsampling.
+
-pix_fmt yuv420p
libx264 will use a chroma subsampling scheme that is the closest match to that of the input. This can result in YUV 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. In order to allow the video to play in all players, you can specify 4:2:0 chroma subsampling.
-c:a copy
tells ffmpeg not to change the audio codec
output_file
path, name and extension of the output file
@@ -289,7 +289,7 @@ - + + + + + +

Make derivative variations

@@ -508,7 +547,7 @@
-c copy
use stream copy mode (no re-encoding)
Note: watch out when using -ss with -c copy if the source is encoded with an interframe codec (e.g., H.264). Since ffmpeg must split on i-frames, it will seek to the nearest i-frame to begin the stream copy.
output_file
path, name and extension of the output file
- +

Variation: trim video by setting duration, by using -t instead of -to

ffmpeg -i input_file -ss 00:05:00 -t 10 -c copy output_file

@@ -642,7 +681,7 @@

Modify the ffmpeg script as needed to perform different transcodes :)

- + @@ -1195,7 +1234,7 @@ e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_file
ffmpeg
starts the command
-i input_file
path, name and extension of the input file
-
-filter:v setfield=tff
Sets the field order to top field first. Use setfield=bff for bottom field first.
+
-filter:v setfield=tff
Sets the field order to top field first. Use setfield=bff for bottom field first.
-c:v prores
Tells ffmpeg to transcode the video stream into Apple ProRes 422. Experiment with using other codecs.
output_file
path, name and extension of the output file
@@ -1205,7 +1244,7 @@ e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_file - + - +