[FFmpeg-devel] [PATCH 13/13] fftools/ffmpeg: convert to a threaded architecture
Michael Niedermayer
michael at niedermayer.cc
Sat Nov 25 00:26:16 EET 2023
On Thu, Nov 23, 2023 at 08:15:08PM +0100, Anton Khirnov wrote:
> 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.
> ---
> 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 | 720 +++++-------------
> 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(+), 2028 deletions(-)
this (and many other things) infinite loops
./ffmpeg -f lavfi -i testsrc2 -bsf:v noise -bitexact -t 2 -y /tmp/y.y4m
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231124/2b18a07e/attachment.sig>
More information about the ffmpeg-devel
mailing list