<div dir="auto">Hi,</div><div dir="auto"><br></div><div dir="auto">You can try libyuv library to convert colorspaces. It is really faster than swscale from our tests.</div><div dir="auto"><br></div><div dir="auto">Yurii</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">сб, 17 июля 2021 г. в 15:24, Nuno Santos <<a href="mailto:nuno.santos@imaginando.pt">nuno.santos@imaginando.pt</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nicolas,<br>
<br>
Thanks for your reply.<br>
<br>
The referred measures are based on:<br>
<br>
- Intel i5 2.4 Ghz quad core (desktop)<br>
- 2018 iPad Pro 12’9 (A12X processor)<br>
<br>
Regards,<br>
<br>
Nuno<br>
<br>
> On 17 Jul 2021, at 12:49, Nicolas George <<a href="mailto:george@nsup.org" target="_blank">george@nsup.org</a>> wrote:<br>
> <br>
> Nuno Santos (12021-07-17):<br>
>> I’m using libav to mux a video file at full hd. <br>
>> <br>
>> At some point I need to convert the original frame at 1920x1080 RGB to YUV420P<br>
>> <br>
>> This requires sws_scale to be called. On desktop it takes around 7/8 ms to convert a frame. On iOS it takes 28 ms.<br>
>> <br>
>> I guess sws_scale is not optimised for iOS. How is people doing it on iOS then?<br>
> <br>
> I do not think that sws_scale requires OS-specific optimizations.<br>
> <br>
> What are the CPUs of your desktop and mobile devices?<br>
> <br>
> Regards,<br>
> <br>
> -- <br>
> Nicolas George<br>
> _______________________________________________<br>
> Libav-user mailing list<br>
> <a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
> <a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
> <br>
> To unsubscribe, visit link above, or email<br>
> <a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
</blockquote></div></div>