lavc: Add filter_units bitstream filter

Multimedia / FFmpeg - Mark Thompson [jkqxz.net] - 18 March 2018 18:23 EDT

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.

c99f837dde lavc: Add filter_units bitstream filter
configure | 1 +
doc/bitstream_filters.texi | 29 +++++
libavcodec/Makefile | 1 +
libavcodec/bitstream_filters.c | 1 +
libavcodec/filter_units_bsf.c | 256 +++++++++++++++++++++++++++++++++++++++++
5 files changed, 288 insertions(+)

  • Share