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 09C5542447 for ; Wed, 16 Mar 2022 02:00:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D63CF68AFB1; Wed, 16 Mar 2022 04:00:12 +0200 (EET) Received: from mail-oo1-f50.google.com (mail-oo1-f50.google.com [209.85.161.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4BBE768A7A9 for ; Wed, 16 Mar 2022 04:00:06 +0200 (EET) Received: by mail-oo1-f50.google.com with SMTP id q1-20020a4a7d41000000b003211b63eb7bso1113531ooe.6 for ; Tue, 15 Mar 2022 19:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=2mAwg7UZJzoAeYe+zwfxn79bcmWjivtHdbWhJpoSfiI=; b=S3c5PWdItOR2YBGEUipqmFbpHMZzekmDZcYRmk/Qk0xSiZaS4/Frh4hoBnF+EUzh80 CLinWUSNBfeuIAzrYD5WIyFinPnuG4zqVwuwEYmc7MkQYDpNjvTQwkJomdg41SjZYg+q V12h6O38sk56picIL6vsfO1CPj2XlZeV/Y/tuxY5QjWA8fv23SA+nD9DOD0rz9CWN8Mx DgS1LMTEnDRZabL99ezXNzCUMu1X6DaAX3fPkMxxVVSknxL2KMfOjzL+70kfAVl4tWin zk8b5LXtIaKexkqr65TOsju1lzuGWjK7G0I3I1Sf/vATJyXdQgboSfWspbO4bb9Sv56S I5ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=2mAwg7UZJzoAeYe+zwfxn79bcmWjivtHdbWhJpoSfiI=; b=qtnmyL70sXWCQios+/ORqqWkjOwmGZPo5QMogF3ndbPkh9EV3LLvYzJOks7baaQy1v wsXrypq9fRJVW6A8Dk6yAda2osK0HG/7wSv6ZUJ/2J6/iICpM7HhY74ka9uMhO81lDX2 m+Id8qb76yWznzQcjf20dRBJ/14Gg0EtW2AOutnbhHmfpHmavaN0zYwbZhMVbp2H0vh+ v/YpbMaBt4AzFB8y8Hrk9isp2rfeAs0MmA1jgB+zib3l38rEQoNb3+VBobZPFDtxBWvY ArGi2u8BK+c17fSUldSv1KxYVyWsFqqufJEAz8U52KiQG9NhW9ayTrdI0VXH9Er7H3mX BVAQ== X-Gm-Message-State: AOAM531YxcG25QcQStxWq4rvxpxOBfXufTEKnYIFOM5zA7mcJ67lOaK4 zw2ulb/xNHATotCH2Ulnpqif0hIm37+5Iw== X-Google-Smtp-Source: ABdhPJzg2tbcG4v/ElL0Q5ush+QJFHF6gEGvXbjGE6Zg4MRcTAdQ6hyfCdwBhs4Vvsl6jtaTYHD8KA== X-Received: by 2002:a05:6870:3105:b0:da:c099:7942 with SMTP id v5-20020a056870310500b000dac0997942mr2691702oaa.199.1647396004453; Tue, 15 Mar 2022 19:00:04 -0700 (PDT) Received: from [192.168.0.13] ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id y15-20020a056870b00f00b000d75f1d9b81sm241981oae.46.2022.03.15.19.00.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Mar 2022 19:00:03 -0700 (PDT) Message-ID: Date: Tue, 15 Mar 2022 23:00:02 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20220124204656.48625-1-jamrial@gmail.com> <20220316004108.GH2829255@pb2> From: James Almer In-Reply-To: <20220316004108.GH2829255@pb2> Subject: Re: [FFmpeg-devel] [PATCH 001/293 v8] avutil/channel_layout: Add a new channel layout API 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 3/15/2022 9:41 PM, Michael Niedermayer wrote: > On Mon, Jan 24, 2022 at 05:46:56PM -0300, James Almer wrote: >> From: Anton Khirnov >> >> The new API is more extensible and allows for custom layouts. >> More accurate information is exported, eg for decoders that do not >> set a channel layout, lavc will not make one up for them. >> >> Deprecate the old API working with just uint64_t bitmasks. >> >> Expanded and completed by Vittorio Giovara >> and James Almer . >> Signed-off-by: Vittorio Giovara >> Signed-off-by: James Almer >> --- >> Changes since last version: >> >> *Both av_channel_layout_describe() and av_channel_layout_from_string() now >> support a "2 channels (FL+LFE)" syntax, to signal native (usually >> non-standard) or custom order layouts. >> *a single decimal value is now interpreted as a mask by >> av_channel_layout_from_string(), same as a single hexadecimal value. >> *De-duplicated code by simplifying av_channel_layout_channel_from_string(). >> >> The entire set can still be found in >> https://github.com/jamrial/FFmpeg/commits/channel_layout4 >> >> libavutil/channel_layout.c | 661 +++++++++++++++++++++++++++++++++---- >> libavutil/channel_layout.h | 551 +++++++++++++++++++++++++++++-- >> libavutil/version.h | 1 + >> 3 files changed, 1110 insertions(+), 103 deletions(-) > > didnt bisect but > > this > ./ffmpeg -i ~/tickets/3542/out.mov -channel_layout stereo -acodec pcm_s16be file.mov > fails after the patchset but not before > > [graph_0_in_0_0 @ 0x5642d659ec40] filter context - fmt: s16 r: 44100 layout: 3 ch: 2, incoming frame - fmt: s16 r: 44100 layout: 60000000 ch: 2 pts_time: 0 > [graph_0_in_0_0 @ 0x5642d659ec40] Changing audio frame properties on the fly is not supported. > Error while filtering: Invalid argument > Failed to inject frame into filter network: Invalid argument > Error while processing the decoded data for stream #0:0 > Conversion failed! Should be fixed. _______________________________________________ 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".