From: Pierre-Anthony Lemieux <pal@sandflow.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: support MCA audio information
Date: Sat, 1 Jan 2022 18:16:42 -0800
Message-ID: <CAF_7JxC_PsTVwDNb=ZSPjrgQ0EeM4qU20_PDRPbgW4yQT5LNig@mail.gmail.com> (raw)
In-Reply-To: <7f4b47cf-fc4f-cc24-27a9-e32ff21e78bf@passwd.hu>
On Sat, Jan 1, 2022 at 5:11 PM Marton Balint <cus@passwd.hu> wrote:
>
>
>
> On Sat, 1 Jan 2022, Pierre-Anthony Lemieux wrote:
>
> > Minor suggestion below.
> >
> > In addition, will sample file(s) be added to FATE? Below are two examples:
> >
> > http://ffmpeg-imf-samples-public.s3.us-west-1.amazonaws.com/callout_51_l_r_c_lfe_ls_rs.mxf
> > http://ffmpeg-imf-samples-public.s3.us-west-1.amazonaws.com/callout_51_l_c_r_ls_rs_lfe.mxf
>
> Good idea, can someone with access please upload these to the fate mxf
> folder?
>
> [...]
>
> > I suggest adding the following audio channels, which are specified in
> > SMPTE ST 2067-8 [1] and have a direct mapping to ffmpeg audio
> > channels:AV_CH_STEREO_LEFT
> >
> > urn:smpte:ul:060e2b34.0401010d.03020120.03000000 (Left Total) ->
> > AV_CH_STEREO_LEFT
> > urn:smpte:ul:060e2b34.0401010d.03020120.04000000 (RightTotal) ->
> > AV_CH_STEREO_RIGHT
> >
> > [1] https://registry.smpte-ra.org/view/published/labels_view.html
>
> Unfortunately this is a Dolby encoded stereo mix, not an ordinary LeftOnly
> / RightOnly mix. So I am not how this should be signalled.
My interpretation below.
In "mov_chan.c", AV_CH_LAYOUT_STEREO_DOWNMIX means
MOV_CH_LAYOUT_MATRIXSTEREO [1], which is defined in Core Audio [2].
LtRt, i.e. matrix-encoded audio, is not generally Dolby-specific [3].
[1] https://github.com/FFmpeg/FFmpeg/blob/d6b2357eddca392ee137cb2a92ff178a0a7d0cce/libavformat/mov_chan.c#L168
[2] https://developer.apple.com/documentation/coreaudiotypes/1572101-audio_channel_layout_tags/kaudiochannellayouttag_matrixstereo?changes=_8_7&language=objc
[3] https://en.wikipedia.org/wiki/Matrix_decoder
>
> Regards,
> Marton
> _______________________________________________
> 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".
_______________________________________________
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:[~2022-01-02 2:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-01 19:26 Marton Balint
2022-01-01 23:13 ` Pierre-Anthony Lemieux
2022-01-02 1:11 ` Marton Balint
2022-01-02 2:16 ` Pierre-Anthony Lemieux [this message]
2022-01-02 10:26 ` Marton Balint
2022-01-08 18:48 ` Marton Balint
2022-01-02 17:35 ` Michael Niedermayer
2022-01-02 1:35 ` Andreas Rheinhardt
2022-01-02 1:54 ` Pierre-Anthony Lemieux
2022-01-02 10:33 ` Marton Balint
2022-01-03 7:12 ` Andreas Rheinhardt
2022-01-04 4:38 ` Pierre-Anthony Lemieux
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='CAF_7JxC_PsTVwDNb=ZSPjrgQ0EeM4qU20_PDRPbgW4yQT5LNig@mail.gmail.com' \
--to=pal@sandflow.com \
--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