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 61F4E486AF for ; Thu, 14 Dec 2023 03:44:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1317468D19C; Thu, 14 Dec 2023 05:44:53 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 86C7D68D190 for ; Thu, 14 Dec 2023 05:44:46 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 48AEE2405ED for ; Thu, 14 Dec 2023 04:44:46 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id 17z004b_OuqJ for ; Thu, 14 Dec 2023 04:44:43 +0100 (CET) Received: from lain.khirnov.net (lain.khirnov.net [IPv6:2001:67c:1138:4306::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "lain.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id E4BD32400AC for ; Thu, 14 Dec 2023 04:44:43 +0100 (CET) Received: by lain.khirnov.net (Postfix, from userid 1000) id C1AD21601B9; Thu, 14 Dec 2023 04:44:43 +0100 (CET) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: <20231214020713.GG6420@pb2> References: <20231212074119.EC15B41151B@natalya.videolan.org> <20231213231614.GB1833374@pb2> <20231214020713.GG6420@pb2> Mail-Followup-To: FFmpeg development discussions and patches Date: Thu, 14 Dec 2023 04:44:43 +0100 Message-ID: <170252548376.8914.10678686379908663456@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Quoting Michael Niedermayer (2023-12-14 03:07:13) > On Thu, Dec 14, 2023 at 12:16:14AM +0100, Michael Niedermayer wrote: > > On Tue, Dec 12, 2023 at 07:41:18AM +0000, Anton Khirnov wrote: > > > ffmpeg | branch: master | Anton Khirnov | Tue Jul 18 16:37:52 2023 +0200| [d119ae2fd82a494d9430ff4d4fc262961a68c598] | committer: Anton Khirnov > > > > > > fftools/ffmpeg: convert to a threaded architecture > > > > > > Change the main loop and every component (demuxers, decoders, filters, > > > encoders, muxers) to use the previously added transcode scheduler. Every > > > instance of every such component was already running in a separate > > > thread, but now they can actually run in parallel. > > > > > > Changes the results of ffmpeg-fix_sub_duration_heartbeat - tested by > > > JEEB to be more correct and deterministic. > > > > > > > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d119ae2fd82a494d9430ff4d4fc262961a68c598 > > > --- > > > > infinite loops this: (most of the time) > > > > ffmpeg -i tickets///2531/interlaced_top.wmv -t 10 -bitexact -vcodec ffv1 -level 0 -y file..avi > > > > https://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket2531/interlaced_top.wmv > > also a related question > is there a way to make things execute serially in a predictive manner ? You should be able to make it effectively serial with something like schedtool -a 0x1 -F -p 1 -e ./ffmpeg ... It still won't be deterministic across runs though. -- Anton Khirnov _______________________________________________ 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".