From: Lynne <dev@lynne.ee>
To: ffmpeg-devel@ffmpeg.org
Cc: Lynne <dev@lynne.ee>
Subject: [FFmpeg-devel] [PATCH 2/3] lavf/mov: support demuxing Blackmagic RAW streams
Date: Tue, 15 Apr 2025 12:04:38 +0200
Message-ID: <20250415100447.75007-2-dev@lynne.ee> (raw)
In-Reply-To: <20250415100447.75007-1-dev@lynne.ee>
---
libavformat/isom_tags.c | 7 +++++++
libavformat/mov.c | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/libavformat/isom_tags.c b/libavformat/isom_tags.c
index f05762beec..7bf2bf7d5b 100644
--- a/libavformat/isom_tags.c
+++ b/libavformat/isom_tags.c
@@ -286,6 +286,13 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
{ AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'G', 'R') }, /* ASC Bayer BGGR */
+ { AV_CODEC_ID_BRAW, MKTAG('b', 'r', 'x', 'q') }, /* Blackmagic RAW */
+ { AV_CODEC_ID_BRAW, MKTAG('b', 'r', 'h', 'q') },
+ { AV_CODEC_ID_BRAW, MKTAG('b', 'r', 's', 't') },
+ { AV_CODEC_ID_BRAW, MKTAG('b', 'r', 'l', 't') },
+ { AV_CODEC_ID_BRAW, MKTAG('b', 'r', 'v', 'l') },
+ { AV_CODEC_ID_BRAW, MKTAG('b', 'r', 'v', 'm') },
+
{ AV_CODEC_ID_MEDIA100, MKTAG('6', '0', '1', 'N') },
{ AV_CODEC_ID_MEDIA100, MKTAG('6', '0', '1', 'P') },
{ AV_CODEC_ID_MEDIA100, MKTAG('d', 't', 'n', 't') },
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 452690090c..b4056fba48 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -11349,7 +11349,7 @@ const FFInputFormat ff_mov_demuxer = {
.p.name = "mov,mp4,m4a,3gp,3g2,mj2",
.p.long_name = NULL_IF_CONFIG_SMALL("QuickTime / MOV"),
.p.priv_class = &mov_class,
- .p.extensions = "mov,mp4,m4a,3gp,3g2,mj2,psp,m4b,ism,ismv,isma,f4v,avif,heic,heif",
+ .p.extensions = "mov,mp4,m4a,3gp,3g2,mj2,psp,m4b,ism,ismv,isma,f4v,avif,heic,heif,braw",
.p.flags = AVFMT_NO_BYTE_SEEK | AVFMT_SEEK_TO_PTS | AVFMT_SHOW_IDS,
.priv_data_size = sizeof(MOVContext),
.flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
--
2.49.0.395.g12beb8f557c
_______________________________________________
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".
next prev parent reply other threads:[~2025-04-15 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-15 10:04 [FFmpeg-devel] [PATCH 1/3] avcodec: add AV_CODEC_ID_BRAW Lynne
2025-04-15 10:04 ` Lynne [this message]
2025-04-15 10:04 ` [FFmpeg-devel] [PATCH 3/3] avcodec: add Blackmagic RAW decoder Lynne
2025-04-15 12:07 ` Lynne
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=20250415100447.75007-2-dev@lynne.ee \
--to=dev@lynne.ee \
--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