[FFmpeg-devel] [PATCH 16/21] fftools/ffmpeg_dec: move decoding to a separate thread
Michael Niedermayer
michael at niedermayer.cc
Fri Jun 16 23:58:21 EEST 2023
On Wed, Jun 14, 2023 at 06:49:03PM +0200, Anton Khirnov wrote:
> This is only a preparatory step to a fully threaded architecture and
> does not yet make decoding truly parallel - the main thread will
> currently submit a packet and wait until it has been fully processed by
> the decoding thread before moving on. Decoded behavior as observed by
> the rest of the program should remain unchanged. That will change in
> future commits after encoders and filters are moved to threads and a
> thread-aware scheduler is added.
> ---
> fftools/ffmpeg.c | 63 +++++---
> fftools/ffmpeg.h | 11 ++
> fftools/ffmpeg_dec.c | 365 ++++++++++++++++++++++++++++++++++++++-----
> fftools/ffmpeg_mux.c | 5 -
> 4 files changed, 382 insertions(+), 62 deletions(-)
This seems to break (infinite loop)
ffmpeg -i videos/bink/thps4/ACDC.smo -bitexact -t 1 -y ACDC.smo.avi
file seems there: on samples server: game-formats/bink/thps4/ACDC.smo
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Elect your leaders based on what they did after the last election, not
based on what they say before an election.
-------------- 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/20230616/e4ed0600/attachment.sig>
More information about the ffmpeg-devel
mailing list