* [FFmpeg-devel] [PATCH] lavf/isom: add Apple Cinematic depth track support (dish)
@ 2026-01-15 12:30 Dmitry Monakhov via ffmpeg-devel
0 siblings, 0 replies; only message in thread
From: Dmitry Monakhov via ffmpeg-devel @ 2026-01-15 12:30 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Dmitry Monakhov
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-15 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-15 12:30 [FFmpeg-devel] [PATCH] lavf/isom: add Apple Cinematic depth track support (dish) Dmitry Monakhov via ffmpeg-devel
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