[Libav-user] Fast colourspace conversion on iOS

Nuno Santos nuno.santos at imaginando.pt
Sat Jul 17 13:46:28 EEST 2021


Hi,

I’m using libav to mux a video file at full hd. 

At some point I need to convert the original frame at 1920x1080 RGB to YUV420P

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.

I guess sws_scale is not optimised for iOS. How is people doing it on iOS then?

Thanks!

Best regards,

Nuno


More information about the Libav-user mailing list