From faf77f3a52b9d0c264bb25f1049646ce59d020ff Mon Sep 17 00:00:00 2001
From: Ashley Blewer ffmpeg -i input_file -c:v copy -aspect 4:3 output_file
+ 4:3
. Experiment with other aspect ratios such as 16:9
. If used together with -c:v copy
, it will affect the aspect ratio stored at container level, but not the aspect ratio stored in encoded frames, if it exists. ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_file
ffmpeg -i input_file -c:v prores -filter:v setfield=tff output_file
setfield=bff
for bottom field first. setfield=bff
for bottom field first. ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_fileffprobe input_file -show_streams
- ffprobe
- starts the command
- - input_file
- path, name and extension of the input file
+ - input_file
- path, name and extension of the input file
- -show_streams
- Shows metadata of stream properties
Values that are set to 'unknown' and 'undetermined' may be unspecified within the stream. An unknown aspect ratio would be expressed as '0:1'. Streams with many unknown properties may have interoperability issues or not play as intended. In many cases, an unknown or undetermined value may be accurate because the information about the source is unclear, but often the value is intended to be known. In many cases the stream will played with an assumed value if undetermined (for instance a display_aspect_ratio of '0:1' may be played as 'WIDTH:HEIGHT'), but this may or may not be what is intended. Use carefully.
@@ -1120,8 +1120,8 @@ e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_fileffmpeg -i input_file -c copy -map 0 -aspect DAR_NUM:DAR_DEN output_file
- ffmpeg
- starts the command
- - -i input_file
- path, name and extension of the input file
- - -c copy
- Usings stream copy for all streams
+ - -i input_file
- path, name and extension of the input file
+ - -c copy
- Usings stream copy for all streams
- -map 0
- Tells ffmpeg to map all streams of the input to the output.
- -aspect DAR_NUM:DAR_DEN
- Replace DAR_NUM with the display aspect ratio numerator and DAR_DEN with the display aspect ratio denominator, such as -aspect 4:3 or -aspect 16:9.
- output_file
- path, name and extension of the output file
@@ -1130,8 +1130,8 @@ e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_fileOther properties may be clarified in a similar way. Replace -aspect and its value with other properties such as shown in the options below. Note that setting color values in QuickTime requires that -movflags write_colr is set.
- -color_primary VALUE -movflags write_colr
- Set a new color_primary value. The vocabulary for values is at ffmpeg.
- - -color_trc VALUE -movflags write_colr
- Set a new color_transfer value. The vocabulary for values is at ffmpeg.
- - -field_order VALUE
- Set interlacement values. The vocabulary for values is at ffmpeg.
+ - -color_trc VALUE -movflags write_colr
- Set a new color_transfer value. The vocabulary for values is at ffmpeg.
+ - -field_order VALUE
- Set interlacement values. The vocabulary for values is at ffmpeg.