summaryrefslogtreecommitdiff
path: root/doc/bitstream_filters.texi
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-08-01 15:35:14 +0100
committerMark Thompson <sw@jkqxz.net>2017-10-17 20:56:30 +0100
commit569721ac8dee6b73cd68ea858f59c7d800a1686d (patch)
tree9c547847da96fde2d286f7c005a183a959099724 /doc/bitstream_filters.texi
parent278c308ceae6b8d7bac1dfc24518821aae603988 (diff)
lavc: Add mpeg2_metadata bitstream filter
(cherry picked from commit b78c30d7ec26af67c00ce2002709a189f6a87a7e)
Diffstat (limited to 'doc/bitstream_filters.texi')
-rw-r--r--doc/bitstream_filters.texi36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index 140954880c..5efb8e0ee8 100644
--- a/doc/bitstream_filters.texi
+++ b/doc/bitstream_filters.texi
@@ -324,6 +324,42 @@ See also the @ref{text2movsub} filter.
Decompress non-standard compressed MP3 audio headers.
+@section mpeg2_metadata
+
+Modify metadata embedded in an MPEG-2 stream.
+
+@table @option
+@item display_aspect_ratio
+Set the display aspect ratio in the stream.
+
+The following fixed values are supported:
+@table @option
+@item 4/3
+@item 16/9
+@item 221/100
+@end table
+Any other value will result in square pixels being signalled instead
+(see H.262 section 6.3.3 and table 6-3).
+
+@item frame_rate
+Set the frame rate in the stream. This is constructed from a table
+of known values combined with a small multiplier and divisor - if
+the supplied value is not exactly representable, the nearest
+representable value will be used instead (see H.262 section 6.3.3
+and table 6-4).
+
+@item video_format
+Set the video format in the stream (see H.262 section 6.3.6 and
+table 6-6).
+
+@item colour_primaries
+@item transfer_characteristics
+@item matrix_coefficients
+Set the colour description in the stream (see H.262 section 6.3.6
+and tables 6-7, 6-8 and 6-9).
+
+@end table
+
@section mpeg4_unpack_bframes
Unpack DivX-style packed B-frames.