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.mpg -vf nullsink,color=green -bitexact -vframes 1 -f null - Assertion stream_idx < tq->nb_streams failed at fftools/thread_queue.c:125 thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not speak. He who speaks, does not know. -- Lao Tsu