PR #21294 opened by Jun Zhao (mypopydev)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21294
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21294.patch
Write the 'VVC ' registration descriptor in the PMT for VVC video
streams, consistent with the existing HEVC handling.
The format_identifier 'VVC ' (0x56564320) follows the same pattern
as HEVC ('HEVC') and matches the identifier already recognized by
the demuxer in mpegts.c REGD_types table.
Signed-off-by: Jun Zhao <[email protected]>
>From 007900aef8c9f666e97d0743e7a51bcb74662b21 Mon Sep 17 00:00:00 2001
From: Jun Zhao <[email protected]>
Date: Mon, 22 Dec 2025 12:03:22 +0800
Subject: [PATCH] avformat/mpegtsenc: add registration descriptor for VVC
streams
Write the 'VVC ' registration descriptor in the PMT for VVC video
streams, consistent with the existing HEVC handling.
The format_identifier 'VVC ' (0x56564320) follows the same pattern
as HEVC ('HEVC') and matches the identifier already recognized by
the demuxer in mpegts.c REGD_types table.
Signed-off-by: Jun Zhao <[email protected]>
---
libavformat/mpegtsenc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index ea7c6065a0..17c169186a 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -807,6 +807,8 @@ static int mpegts_write_pmt(AVFormatContext *s,
MpegTSService *service)
put_registration_descriptor(&q, MKTAG('V', 'C', '-', '1'));
} else if (stream_type == STREAM_TYPE_VIDEO_HEVC &&
s->strict_std_compliance <= FF_COMPLIANCE_NORMAL) {
put_registration_descriptor(&q, MKTAG('H', 'E', 'V', 'C'));
+ } else if (stream_type == STREAM_TYPE_VIDEO_VVC &&
s->strict_std_compliance <= FF_COMPLIANCE_NORMAL) {
+ put_registration_descriptor(&q, MKTAG('V', 'V', 'C', ' '));
} else if (stream_type == STREAM_TYPE_VIDEO_CAVS || stream_type ==
STREAM_TYPE_VIDEO_AVS2 ||
stream_type == STREAM_TYPE_VIDEO_AVS3) {
put_registration_descriptor(&q, MKTAG('A', 'V', 'S', 'V'));
--
2.49.1
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]