[Cin] System ffmpeg Vulkan video transcoding fails - while benchmarking works
Andrew Randrianasulu
randrianasulu at gmail.com
Sat Apr 26 22:39:25 CEST 2025
сб, 26 апр. 2025 г., 23:33 Andrea paz <gamberucci.andrea at gmail.com>:
> OK; the new test:
>
> export RADV_PERFTEST=video_decode,video_encode
> time -p ffmpeg -init_hw_device vulkan=vulkan -filter_hw_device vulkan
> -hwaccel vulkan -i hdr_02.mp4 -vf libplaceb
> o=colorspace=bt709:color_primaries=bt709:color_trc=bt709:range=tv -c:a
> copy -c:v rawvideo -f nut -benchmark /dev/null
> [...]
> Stream mapping:
> Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
> Stream #0:1 -> #0:1 (copy)
> Press [q] to stop, [?] for help
> Output #0, nut, to '/dev/null':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2mp41
> encoder : Lavf61.7.100
> Stream #0:0: Video: rawvideo (RGB[15] / 0xF424752), p010le(tv, bt709,
> progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 7457502 k
> b/s, 59.94 fps, 60k tbn (default)
> Metadata:
> creation_time : 2017-06-04T23:05:26.000000Z
> X-Language : und
> handler_name : VideoHandler
> vendor_id : [0][0][0][0]
> encoder : Lavc61.19.100 rawvideo
> Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz,
> stereo, fltp, 125 kb/s (default)
> Metadata:
> creation_time : 2017-06-04T23:05:26.000000Z
> X-Language : und
> handler_name : SoundHandler
> vendor_id : [0][0][0][0]
> [out#0/nut @ 0x6397911f8200] video:230947200KiB audio:2438KiB
> subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead:
> 0
> .000243%
> frame= 9504 fps= 93 q=-0.0 Lsize=230950199KiB time=00:02:38.52
> bitrate=11934447.1kbits/s speed=1.54x
> bench: utime=99.985s stime=32.366s rtime=102.719s
> bench: maxrss=1764140KiB
> real 105,83
> user 100,02
> sys 32,43
>
like 6x faster than my case ;)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250426/9da0db9e/attachment.htm>
More information about the Cin
mailing list