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

wolverin wolverin82 at mail.ru
Mon Aug 22 07:31:49 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.
Maybe you need to use AVFilterContext like me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220822/27b6fe1a/attachment.htm>

More information about the Libav-user mailing list