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 2880B4AC83 for ; Sat, 18 May 2024 21:21:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9B2FB68C978; Sun, 19 May 2024 00:20:57 +0300 (EEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E0AA868C7B8 for ; Sun, 19 May 2024 00:20:50 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id D49BE1C0002 for ; Sat, 18 May 2024 21:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1716067250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+Y3G5Jqh7fCH9PeRneeLu299vkiKCQTKNjdjaEkdXBw=; b=UrLuFGYE59n+vcFMj2tkv6qbyihOQMMcBtJOjumPpGxk4cttxWiLhVlO6SGMYqkFqFwqJi hnjphYaQVUITGt3dRH3XbNO1RKKYpielQHGKlZbYOm0ItseW4a5QUgCNJH1VcFKdrgvdWT p72+FFaThNkPIOEt7f8jejWqLb1o93QNHMuwLI/ljmgNOcyVjqhvzDtMawQ+onMnhUGChu iKahIBqk5Hb37EMKGmyvVYDP5IHwb6qdApcnrC2ihxO3NrvaYjEkkxjaV+hT7NCCkizcjN JjPkfP0Fgcf3LF6tk1b0ztWbqExx9EqHKOOEn/aVbSYbKi4SmOU+SCLP53JIGg== Date: Sat, 18 May 2024 23:20:48 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240518212048.GF2821752@pb2> References: <20240518161116.8661-1-cus@passwd.hu> MIME-Version: 1.0 In-Reply-To: <20240518161116.8661-1-cus@passwd.hu> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/5] fftools/ffmpeg_demux: also set -ch_layout avcodec option for -ch_layout CLI param 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-Type: multipart/mixed; boundary="===============5296653025699444812==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5296653025699444812== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DO5DiztRLs659m5i" Content-Disposition: inline --DO5DiztRLs659m5i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 18, 2024 at 06:11:12PM +0200, Marton Balint wrote: > The code only set the channel layout of the AVFormatContext, so the user = could > not override the channel layout if the demuxer did not have such paramete= r. > Let's set the specified channel layouts as codec options as well. >=20 > Fixes ticket #11016. >=20 > A regression since 639c2f00497257cb60ecaeeac1aacfa80df3be06. >=20 > Signed-off-by: Marton Balint breaks: =2E/ffmpeg -f u8 -ar 8000 -ac 1 -i /dev/zero -acodec aac -y -t 1 -b:a = 48k /tmp/aac.nut [aac @ 0x55d4ed264800] Unsupported channel layout "1 channels" [aac @ 0x55d4ed264800] Qavg: nan [aost#0:0/aac @ 0x55d4ed24d800] Error while opening encoder - maybe incorre= ct parameters such as bit_rate, rate, width or height. [af#0:0 @ 0x55d4ed264cc0] Error sending frames to consumers: Invalid argume= nt [af#0:0 @ 0x55d4ed264cc0] Task finished with error code: -22 (Invalid argum= ent) [af#0:0 @ 0x55d4ed264cc0] Terminating thread with return code -22 (Invalid = argument) [aost#0:0/aac @ 0x55d4ed24d800] Could not open encoder before EOF [aost#0:0/aac @ 0x55d4ed24d800] Task finished with error code: -22 (Invalid= argument) [aost#0:0/aac @ 0x55d4ed24d800] Terminating thread with return code -22 (In= valid argument) [out#0/nut @ 0x55d4ed254040] Nothing was written into output file, because = at least one of its streams received no packets. size=3D 0KiB time=3DN/A bitrate=3DN/A speed=3DN/A thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Complexity theory is the science of finding the exact solution to an approximation. Benchmarking OTOH is finding an approximation of the exact --DO5DiztRLs659m5i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZkkbrQAKCRBhHseHBAsP q9LRAJ4gXSLhn0seaItaKkp2ESzQulvUJACgiqLQiNUYXASNQ/VZ80/nQ+GTm2k= =NqLz -----END PGP SIGNATURE----- --DO5DiztRLs659m5i-- --===============5296653025699444812== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============5296653025699444812==--