summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorBrion Vibber <bvibber@wikimedia.org>2022-07-01 18:09:34 -0700
committerMarton Balint <cus@passwd.hu>2022-07-09 19:03:28 +0200
commit66a251e836033db9562dad78269a837bc9dae122 (patch)
tree47d3d6c946a75fd571d0b2c904f1b13cdf85c4a1 /libavformat
parentfc1ca18fcf48ceb44a5307753b60ba5e9c0dfed9 (diff)
Support for 16:9 DV in QuickTime
Some files I have from circa year 2000 are 16:9 NTSC DV video encoded as QuickTime with Radius SoftDV. This marked 4:3 videos with the box 'dvc ' for NTSC or 'dvcp' for PAL, which are already supported, but 16:9 videos as 'dvl ' or 'dvlp', which were not. Adding these to the list for DV codec processing gives the expected metadata and playback. I have not tested PAL as I have no sample data, only NTSC. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/isom_tags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/isom_tags.c b/libavformat/isom_tags.c
index 62e60470a8..c5fd7987f6 100644
--- a/libavformat/isom_tags.c
+++ b/libavformat/isom_tags.c
@@ -89,6 +89,8 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'c', 'p') }, /* DV PAL */
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'c', ' ') }, /* DV NTSC */
+ { AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'l', 'p') }, /* DV PAL 16:9 produced by Radius SoftDV */
+ { AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'l', ' ') }, /* DV NTSC 16:9 produced by Radius SoftDV */
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'p', 'p') }, /* DVCPRO PAL produced by FCP */
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', '5', 'p') }, /* DVCPRO50 PAL produced by FCP */
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', '5', 'n') }, /* DVCPRO50 NTSC produced by FCP */