From: Marton Balint <cus@passwd.hu>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: support MCA audio information
Date: Sat, 8 Jan 2022 19:48:17 +0100 (CET)
Message-ID: <fd2c8015-29c9-d989-3dbd-3a1135c1b891@passwd.hu> (raw)
In-Reply-To: <11687fdf-b282-a8cf-5f58-ea9341e0898d@passwd.hu>
On Sun, 2 Jan 2022, Marton Balint wrote:
>
>
> On Sat, 1 Jan 2022, Pierre-Anthony Lemieux wrote:
>
>> 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
>
> Well, ok, I will add these two labels then before pushing.
Will push and backport this tomorrow.
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".
next prev parent reply other threads:[~2022-01-08 18:48 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
2022-01-02 10:26 ` Marton Balint
2022-01-08 18:48 ` Marton Balint [this message]
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=fd2c8015-29c9-d989-3dbd-3a1135c1b891@passwd.hu \
--to=cus@passwd.hu \
--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