Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Marton Balint <cus@passwd.hu>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v3 6/6] avformat: add ts stream types for H266/VVC
Date: Sun, 28 Jan 2024 09:43:11 +0100 (CET)
Message-ID: <624f1395-82bb-211e-5493-2197a8abe2eb@passwd.hu> (raw)
In-Reply-To: <TYSPR06MB643364161580C6C76B71F3B2AA782@TYSPR06MB6433.apcprd06.prod.outlook.com>



On Sat, 27 Jan 2024, Nuo Mi wrote:

> From: Thomas Siedel <thomas.ff@spin-digital.com>
>
> Add transport stream stream type 0x33 for vvc.
> Add STREAM_TYPE_VIDEO_VVC to MPEG-1/2 and MPEG-2 transport stream.
> Add basic transport stream support for TS mux/demux.
>
> Tested with:
> ffmpeg -i NovosobornayaSquare_1920x1080.mp4 -c:v libvvenc test.ts && ffmpeg -i test.ts -f null -
> ffmpeg -i NovosobornayaSquare_1920x1080.mp4 -c:v copy test.ts     && ffmpeg -i test.ts -f md5 -
>
> Signed-off-by: Thomas Siedel <thomas.ff@spin-digital.com>
> Co-Authored-By: Nuo Mi <nuomi2021@gmail.com>
> ---
> configure               |  2 +-
> libavformat/mpeg.c      |  6 ++++++
> libavformat/mpeg.h      |  1 +
> libavformat/mpegts.c    |  2 ++
> libavformat/mpegts.h    |  1 +
> libavformat/mpegtsenc.c | 39 +++++++++++++++++++++++++++++++++++++++
> 6 files changed, 50 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 21663000f8..68f675a4bc 100755
> --- a/configure
> +++ b/configure
> @@ -3552,7 +3552,7 @@ mp3_demuxer_select="mpegaudio_parser"
> mp3_muxer_select="mpegaudioheader"
> mp4_muxer_select="mov_muxer"
> mpegts_demuxer_select="iso_media"
> -mpegts_muxer_select="ac3_parser adts_muxer latm_muxer h264_mp4toannexb_bsf hevc_mp4toannexb_bsf"
> +mpegts_muxer_select="ac3_parser adts_muxer latm_muxer h264_mp4toannexb_bsf hevc_mp4toannexb_bsf vvc_mp4toannexb_bsf"
> mpegtsraw_demuxer_select="mpegts_demuxer"
> mxf_muxer_select="pcm_rechunk_bsf rangecoder"
> mxf_d10_muxer_select="mxf_muxer"
> diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
> index 781c3162d6..4b0c65826e 100644
> --- a/libavformat/mpeg.c
> +++ b/libavformat/mpeg.c
> @@ -546,6 +546,12 @@ redo:
>     } else if (es_type == STREAM_TYPE_VIDEO_HEVC) {
>         codec_id = AV_CODEC_ID_HEVC;
>         type     = AVMEDIA_TYPE_VIDEO;
> +    } else if (es_type == STREAM_TYPE_VIDEO_VVC) {
> +        codec_id = AV_CODEC_ID_VVC;
> +        type     = AVMEDIA_TYPE_VIDEO;
> +    } else if (es_type == STREAM_TYPE_VIDEO_VVC) {
> +        codec_id = AV_CODEC_ID_VVC;
> +        type     = AVMEDIA_TYPE_VIDEO;

Seems duplicated.

Regards,
Marton
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

      reply	other threads:[~2024-01-28  8:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240127041512.14079-1-nuomi2021@gmail.com>
2024-01-27  4:15 ` [FFmpeg-devel] [PATCH v3 1/6] avformat: add muxer support " Nuo Mi
2024-01-27 14:38   ` James Almer
2024-01-27 15:57     ` Nuo Mi
2024-01-29 10:41       ` Thomas Siedel
2024-01-30  6:26     ` Nuo Mi
2024-01-27  4:15 ` [FFmpeg-devel] [PATCH v3 2/6] avformat/mpegtsenc: refact mpegts_check_bitstream to loop up table Nuo Mi
2024-01-27 14:45   ` Andreas Rheinhardt
2024-01-27 15:54     ` Nuo Mi
2024-01-27  4:15 ` [FFmpeg-devel] [PATCH v3 3/6] avformat/mpegtsenc: refact, move h264, hevc startcode checking to check_h26x_startcode Nuo Mi
2024-01-27  4:15 ` [FFmpeg-devel] [PATCH v3 4/6] avformat/mpegtsenc: refact, remove h264, hevc magic numbers for nal_type Nuo Mi
2024-01-27  4:15 ` [FFmpeg-devel] [PATCH v3 5/6] avformat/mpegtsenc: refact out h26x_prefix_aud Nuo Mi
2024-01-27  4:15 ` [FFmpeg-devel] [PATCH v3 6/6] avformat: add ts stream types for H266/VVC Nuo Mi
2024-01-28  8:43   ` Marton Balint [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=624f1395-82bb-211e-5493-2197a8abe2eb@passwd.hu \
    --to=cus@passwd.hu \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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