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 454B849C80 for ; Tue, 5 Mar 2024 23:21:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9C39B68C846; Wed, 6 Mar 2024 01:21:52 +0200 (EET) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D0CF868C737 for ; Wed, 6 Mar 2024 01:21:45 +0200 (EET) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1dc49afb495so3135195ad.2 for ; Tue, 05 Mar 2024 15:21:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709680903; x=1710285703; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DImyJW0+8Ff288L2vqCCQZXpgoJtwjhJj/fp4WM+DJ8=; b=MNb8SHEb0MjobP2gPm7LSQO9pnjAfi+WN85VtoHcA8EuA+je1mY6k+xzjv0vFaV6ni l8pUkzmaqvQnQrVXlfbTuCsKPOPNkejo3oWqEX8GscarjKBh8xsPLUIEwEr6hez1LSwo j68e1tskAnKxmJarKzU2xNx2Zljk35GSmLWl5XMz2odEniZH7iv5F9u9U25AJbhZMg29 0K4ElZcRzaMAdLTPt9S//X/W/Xr9d6sLtuvy4yWTHE+VeZvMrsNNlLoZ9K6lpEzhGLNv 6JPba9I+w6ofR5e9rOhs4g/XTzYXPN9QuwsPDg87rQDIvmrltyYwjQXRLHc97oADlE4o sYMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709680903; x=1710285703; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DImyJW0+8Ff288L2vqCCQZXpgoJtwjhJj/fp4WM+DJ8=; b=w7EHLkaHeMh+hFWVRYgh7UJrULkmd5IDbT6+vGc4WNZoW9gJ1iEF82+1bshQM8/Qd5 jxlTFLe1si9JMel6B/sEUj9/e+L8YzXXRnDNZ0kIFFJTiI9sm7A7UQ5tWr24flI7WWa9 j6IH6XRbpI4VwZUjGJTWP30D+wtQmf7A0efI6NTlHTvYnei3yjOVnD/2z9eRrHQHDv9J m2gnMHTzrBRAwMI/gUih3v+30Ef6LSrUM7f7u5Ho1oGGmyDe2BUIQGE4BxWOHAcRfAj4 UhqDha6ha1h8+l4IEaymjfBLUR+89FzKd0RPgS4r5jal7shNozxYi19SvFwACJsmGJ6X S44g== X-Gm-Message-State: AOJu0Yyh8yXs6IcutCawRPK3BWJLd9UWfnLTSwIBdE2LPApM6H+vnkrW kMm9PvBsInDLBDpzYwYHjBa8sFPjov2s5GtqsBu4jUzWJXRRbNWGU4UVuPP4 X-Google-Smtp-Source: AGHT+IEHXAyycBuPOC8Kjh+EDdWD7Ct6du52QYhwmTZ49Lpz3yTUYByQnOSL6rp0ARySPj98uuj/bg== X-Received: by 2002:a17:902:fc44:b0:1dc:a282:2c76 with SMTP id me4-20020a170902fc4400b001dca2822c76mr4359473plb.7.1709680903267; Tue, 05 Mar 2024 15:21:43 -0800 (PST) Received: from [192.168.0.14] ([190.194.169.124]) by smtp.gmail.com with ESMTPSA id j14-20020a170902da8e00b001dc96cb0358sm11095514plx.206.2024.03.05.15.21.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Mar 2024 15:21:42 -0800 (PST) Message-ID: <0aa9d805-8482-4f24-a982-2e977d31aa7c@gmail.com> Date: Tue, 5 Mar 2024 20:21:54 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20240223143115.16521-1-anton@khirnov.net> <20240223143115.16521-15-anton@khirnov.net> <20240223225010.GI6420@pb2> <170930924243.29002.14490453590162245541@lain.khirnov.net> <170946827799.29002.16086167945230671989@lain.khirnov.net> <20240305231202.GD6420@pb2> From: James Almer In-Reply-To: <20240305231202.GD6420@pb2> Subject: Re: [FFmpeg-devel] [PATCH 14/38] lavu/opt: factor per-type dispatch out of av_opt_set() 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/5/2024 8:12 PM, Michael Niedermayer wrote: > On Sun, Mar 03, 2024 at 01:17:57PM +0100, Anton Khirnov wrote: >> Quoting Anton Khirnov (2024-03-01 17:07:22) >>> Quoting Michael Niedermayer (2024-02-23 23:50:10) >>>> Hi Anton >>>> >>>> On Fri, Feb 23, 2024 at 02:58:36PM +0100, Anton Khirnov wrote: >>>>> Will be useful in following commits. >>>>> --- >>>> >>>> breaks: >>>> >>>> ./ffmpeg -y -request_channel_layout 3 -i bug/401/mlp_5point1_downmixof6channel.mlp -bitexact file-2-mlp_5point1_downmixof6channel.wav >>>> >>>> [mlp @ 0x55690e23ff80] Error setting option request_channel_layout to value 3. >>>> [mlp @ 0x55690e23ed00] Failed to open codec in avformat_find_stream_info >>>> [mlp @ 0x55690e23ff80] Error setting option request_channel_layout to value 3. >>>> Input #0, mlp, from 'bug/401/mlp_5point1_downmixof6channel.mlp': >>>> Duration: N/A, start: 0.000000, bitrate: N/A >>>> Stream #0:0: Audio: mlp, 48000 Hz, 5.1, s32 (24 bit) >>>> [mlp @ 0x55690e257900] Error setting option request_channel_layout to value 3. >>>> [aist#0:0/mlp @ 0x55690e254dc0] [dec:mlp @ 0x55690e256f40] Error while opening decoder: Invalid argument >>>> [aost#0:0/pcm_s16le @ 0x55690e255a80] Error initializing a simple filtergraph >>>> Error opening output file file-2-mlp_5point1_downmixof6channel.wav. >>>> Error opening output files: Invalid argument >>>> >>>> i suspect this isnt specific to the file but i can provide it if it >>>> doesnt reproduce with a other file >>> >>> Cannot reproduce with another mlp or 5.1 ac3 file. >> >> Cannot reproduce with your sample either. Are you sure you're using the >> right code? It's branch 'avoption_list' in my tree. > > it worked with "-downmix stereo" instead of "-request_channel_layout 3" > as suggested by james Would be nice to find out why. downmix is a codec specific option whereas request_channel_layout is a global AVCodecContext option. Something here may have affected how child AVOptions are accessed. But if Anton can't reproduce it, then maybe your tree was dirty? > > thx > > [...] > > > _______________________________________________ > 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".