avformat/mpegts: add ts stream types for H266/VVC
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: Marton Balint <cus@passwd.hu> Signed-off-by: Thomas Siedel <thomas.ff@spin-digital.com> Co-Authored-By: Nuo Mi <nuomi2021@gmail.com>
This commit is contained in:
@@ -546,6 +546,9 @@ 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_AUDIO_AC3) {
|
||||
codec_id = AV_CODEC_ID_AC3;
|
||||
type = AVMEDIA_TYPE_AUDIO;
|
||||
|
||||
Reference in New Issue
Block a user