From: Dmitry Monakhov via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Cc: Dmitry Monakhov <dmonakhov@gmail.com>
Subject: [FFmpeg-devel] [PATCH] lavf/isom: add Apple Cinematic depth track support (dish)
Date: Thu, 15 Jan 2026 13:30:18 +0100
Message-ID: <20260115123020.328409-1-dmonakhov@gmail.com> (raw)
Apple iPhone Cinematic mode stores depth/disparity as auxiliary video
track with 'dish' FourCC. The codec is HEVC monochrome (gray10le).
Before: Stream #0:1: Data: none (dish / 0x68736964)
After: Stream #0:1: Video: hevc (Rext) (dish), gray10le, 512x288
Example: ffmpeg -i cinematic.mov -map 0:1 -pix_fmt gray depth.mp4
---
libavformat/isom_tags.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/isom_tags.c b/libavformat/isom_tags.c
index 151c42e9e6..825888fd6c 100644
--- a/libavformat/isom_tags.c
+++ b/libavformat/isom_tags.c
@@ -129,6 +129,7 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
{ AV_CODEC_ID_HEVC, MKTAG('h', 'e', 'v', '1') }, /* HEVC/H.265 which indicates parameter sets may be in ES */
{ AV_CODEC_ID_HEVC, MKTAG('h', 'v', 'c', '1') }, /* HEVC/H.265 which indicates parameter sets shall not be in ES */
{ AV_CODEC_ID_HEVC, MKTAG('d', 'v', 'h', 'e') }, /* HEVC-based Dolby Vision derived from hev1 */
+ { AV_CODEC_ID_HEVC, MKTAG('d', 'i', 's', 'h') }, /* Apple Cinematic depth/disparity */
/* dvh1 is handled within mov.c */
{ AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '1') }, /* AVC-1/H.264 */
--
2.43.0
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
reply other threads:[~2026-01-15 19:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260115123020.328409-1-dmonakhov@gmail.com \
--to=ffmpeg-devel@ffmpeg.org \
--cc=dmonakhov@gmail.com \
/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