[Libav-user] Multithread decode and scaler

wolverin wolverin82 at mail.ru
Fri Aug 19 18:29:28 EEST 2022


>I do not konw. I notice that vf_scale() is not using
>sws_alloc_context(), then setting options then sws_init_context() while
>you use sws_getContext(), which includes sws_init_context(), and then
>you set the threads options. Therefore, I suspect you need to set the
>threads options before sws_init_context() is called.
I think I've started to understand how it works — ffmpeg does not use SwsContext / sws_getContext / sws_scale from exlample muxing.c, but AVFilterContext for scale
 
But why how to set threads for mjpeg codec context!?
 
>Please remember that top-posting is forbidden on this mailing-list; if
>you do not know what it means look it up.
Ок.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220819/a9c9517b/attachment.htm>


More information about the Libav-user mailing list