Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] avformat/mpegtsenc: add registration descriptor for VVC streams (PR #21294)
@ 2025-12-25  1:34 Jun Zhao via ffmpeg-devel
  0 siblings, 0 replies; only message in thread
From: Jun Zhao via ffmpeg-devel @ 2025-12-25  1:34 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Jun Zhao

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 <barryjzhao@tencent.com>


>From 007900aef8c9f666e97d0743e7a51bcb74662b21 Mon Sep 17 00:00:00 2001
From: Jun Zhao <barryjzhao@tencent.com>
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 <barryjzhao@tencent.com>
---
 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 -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-25  1:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-25  1:34 [FFmpeg-devel] [PATCH] avformat/mpegtsenc: add registration descriptor for VVC streams (PR #21294) Jun Zhao via ffmpeg-devel

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git