summaryrefslogtreecommitdiff
path: root/doc/bitstream_filters.texi
Commit message (Collapse)AuthorAge
* lavc/{av1, h264, h265}_metadata_bsf: fix description of tick_rateZhao Zhili2022-01-01
| | | | | | | | Users may take the description literally which leads to inverted results. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com> Reviewed-by: Jun Zhao <barryjzhao@tencent.com
* avcodec/noise_bsf: restore dropamount for backwards compatibilityGyan Doshi2021-07-30
|
* avcodec/noise_bsf: add expr supportGyan Doshi2021-07-29
|
* avcodec/setts_bsf: add a NOPTS constantJames Almer2021-07-04
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/h264_metadata_bsf: Allow zeroing constraint_set4_flag and ↵Derek Buitenhuis2021-06-29
| | | | | | | | | | | constraint_set5_flag These bits are reserved in earlier versions of the H.264 spec, and some poor hardware decoders require they are zero. Thus, it is useful to be able to zero these on streams that may have them set. The result is still a valid H.264 bitstream. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec/setts_bsf: add sample rate for expressionsPaul B Mahol2021-02-15
|
* avcodec: add setts bitstream filterPaul B Mahol2021-02-12
|
* avcodec/pcm_rechunk_bsf: add bitstream filter to rechunk pcm audioMarton Balint2020-05-07
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/prores_metadata_bsf: add arib-std-b67 format supportLimin Wang2020-05-03
| | | | | | | It's based on the following specs: RDD 45:2017 - SMPTE Registered Disclosure Doc - Interoperable Master Format - Application ProRes Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avcodec/prores_metadata_bsf: add smpte2084 format supportLimin Wang2020-05-03
| | | | | | | It's based on the following specs: RDD 36:2015 - SMPTE Registered Disclosure Doc - Apple ProRes Bitstream Syntax and Decoding Process Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* doc/bitstream_filters: Fix copy an paste typoLimin Wang2019-11-05
| | | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* h264_metadata: Support overscan_appropriate_flagMark Thompson2019-07-29
| | | | Fixes #8041.
* vp9_metadata: Improve spec-compliance and warningsAndreas Rheinhardt2019-07-28
| | | | | | | | | | | | | | | | | | The earlier version had three deficits: 1. It allowed to set the stream to RGB although this is not allowed when the profile is 0 or 2. 2. If it set the stream to RGB, then it did not automatically set the range to full range; the result was that one got a warning every time a frame with color_config element was processed if the frame originally had TV range and the user didn't explicitly choose PC range. Now one gets only one warning in such a situation. 3. Intra-only frames in profile 0 are automatically BT.601, but if the user wished another color space, he was not informed about his wishes being unfulfillable. The commit also improves the documentation about this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* dump_extra: Don't add extradata if it already existsAndreas Rheinhardt2019-07-14
| | | | | | | | | | | | | | | | | | | | | The dump_extra bitstream filter currently simply adds the extradata to the packets indicated by the user without checking whether said extradata already exists in the packets. Besides wasting space duplicated extradata in the same packet/access unit is also forbidden for some codecs, e.g. MPEG-2. This check has been added to be able to use the mpeg2_qsv encoder (which only adds the sequence headers to the first packet) in broadcast scenarios where repeating sequence headers are required. The check used here is not perfect: E.g. dump_extra would add the extradata to a H.264 access unit consisting of an access unit delimiter, SPS, PPS and slices. Fixes #8007. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* h265_metadata: Add option to set the level of the streamMark Thompson2019-07-07
| | | | To match the same option in h264_metadata.
* bitstream_filters: Correct dump_extradata descriptionAndreas Rheinhardt2019-06-04
| | | | | | | The default is to dump extradata to keyframes, not all frames. Also improve the description of the relevant AVOption. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/av1_metadata: add an option to remove Padding OBUsJames Almer2019-04-03
| | | | | Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
* doc: fix various typosMoritz Barsnick2019-02-10
| | | | | | | Found with the help of codespell-1.14.0. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
* trace_headers: Update documentationAndreas Rheinhardt2018-12-02
| | | | | | | It also supports AV1 and (M)JPEG. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avcodec: add truehd_core bitstream filterPaul B Mahol2018-11-23
|
* avcodec : add prores_metadata bsf for set the color property of each prores ↵Martin Vignali2018-11-11
| | | | frame
* doc/bitstream_filters: Add av1_metadataMark Thompson2018-10-16
|
* h264_metadata: Add option to set the level of the streamMark Thompson2018-09-23
|
* lavc: Add VP9 metadata bitstream filterMark Thompson2018-05-02
| | | | Can adjust the colour information.
* lavc: Add coded bitstream read/write support for VP9Mark Thompson2018-05-02
|
* avcodec: add eac3_core bitstream filterPaul B Mahol2018-03-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc: Add filter_units bitstream filterMark Thompson2018-03-18
| | | | | | This can remove units with types in or not in a given set from a stream. For example, it can be used to remove all non-VCL NAL units from an H.264 or H.265 stream.
* avcodec/hapqa_extract_bsf : add new bsf filterMartin Vignali2018-03-13
| | | | | convert HapQA data to HAPQ or HAPAlphaOnly by copying the corresponding texture
* doc/bitstream_filters: correct dump_extra bsfs docs.Jun Zhao2018-03-03
| | | | | | | | | Update dump_extra bit stream filter docs to follow current code implement. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/bitstream_filters: documents delete_filler option.Jun Zhao2018-02-24
| | | | | | | documents delete_filler option for bsf h264_metadata. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc: Add mpeg2_metadata bitstream filterMark Thompson2017-10-17
| | | | (cherry picked from commit b78c30d7ec26af67c00ce2002709a189f6a87a7e)
* lavc: Add hevc_metadata bitstream filterMark Thompson2017-10-17
| | | | | | | This is able to modify some header metadata found in the VPS/SPS/VUI, and can also add/remove AUDs. (cherry picked from commit b31a9eae0233325c4b382c657f4b687d5d8b0812)
* lavc: Add h264_redundant_pps bitstream filterMark Thompson2017-10-17
| | | | | | | | | | | This applies a specific fixup to some Blu-ray streams which contain redundant PPSs modifying irrelevant parameters of the stream which confuse other transformations which require correct extradata. A new single global PPS is created, and all of the redundant PPSs within the stream are removed. (cherry picked from commit e6874bc3af2f09af39b5d91b9c5f9ded67459696)
* lavc: Add h264_metadata bitstream filterMark Thompson2017-10-17
| | | | | | | | This is able to modify some header metadata found in the SPS/VUI, and can also add/remove AUDs and insert user data in SEI NAL units. (cherry picked from commit 9e93001b6135a23fe4e200196c08fb4fbffed6fc) (cherry picked from commit c42b62d1f9641f10ffc23cad9abbe47d8a4a165b)
* lavc: Add trace_headers bitstream filterMark Thompson2017-10-17
| | | | | | | Supports all streams that the coded bitstream infrastructure does (currently H.264, H.265 and MPEG-2). (cherry picked from commit f11d8a5e8b185340cc50fcbc8a1437b0fbe7e931)
* avcodec/noise_bsf: add support for dropping packetsMarton Balint2017-07-09
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* vp9: Add bsf to fix reordering in raw streamsMark Thompson2017-06-24
| | | | | | | | | | | Takes a raw input stream containing frames with correct timestamps but possibly out of order and inserts additional show-existing-frame packets to correct the ordering. (cherry picked from commit 34e051d16850701694410a0e72e0e4ff3a5ec293) (cherry picked from commit b43b95f4789b6e60f9684918fd3c0a5f3f18aef6) Also converted from bitstream to get_bits.
* Merge commit '03a80925effc2698d21dc0b00290eecf42dd9e68'James Almer2017-04-22
|\ | | | | | | | | | | | | * commit '03a80925effc2698d21dc0b00290eecf42dd9e68': lavc: add a bitstream filter for splitting VP9 superframes Merged-by: James Almer <jamrial@gmail.com>
| * lavc: add a bitstream filter for splitting VP9 superframesAnton Khirnov2016-12-14
| | | | | | | | Partially based on code by Ronald S. Bultje <rsbultje@gmail.com>.
* | Merge commit '47e547b321338c73c21fa623789f1efbd80a297a'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit '47e547b321338c73c21fa623789f1efbd80a297a': lavc: add a null bitstream filter Merged-by: Clément Bœsch <u@pkh.me>
| * lavc: add a null bitstream filterAnton Khirnov2016-12-14
| | | | | | | | | | | | It is useful for testing/debugging and will also be used as the default filter in the following commit adding pre-decode filtering to avoid having a separate non-filtered codepath.
* | doc/bitstream_filters: Fix project name after mergeMichael Niedermayer2017-03-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '89b35a139e838deeb32ec20d8d034c81014401d0'James Almer2017-03-23
|\| | | | | | | | | | | | | * commit '89b35a139e838deeb32ec20d8d034c81014401d0': lavc: add a bitstream filter for extracting extradata from packets Merged-by: James Almer <jamrial@gmail.com>
| * lavc: add a bitstream filter for extracting extradata from packetsAnton Khirnov2016-10-16
| | | | | | | | | | This is intended as a replacement for the 'split' function exported by some parsers.
| * doc: Fix some obsolete references to av* tools as ff* toolsVicente Jimenez Aguilar2013-02-18
| | | | | | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> CC: libav-stable@libav.org
* | doc/bsfs: various improvementsMoritz Barsnick2016-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | - Restored alphabetical order. - Enhanced sections aac_adtstoasc, dca_core, h264_mp4toannexb. - Added sections hevc_mp4toannexb and vp9_superframe. - Renamed (if required) and filled previously empty sections mjpegadump, mov2textsub/text2movsub, mp3decomp, and remove_extra. - Fixes ticket #3198. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Lou Logan <lou@lrcd.com>
* | doc/bsfs: Fix bsf options divider in documentationJan Sebechlebsky2016-08-13
| | | | | | | | | | | | | | | | The actual implementation uses ':' divider, not '/' as documented. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: add dca core extraction bsfPaul B Mahol2016-03-28
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add unpack packed B-frames bitstream filterAndreas Cadhalpun2015-04-05
| | | | | | | | | | | | | | Fixes Ticket #2913 Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc: mention the noise_bsf parameter in the docsChristophe Gisquet2014-12-01
| | | | | | | | | | | | | | This looks more like a seed than an amount, as the variable name could lead to think. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>