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 D9BB947EEB for ; Thu, 30 Nov 2023 20:48:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DB7DD68CF13; Thu, 30 Nov 2023 22:48:21 +0200 (EET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9101868C7BB for ; Thu, 30 Nov 2023 22:48:14 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7F540240003 for ; Thu, 30 Nov 2023 20:48:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1701377293; 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=LqkubzpgJ596uWoVKbLAQdXoMCYvN1HOw0n28uLfuec=; b=Y3O1isFI0fyd2Fondx//zzXjyc92XhPiCgQLs9VTZtR6x91e5CIKnCGDw/qPqpzbx5S/el eEyRmIIXQXuYTgSmj8ZcjbrpIaB4vYA8+r8AuIGFmOHfuuvxxd11MOvhbc/br5Ju+0EO1N CCHmEJCuxLJa1eOjLuJtSGdJbPNqEPVzW/mJ7A1Payt7jKDZEKXlj41DBHhsjM8MaCIKdt cQu71XUh4pzMLrLHbvFS9w4hmK6bDKF//vI+vlmNZ9LnoBL47Xf8QZrizfLohPrI7uAPy7 tzDQgoHviWoYCV1q7bb/JD8JvzMV9wveSlkBx+xRGOepFFhpS2NczJOo0iLqqQ== Date: Thu, 30 Nov 2023 21:48:12 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20231130204812.GQ3543730@pb2> References: <20231124222616.GH3543730@pb2> <20231125203314.29181-1-anton@khirnov.net> <20231130130826.GP3543730@pb2> <170135129961.8914.10968061903168088055@lain.khirnov.net> MIME-Version: 1.0 In-Reply-To: <170135129961.8914.10968061903168088055@lain.khirnov.net> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 13/13 v2] fftools/ffmpeg: convert to a threaded architecture 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="===============1459882058320159730==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1459882058320159730== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9WkXpe7iZt1CiiJ3" Content-Disposition: inline --9WkXpe7iZt1CiiJ3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 30, 2023 at 02:34:59PM +0100, Anton Khirnov wrote: > Quoting Michael Niedermayer (2023-11-30 14:08:26) > > On Sat, Nov 25, 2023 at 09:32:06PM +0100, Anton Khirnov wrote: > > > Change the main loop and every component (demuxers, decoders, filters, > > > encoders, muxers) to use the previously added transcode scheduler. Ev= ery > > > instance of every such component was already running in a separate > > > thread, but now they can actually run in parallel. > > >=20 > > > Changes the results of ffmpeg-fix_sub_duration_heartbeat - tested by > > > JEEB to be more correct and deterministic. > > > --- > > > fftools/ffmpeg.c | 374 +-------- > > > fftools/ffmpeg.h | 97 +-- > > > fftools/ffmpeg_dec.c | 321 ++------ > > > fftools/ffmpeg_demux.c | 268 ++++--- > > > fftools/ffmpeg_enc.c | 368 ++------- > > > fftools/ffmpeg_filter.c | 722 +++++-----------= -- > > > fftools/ffmpeg_mux.c | 324 ++------ > > > fftools/ffmpeg_mux.h | 24 +- > > > fftools/ffmpeg_mux_init.c | 88 +-- > > > fftools/ffmpeg_opt.c | 6 +- > > > .../fate/ffmpeg-fix_sub_duration_heartbeat | 36 +- > > > 11 files changed, 598 insertions(+), 2030 deletions(-) > >=20 > > I tried > > ./ffmpeg -f lavfi -i testsrc2 -bsf:v noise -bitexact -t 2 /tmp/.y4m > >=20 > > with merged ffmpeg_threading into master > >=20 > > and it gets stuck > >=20 > > Stream #0:0 -> #0:0 (wrapped_avframe (native) -> wrapped_avframe (nat= ive)) > > Press [q] to stop, [?] for help > > [noise @ 0x55e8fbaea340] Wrapped AVFrame noising is unsupported > > [vost#0:0/wrapped_avframe @ 0x55e8fbae9840] Error initializing bitstrea= m filter: noise > > [vf#0:0 @ 0x55e8fbaea880] Error sending frames to consumers: Not yet im= plemented in FFmpeg, patches welcome > > [vf#0:0 @ 0x55e8fbaea880] Task finished with error code: -1163346256 (N= ot yet implemented in FFmpeg, patches welcome) > > [vf#0:0 @ 0x55e8fbaea880] Terminating thread with return code -11633462= 56 (Not yet implemented in FFmpeg, patches welcome) >=20 > Sorry, seems I forgot to update my branch. Did that now, it should not > get suck anymore. this still gets stuck: =2E/ffmpeg -y -i mm-short.mpg -af apad -shortest /tmp/.nut [...] thx --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I know you won't believe me, but the highest form of Human Excellence is to question oneself and others. -- Socrates --9WkXpe7iZt1CiiJ3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZWj1CQAKCRBhHseHBAsP q2dYAKCaB2CwHRcYjRjdAEhUd0SaFJBZTgCghW51cnMwNukbSGR8pBbGZbCJiU4= =Ch3u -----END PGP SIGNATURE----- --9WkXpe7iZt1CiiJ3-- --===============1459882058320159730== 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". --===============1459882058320159730==--