A bitstream filter operates on the encoded stream data, and performs bitstream level modifications without performing decoding. https://www.ffmpeg.org/ffmpeg-bitstream-filters.html
public enum BitstreamFilter
Convert MPEG-2/4 AAC ADTS to an MPEG-4 Audio Specific Configuration bitstream.
Modify metadata embedded in an AV1 stream.
Remove zero padding at the end of a packet.
Extract the core from a DCA/DTS stream, dropping extensions such as DTS-HD.
Add extradata to the beginning of the filtered packets except when said packets already exactly begin with the extradata that is intended to be added.
Extract the core from a E-AC-3 stream, dropping extra channels.
Extract the in-band extradata.
Remove units with types in or not in a given set from the stream.
Modify metadata embedded in an H.264 stream.
Convert an H.264 bitstream from length prefixed mode to start code prefixed mode (as defined in the Annex B of the ITU-T H.264 specification).
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.
Extract Rgb or Alpha part of an HAPQA file, without recompression, in order to create an HAPQ or an HAPAlphaOnly file.
Modify metadata embedded in an HEVC stream.
Convert an HEVC/H.265 bitstream from length prefixed mode to start code prefixed mode (as defined in the Annex B of the ITU-T H.265 specification).
Modifies the bitstream to fit in MOV and to be usable by the Final Cut Pro decoder. This filter only applies to the mpeg2video codec, and is likely not needed for Final Cut Pro 7 and newer with the appropriate -tag:v.
Convert MJPEG/AVI1 packets to full JPEG/JFIF packets.
Add an MJPEG A header to the bitstream, to enable decoding by Quicktime.
Extract a representable text file from MOV subtitles, stripping the metadata header from each subtitle packet.
Decompress non-standard compressed MP3 audio headers.
Modify metadata embedded in an MPEG-2 stream.
Unpack DivX-style packed B-frames.
Damages the contents of packets or simply drops them without damaging the container. Can be used for fuzzing or testing error resilience/concealment.
Modify color property metadata embedded in prores stream.
Remove extradata from packets.
Convert text subtitles to MOV subtitles (as used by the mov_text codec) with metadata headers.
Log trace output containing all syntax elements in the coded stream headers (everything above the level of individual coded blocks). This can be useful for debugging low-level stream issues.
Extract the core from a TrueHD stream, dropping ATMOS data.
Modify metadata embedded in a VP9 stream.
Given a VP9 stream with correct timestamps but possibly out of order, insert additional show-existing-frame packets to correct the ordering.
Merge VP9 invisible (alt-ref) frames back into VP9 superframes. This fixes merging of split/segmented VP9 streams where the alt-ref frame was split from its visible counterpart.
Split VP9 superframes into single frames.