[Libav-user] Multithread decode and scaler

Nicolas George george at nsup.org
Mon Aug 22 13:09:58 EEST 2022

wolverin via Libav-user (12022-08-22):
> Scaling has accelerated by about 3 times, but it's still slow (about
> 50 ms, it was 130)

The only advice I can give you at this point is to examine how ffmpeg
itself does and see how your program differs.

> >Also try to use the command-line tool to see if multithreading is indeed
> >used.
> Please explain what it is about?

ffmpeg -i some_file_with_mjpeg -f null -

and at the same time:


and see how much CPU it uses. If it is >>100%, then multithreading is
used. If not, then it probably is not possible easily.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220822/3ca9c9e5/attachment.sig>

More information about the Libav-user mailing list