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 32ACD486BC for ; Thu, 14 Dec 2023 08:18:42 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 850FF68D1A4; Thu, 14 Dec 2023 10:18:39 +0200 (EET) Received: from shout02.mail.de (shout02.mail.de [62.201.172.25]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D5EDE68D13B for ; Thu, 14 Dec 2023 10:18:32 +0200 (EET) Received: from postfix03.mail.de (postfix03.bt.mail.de [10.0.121.127]) by shout02.mail.de (Postfix) with ESMTP id 72E8B240CFD for ; Thu, 14 Dec 2023 09:18:32 +0100 (CET) Received: from smtp01.mail.de (smtp01.bt.mail.de [10.0.121.211]) by postfix03.mail.de (Postfix) with ESMTP id 5991880209 for ; Thu, 14 Dec 2023 09:18:32 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp01.mail.de (Postfix) with ESMTPSA id 0493D244684 for ; Thu, 14 Dec 2023 09:18:31 +0100 (CET) Message-ID: <06d698a7-40ae-428c-8c54-cf7332ca5658@mail.de> Date: Thu, 14 Dec 2023 09:18:30 +0100 MIME-Version: 1.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20231212074119.EC15B41151B@natalya.videolan.org> <20231213231614.GB1833374@pb2> In-Reply-To: <20231213231614.GB1833374@pb2> X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 3178 X-purgate-ID: 154282::1702541912-475B9670-6F8FB2A1/0/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: , From: Thilo Borgmann via ffmpeg-devel Reply-To: FFmpeg development discussions and patches Cc: Thilo Borgmann Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Am 14.12.23 um 00:16 schrieb Michael Niedermayer: > 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 >> --- Using --assert-level=2 breaks "everything" pretty early. I'm on 5256b2f: thilo@MAC-2 FFmpeg % lldb -- ./ffmpeg_g -lavfi testsrc2 -f null - (lldb) target create "./ffmpeg_g" Current executable set to '/Users/thilo/FFmpeg/ffmpeg_g' (arm64). (lldb) settings set -- target.run-args "-lavfi" "testsrc2" "-f" "null" "-" (lldb) r Process 24543 launched: '/Users/thilo/FFmpeg/ffmpeg_g' (arm64) ffmpeg version N-112972-g5256b2fbe6 Copyright (c) 2000-2023 the FFmpeg developers built with Apple clang version 12.0.5 (clang-1205.0.22.9) configuration: --assert-level=2 libavutil 58. 33.100 / 58. 33.100 libavcodec 60. 35.100 / 60. 35.100 libavformat 60. 18.100 / 60. 18.100 libavdevice 60. 4.100 / 60. 4.100 libavfilter 9. 14.100 / 9. 14.100 libswscale 7. 6.100 / 7. 6.100 libswresample 4. 13.100 / 4. 13.100 Stream mapping: testsrc2:default -> Stream #0:0 (wrapped_avframe) pthread_mutex_lock failed with error: Invalid argument Process 24543 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT frame #0: 0x000000018cb3ed78 libsystem_kernel.dylib`__pthread_kill + 8 libsystem_kernel.dylib`__pthread_kill: -> 0x18cb3ed78 <+8>: b.lo 0x18cb3ed98 ; <+40> 0x18cb3ed7c <+12>: pacibsp 0x18cb3ed80 <+16>: stp x29, x30, [sp, #-0x10]! 0x18cb3ed84 <+20>: mov x29, sp Target 0: (ffmpeg_g) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT * frame #0: 0x000000018cb3ed78 libsystem_kernel.dylib`__pthread_kill + 8 frame #1: 0x000000018cb73ee0 libsystem_pthread.dylib`pthread_kill + 288 frame #2: 0x000000018caae340 libsystem_c.dylib`abort + 168 frame #3: 0x0000000100c5d028 ffmpeg_g`sch_start.cold.2 at ffmpeg_sched.c:91:5 [opt] frame #4: 0x00000001000204ac ffmpeg_g`sch_start at thread.h:91:5 [opt] frame #5: 0x00000001000204a0 ffmpeg_g`sch_start(sch=) at ffmpeg_sched.c:1415 [opt] frame #6: 0x000000010002b2b4 ffmpeg_g`main [inlined] transcode(sch=) at ffmpeg.c:922:11 [opt] frame #7: 0x000000010002aeb8 ffmpeg_g`main(argc=, argv=) at ffmpeg.c:1050 [opt] frame #8: 0x0000000102c1908c dyld`start + 520 -Thilo _______________________________________________ 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".