* [FFmpeg-devel] [PATCH 0/2] Support the new APMP boxes and spherical metadata
@ 2025-07-23 22:13 Vittorio Giovara
2025-07-29 1:50 ` Vittorio Giovara
0 siblings, 1 reply; 3+ messages in thread
From: Vittorio Giovara @ 2025-07-23 22:13 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
This patchset adds new boxes and projection values from from
https://developer.apple.com/av-foundation/Stereo-Video-ISOBMFF-Extensions.pdf
Vittorio Giovara (2):
mov: Export frame packing information from pack box
lavu/spherical: Add support for Spherical Immersive type
libavformat/mov.c | 89 +++++++++++++++++++++++++++++++++++++++++++
libavutil/spherical.c | 1 +
libavutil/spherical.h | 6 +++
3 files changed, 96 insertions(+)
[-- Attachment #2: 0002-lavu-spherical-Add-support-for-Spherical-Immersive-t.patch --]
[-- Type: application/x-patch, Size: 2070 bytes --]
[-- Attachment #3: 0001-mov-Export-frame-packing-information-from-pack-box.patch --]
[-- Type: application/x-patch, Size: 3440 bytes --]
[-- Attachment #4: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH 0/2] Support the new APMP boxes and spherical metadata
2025-07-23 22:13 [FFmpeg-devel] [PATCH 0/2] Support the new APMP boxes and spherical metadata Vittorio Giovara
@ 2025-07-29 1:50 ` Vittorio Giovara
2025-07-29 1:58 ` James Almer
0 siblings, 1 reply; 3+ messages in thread
From: Vittorio Giovara @ 2025-07-29 1:50 UTC (permalink / raw)
To: FFmpeg development discussions and patches
On Thu, Jul 24, 2025 at 12:13 AM Vittorio Giovara <
vittorio.giovara@gmail.com> wrote:
> This patchset adds new boxes and projection values from from
> https://developer.apple.com/av-foundation/Stereo-Video-ISOBMFF-Extensions.pdf
>
> Vittorio Giovara (2):
> mov: Export frame packing information from pack box
> lavu/spherical: Add support for Spherical Immersive type
>
> libavformat/mov.c | 89 +++++++++++++++++++++++++++++++++++++++++++
> libavutil/spherical.c | 1 +
> libavutil/spherical.h | 6 +++
> 3 files changed, 96 insertions(+)
>
Any comments? If not, I plan to push this set soon.
Thanks
--
Vittorio
_______________________________________________
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] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH 0/2] Support the new APMP boxes and spherical metadata
2025-07-29 1:50 ` Vittorio Giovara
@ 2025-07-29 1:58 ` James Almer
0 siblings, 0 replies; 3+ messages in thread
From: James Almer @ 2025-07-29 1:58 UTC (permalink / raw)
To: ffmpeg-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 2404 bytes --]
On 7/28/2025 10:50 PM, Vittorio Giovara wrote:
> From a244d96e045439f9e3a4db99e2f479e8686221da Mon Sep 17 00:00:00 2001
> From: Vittorio Giovara <vittorio.giovara@gmail.com>
> Date: Wed, 23 Jul 2025 23:42:14 +0200
> Subject: [PATCH 2/2] lavu/spherical: Add support for Spherical Immersive type
>
> ---
> libavformat/mov.c | 3 +++
> libavutil/spherical.c | 1 +
> libavutil/spherical.h | 6 ++++++
> 3 files changed, 10 insertions(+)
>
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index 7c91322027..eeb406609c 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -6860,6 +6860,9 @@ static int mov_read_vexu_proj(MOVContext *c, AVIOContext *pb, MOVAtom atom)
> case MKTAG('f','i','s','h'):
> projection = AV_SPHERICAL_FISHEYE;
> break;
> + case MKTAG('p','r','i','m'):
> + projection = AV_SPHERICAL_PARAMETRIC_IMMERSIVE;
> + break;
> default:
> av_log(c->fc, AV_LOG_ERROR, "Invalid projection type in prji box: 0x%08X\n", tag);
> return AVERROR_INVALIDDATA;
This should be its own separate commit.
> diff --git a/libavutil/spherical.c b/libavutil/spherical.c
> index 64ade1d0ec..71342faea9 100644
> --- a/libavutil/spherical.c
> +++ b/libavutil/spherical.c
> @@ -62,6 +62,7 @@ static const char *const spherical_projection_names[] = {
> [AV_SPHERICAL_HALF_EQUIRECTANGULAR] = "half equirectangular",
> [AV_SPHERICAL_RECTILINEAR] = "rectilinear",
> [AV_SPHERICAL_FISHEYE] = "fisheye",
> + [AV_SPHERICAL_PARAMETRIC_IMMERSIVE] = "parametric immersive",
> };
>
> const char *av_spherical_projection_name(enum AVSphericalProjection projection)
> diff --git a/libavutil/spherical.h b/libavutil/spherical.h
> index 2e90f7752d..4b78978eb9 100644
> --- a/libavutil/spherical.h
> +++ b/libavutil/spherical.h
> @@ -82,6 +82,12 @@ enum AVSphericalProjection {
> * See: https://developer.apple.com/documentation/coremedia/cmprojectiontype/fisheye
> */
> AV_SPHERICAL_FISHEYE,
> +
> + /**
> + * Parametric Immersive projection (Apple).
> + * See: https://developer.apple.com/documentation/coremedia/cmprojectiontype/parametricimmersive
> + */
> + AV_SPHERICAL_PARAMETRIC_IMMERSIVE,
Missing minor version bump and APIChanges entry, LGTM otherwise.
> };
>
> /**
> --
> 2.50.0
>
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2025-07-29 1:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-23 22:13 [FFmpeg-devel] [PATCH 0/2] Support the new APMP boxes and spherical metadata Vittorio Giovara
2025-07-29 1:50 ` Vittorio Giovara
2025-07-29 1:58 ` James Almer
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