[Cin] New speed winner for hw tonemapping!

Andrew Randrianasulu randrianasulu at gmail.com
Sat Apr 26 22:37:45 CEST 2025


RADV_PERFTEST=video_decode,video_encode time -p ./ffmpeg  -init_hw_device
vulkan=vulkan -filter_hw_device vulkan   -hwaccel vulkan  -i
~/K38_sdcard1/Documents/iPhone11_4K-recorder_59.940HDR10.mov -vf
libplacebo=w=1920:h=1080:force_original_aspect_ratio=decrease:normalize_sar=true:upscaler=ewa_lanczos:downscaler=ewa_lanczos:colorspace=bt709:color_primaries=bt709:color_trc=bt709:range=tv
-c:a copy -c:v libx264  -f mp4 -benchmark
/dev/shm/ffmpeg-git-libplacebo-vulkan-2k.mp4


frame= 1148 fps= 10 q=-1.0 Lsize=   30435KiB time=00:00:19.13
bitrate=13029.3kbits/s speed=0.167x

bench: utime=355.600s stime=25.878s rtime=114.342s

so nearly 10 fps with scaled to FHD input! (otherwise 32bit x264 OOMs)

ffmpeg git


8bb682d454990a1049a21f1f51442205ea3337e9

configured as

./configure --enable-opencl --disable-debug --enable-libx265
--enable-libx264 --enable-gpl --enable-libplacebo --enable-vulkan
--enable-libshaderc --enable-libzimg  --enable-libaom --enable-libdav1d
--enable-libsoxr --enable-libfontconfig --enable-libfreetype
--enable-libfribidi --enable-gnutls --enable-libass --enable-libbluray
--enable-libcdio --enable-frei0r --enable-libgsm --enable-openal
--enable-libopus --enable-librtmp --enable-libsnappy --enable-libspeex
--enable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2
--enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp

Cpu usage for just decoding also was lower than in vaapi case, so *some*
use for Vulkan decode, contrary to my initial sceptecism!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250426/a6340c37/attachment.htm>


More information about the Cin mailing list