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 C2D2B47F1E for ; Sat, 4 Nov 2023 19:54:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 671CA68CE7D; Sat, 4 Nov 2023 21:54:30 +0200 (EET) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5135068CE2D for ; Sat, 4 Nov 2023 21:54:23 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 9F500E0003 for ; Sat, 4 Nov 2023 19:54:22 +0000 (UTC) Date: Sat, 4 Nov 2023 20:54:21 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20231104195421.GJ3543730@pb2> References: <20231104092125.10213-1-anton@khirnov.net> <20231104092125.10213-11-anton@khirnov.net> MIME-Version: 1.0 In-Reply-To: <20231104092125.10213-11-anton@khirnov.net> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 10/24] fftools/ffmpeg_filter: move filtering to a separate thread 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="===============3149340807833510072==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3149340807833510072== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bzWwu/3LJsGbz4SD" Content-Disposition: inline --bzWwu/3LJsGbz4SD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 04, 2023 at 08:56:19AM +0100, Anton Khirnov wrote: > As previously for decoding, this is merely "scaffolding" for moving to a > fully threaded architecture and does not yet make filtering truly > parallel - the main thread will currently wait for the filtering thread > to finish its work before continuing. That will change in future commits > after encoders are also moved to threads and a thread-aware scheduler is > added. > --- > fftools/ffmpeg.h | 9 +- > fftools/ffmpeg_dec.c | 39 +- > fftools/ffmpeg_filter.c | 825 ++++++++++++++++++++++++++++++++++------ > 3 files changed, 730 insertions(+), 143 deletions(-) causes assertion failure in: make -j32 && echo 'Call 0 ping' | ./ffmpeg -nostats -i ~/videos/mm-short.m= pg -vf nullsink,color=3Dgreen -bitexact -vframes 1 -f null - Assertion stream_idx < tq->nb_streams failed at fftools/thread_queue.c:125 thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not speak. He who speaks, does not know. -- Lao Tsu --bzWwu/3LJsGbz4SD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZUahaQAKCRBhHseHBAsP q81iAJ0W3OFFKfLuRlB6p1LW3JJykhDBgACfXGHRO04pzNJIlJMQkyu6g0Pai4I= =zbe8 -----END PGP SIGNATURE----- --bzWwu/3LJsGbz4SD-- --===============3149340807833510072== 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". --===============3149340807833510072==--