[FFmpeg-user] 4K RGB->YUV realtime conversion.

Anders Degerberg anders at europasound.se
Tue Mar 9 08:38:09 EET 2021


On Tue, Mar 9, 2021 at 4:52 AM Peter White <peter.white at posteo.net> wrote:

> Just an aside, you need to specifiy the -sws_flags like this:
> -sws_flags bilinear+print_info

Thanks Peter,
 unfortunately it does not seem to improve the yuv conversion speed,
still at about 0.6x. Some output below:

- snip -
[graph 0 input from stream 0:1 @ 0x44c7480] w:4096 h:2160
pixfmt:gbrp10le tb:1/1000000 fr:25000/1000 sar:0/1
[auto_scaler_0 @ 0x4508600] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x44d9bc0] auto-inserting filter 'auto_scaler_0' between the
filter 'Parsed_null_0' and the filter 'format'
SwScaler: reducing / aligning filtersize 1 -> 4
    Last message repeated 1 times
SwScaler: reducing / aligning filtersize 1 -> 1
    Last message repeated 1 times
[swscaler @ 0x450a040] bilinear scaler, from gbrp10le to yuv444p16le
using MMXEXT
[swscaler @ 0x450a040] 4096x2160 -> 4096x2160
[auto_scaler_0 @ 0x4508600] w:4096 h:2160 fmt:gbrp10le sar:0/1 ->
w:4096 h:2160 fmt:yuv444p16le sar:0/1 flags:0x4
[hevc_nvenc @ 0x44dd4c0] Loaded Nvenc version 11.0
- snip -


More information about the ffmpeg-user mailing list