* [FFmpeg-devel] [PATCH v23 08/10] avformat/mov_demuxer: Extended MOV demuxer to handle EVC video content
[not found] <CGME20230526103337eucas1p2ef875e2748f6b5723393485a5d7d8d0f@eucas1p2.samsung.com>
@ 2023-05-26 10:33 ` Dawid Kozinski
0 siblings, 0 replies; only message in thread
From: Dawid Kozinski @ 2023-05-26 10:33 UTC (permalink / raw)
To: d.frankiewic, ffmpeg-devel; +Cc: Dawid Kozinski
- Added evc extension to the list of extensions for ff_mov_demuxer
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
---
libavformat/demux.c | 1 +
libavformat/mov.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/libavformat/demux.c b/libavformat/demux.c
index b3f563ccc7..1b21b8440c 100644
--- a/libavformat/demux.c
+++ b/libavformat/demux.c
@@ -120,6 +120,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st,
{ "mp3", AV_CODEC_ID_MP3, AVMEDIA_TYPE_AUDIO },
{ "mpegvideo", AV_CODEC_ID_MPEG2VIDEO, AVMEDIA_TYPE_VIDEO },
{ "truehd", AV_CODEC_ID_TRUEHD, AVMEDIA_TYPE_AUDIO },
+ { "evc", AV_CODEC_ID_EVC, AVMEDIA_TYPE_VIDEO },
{ 0 }
};
int score;
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 9fdeef057e..ec42ef2c60 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2642,6 +2642,7 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb,
case AV_CODEC_ID_VP9:
sti->need_parsing = AVSTREAM_PARSE_FULL;
break;
+ case AV_CODEC_ID_EVC:
case AV_CODEC_ID_AV1:
/* field_order detection of H264 requires parsing */
case AV_CODEC_ID_H264:
@@ -7928,6 +7929,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
{ MKTAG('i','l','o','c'), mov_read_iloc },
{ MKTAG('p','c','m','C'), mov_read_pcmc }, /* PCM configuration box */
{ MKTAG('p','i','t','m'), mov_read_pitm },
+{ MKTAG('e','v','c','C'), mov_read_glbl },
{ 0, NULL }
};
--
2.25.1
_______________________________________________
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".
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-26 10:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20230526103337eucas1p2ef875e2748f6b5723393485a5d7d8d0f@eucas1p2.samsung.com>
2023-05-26 10:33 ` [FFmpeg-devel] [PATCH v23 08/10] avformat/mov_demuxer: Extended MOV demuxer to handle EVC video content Dawid Kozinski
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