[Libav-user] Real-time 4k conversion RGB=>YUV is impossibe in FFMPEG ?

Aleksei Komarov abkomarov at gmail.com
Mon Aug 15 11:52:08 EEST 2022


I'm using FFMPEG/sws_scale to convert PixFmt from RGB to YUV(NV12) (Without
size scaling!) .
It is really a bottleneck of the encoding process, it is extremely slow!!
What I'm doing wrong? Should I use another FFMPEG convert method instead of
sws_scale?
I've checked the OBS studio source code and found that they use a
self-written RGB-NV12 converter instead of using FFMPEG/sws_scale.

With best regards,
Alex K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220815/e17bfc4e/attachment.htm>


More information about the Libav-user mailing list