[FFmpeg-devel] [PATCH] doc/bitstream_filters.texi: Document types used by filter_units

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Mar 10 17:34:23 EET 2024


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 doc/bitstream_filters.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index 61539d2473..3351625225 100644
--- a/doc/bitstream_filters.texi
+++ b/doc/bitstream_filters.texi
@@ -199,6 +199,13 @@ Identical to @option{pass_types}, except the units in the given set
 removed and all others passed through.
 @end table
 
+The types used by pass_types and remove_types correspond to NAL unit types
+(nal_unit_type) in H.264, HEVC and H.266 (see Table 7-1 in the H.264
+specification and HEVC specifications or Table 5 for H.266), to
+marker values for JPEG (without 0xFF prefix), to start codes without
+start code prefix (i.e. the byte following the 0x000001) for MPEG-2.
+For VP8 and VP9, every unit has type zero.
+
 Extradata is unchanged by this transformation, but note that if the stream
 contains inline parameter sets then the output may be unusable if they are
 removed.
-- 
2.40.1



More information about the ffmpeg-devel mailing list