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 6DA7645C22 for ; Sat, 25 Mar 2023 21:43:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 51D9A68CA96; Sat, 25 Mar 2023 23:43:57 +0200 (EET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DE53368C88E for ; Sat, 25 Mar 2023 23:43:50 +0200 (EET) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id F346320002 for ; Sat, 25 Mar 2023 21:43:49 +0000 (UTC) Date: Sat, 25 Mar 2023 22:43:49 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230325214349.GA375355@pb2> References: <20230325191529.10578-1-anton@khirnov.net> <20230325191529.10578-8-anton@khirnov.net> MIME-Version: 1.0 In-Reply-To: <20230325191529.10578-8-anton@khirnov.net> Subject: Re: [FFmpeg-devel] [PATCH 08/23] fftools/ffmpeg: use sync queues for enforcing audio frame size 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="===============8058868578682950288==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8058868578682950288== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k1G2Bc0EDIhoSmEt" Content-Disposition: inline --k1G2Bc0EDIhoSmEt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 25, 2023 at 08:15:14PM +0100, Anton Khirnov wrote: > The code currently uses lavfi for this, which creates a sort of > configuration dependency loop - the encoder should be ideally > initialized with information from the first audio frame, but to get this > frame one needs to first open the encoder to know the frame size. This > necessitates an awkward workaround, which causes audio handling to be > different from video. >=20 > With this change, audio encoder initialization is congruent with video. > --- > fftools/ffmpeg.c | 58 ++++++++------------------------------- > fftools/ffmpeg_filter.c | 8 ------ > fftools/ffmpeg_mux_init.c | 19 +++++++++---- > 3 files changed, 25 insertions(+), 60 deletions(-) this results in the following to be apparently stuck ffmpeg -y -i https://samples.ffmpeg.org/V-codecs/geov.avi -t 1 file.avi [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Democracy is the form of government in which you can choose your dictator --k1G2Bc0EDIhoSmEt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZB9rDwAKCRBhHseHBAsP q7KrAKCTsEJd+NQ89THPh/JTXpCiiFfLUQCdEG0D12GWqRRjnBRdUSnAyUcfqjg= =/nk0 -----END PGP SIGNATURE----- --k1G2Bc0EDIhoSmEt-- --===============8058868578682950288== 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". --===============8058868578682950288==--