From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 62C424287F for ; Sat, 8 Jan 2022 18:48:36 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8E04168A962; Sat, 8 Jan 2022 20:48:33 +0200 (EET) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B804C689C54 for ; Sat, 8 Jan 2022 20:48:27 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 64CA7E60B8 for ; Sat, 8 Jan 2022 19:48:26 +0100 (CET) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZLlx0CSaRh7T for ; Sat, 8 Jan 2022 19:48:18 +0100 (CET) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id E0178E603C for ; Sat, 8 Jan 2022 19:48:17 +0100 (CET) Date: Sat, 8 Jan 2022 19:48:17 +0100 (CET) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <11687fdf-b282-a8cf-5f58-ea9341e0898d@passwd.hu> Message-ID: References: <20220101192645.19849-1-cus@passwd.hu> <7f4b47cf-fc4f-cc24-27a9-e32ff21e78bf@passwd.hu> <11687fdf-b282-a8cf-5f58-ea9341e0898d@passwd.hu> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: support MCA audio information X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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 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".