From 89b35a139e838deeb32ec20d8d034c81014401d0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 21 Aug 2016 17:08:34 +0200 Subject: lavc: add a bitstream filter for extracting extradata from packets This is intended as a replacement for the 'split' function exported by some parsers. --- doc/bitstream_filters.texi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc') diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 6e7f8781ee..7ddf52e34d 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -21,6 +21,24 @@ Below is a description of the currently available bitstream filters. @section dump_extradata +@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 @section imx_dump_header -- cgit v1.2.3