From 20db359803fe8419e97cfc0b79f9e59dabaf1251 Mon Sep 17 00:00:00 2001 From: Dave Rice Date: Fri, 22 Jul 2016 07:53:36 +0100 Subject: [PATCH 1/2] add notes about setting properties during stream copy --- index.html | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/index.html b/index.html index e91d25d..c872631 100644 --- a/index.html +++ b/index.html @@ -1075,6 +1075,48 @@ e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_file + + + + + From faf77f3a52b9d0c264bb25f1049646ce59d020ff Mon Sep 17 00:00:00 2001 From: Ashley Blewer Date: Fri, 22 Jul 2016 03:28:05 -0400 Subject: [PATCH 2/2] correct br/ to /dd --- index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 45eeee5..cd32f35 100644 --- a/index.html +++ b/index.html @@ -271,7 +271,7 @@

ffmpeg -i input_file -c:v copy -aspect 4:3 output_file

ffmpeg
starts the command
-
-i input_file
path, name and extension of the input file
+
-i input_file
path, name and extension of the input file
-c:v copy
Copy all mapped video streams.
-aspect 4:3
Change Display Aspect Ratio to 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.
output_file
path, name and extension of the output file
@@ -1086,8 +1086,8 @@ e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_fileffmpeg -i input_file -c:v prores -filter:v setfield=tff 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.
+
-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.
-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
@@ -1110,7 +1110,7 @@ e.g.: 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.