[FFmpeg-user] multithreaded use of sws_scale

Davood Falahati falahati.davood at gmail.com
Thu Sep 14 23:36:25 EEST 2017

I think this question is out of scope of ffmpeg community. You should ask
it in libavuser instead.
By the way, if you want to scale an AVFrame in various dimensions in
different threads, you should instantiate various amounts of SwsContext.


Tel: +98 (913) 126-0265

On Thu, Sep 14, 2017 at 10:44 PM, Martin Belleau <
mbelleau at capellasystems.net> wrote:

> I see that sws_scale has srcSliceY and srcSliceH, which should allow to
> perform scaling of different slices in parallel.
> Is there any sample code which demonstrates how to use it?
> Should the same SwsContext be used to scale all the slices?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list