[Cin] Tried ffv1_vulkan ....

Andrew Randrianasulu randrianasulu at gmail.com
Mon Apr 28 10:05:41 CEST 2025


пн, 28 апр. 2025 г., 10:45 Andrea paz <gamberucci.andrea at gmail.com>:

> Using the command:
> time -p ffmpeg -init_hw_device vulkan=vulkan -filter_hw_device vulkan
> -hwaccel vulkan -i hdr_02.mp4 -vf
>
> libplacebo=format=yuv444p: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 2k.mp4
>
> It's all OK.
>
> [out#0/mp4 @ 0x5ca40c822200] video:209548KiB audio:2438KiB
> subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead:
> 0.114947%
> frame= 9504 fps= 94 q=-1.0 Lsize=  212230KiB time=00:02:38.52
> bitrate=10967.3kbits/s speed=1.56x
> bench: utime=1158.824s stime=56.576s rtime=101.561s
> bench: maxrss=3467240KiB
> real 101,71
> user 1158,87
> sys 56,63
>
> But this is a command I had already tried.
>

replace -c:v x264 with -c:v ffv1_vulkan , if you want to test this specific
encoder, only in ffmpeg.git.

Or just do not test anything if you do not want ;)

I am trying to get multithreaded swscale working but it keep segfaulting,
so sorry ....


I don't want to put ffmpeg-git on my system. Is it useless to compile
> ffmpeg-git in CinGG? Can ffv1_vulkan be made to work inside CinGG?
>

I think encoders are simpler to get working, but you can try to recompile
cingg with ffmpeg git and see if ffv1_vulkan appears in
thirdparty/ffmpeg.git/ffmpeg -encoders | grep vulkan

do not forgot to patch cingg with my ffmpeg8 patch, and remove two
thirdparty/src/ffmpeg.git patches that fail to compile (patch2 for sure and
another one).

Again, you can just compile and run ffmpeg from git in your home directory,
no need to install it system wide.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250428/18741556/attachment.htm>


More information about the Cin mailing list