diff options
author | James Almer <jamrial@gmail.com> | 2017-03-23 22:31:15 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-23 22:31:15 +0300 |
commit | 7ebc9f8df4035ecaa84ad4429480986e3e7597ae (patch) | |
tree | 7e97f2f4f4e95dc0b4b2f4fcb433cfed016acb19 /doc/bitstream_filters.texi | |
parent | 4a5810b6592db74b9c345ea74c4f08f5f490874c (diff) | |
parent | 89b35a139e838deeb32ec20d8d034c81014401d0 (diff) |
Merge commit '89b35a139e838deeb32ec20d8d034c81014401d0'
* commit '89b35a139e838deeb32ec20d8d034c81014401d0':
lavc: add a bitstream filter for extracting extradata from packets
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'doc/bitstream_filters.texi')
-rw-r--r-- | doc/bitstream_filters.texi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index e397ff9050..d9d4a34779 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -74,6 +74,24 @@ the header stored in extradata to the key packets: ffmpeg -i INPUT -map 0 -flags:v +global_header -c:v libx264 -bsf:v dump_extra out.ts @end example +@section extract_extradata + +Extract the in-band extradata. + +Certain codecs allow the long-term headers (e.g. MPEG-2 sequence headers, +or H.264/HEVC (VPS/)SPS/PPS) to be transmitted either "in-band" (i.e. as a part +of the bitstream containing the coded frames) or "out of band" (e.g. on the +container level). This latter form is called "extradata" in Libav terminology. + +This bitstream filter detects the in-band headers and makes them available as +extradata. + +@table @option +@item remove +When this option is enabled, the long-term headers are removed from the +bitstream after extraction. +@end table + @section h264_mp4toannexb Convert an H.264 bitstream from length prefixed mode to start code |