Hwaccel FFV1 decoding and encoding
According to Phoronix 22 May 2025 : * FFmpeg FFV1 Vulkan Encoder Lands +35% Improvement For AMD, +50% For NVIDIA * No word on Intel performance benefits from this Vulkan encode optimization. AFAIK Intel has not yet QSV support for FFV1 either. Any idea which ffmpeg version release ffv1_vulkan will be available ? And which color bit depths will be supported: 8-bit yuv422p and 10-bit yuv422p10le/ y210 ? Speed tests? Terje J. H
вс, 25 мая 2025 г., 23:16 Terje J. Hanssen via Cin < [email protected]>:
According to Phoronix 22 May 2025 :
- FFmpeg FFV1 Vulkan Encoder Lands +35% Improvement For AMD, +50% For NVIDIA - No word on Intel performance benefits from this Vulkan encode optimization.
AFAIK Intel has not yet QSV support for FFV1 either.
Any idea which ffmpeg version release ffv1_vulkan will be available ?
I guess "upcoming", I saw references to 8.0 in commits. And which color bit depths will be supported: 8-bit yuv422p and 10-bit
yuv422p10le/ y210 ? Speed tests?
Speed was not great for my rx550 (few fps for 4k video), but may be Arc actually faster for such workloads? I see at least those mentioned in ../thirdparty/ffmpeg.git/libavcodec/ffv1enc_vulkan.c if (avctx->sw_pix_fmt == AV_PIX_FMT_GBRP10 || avctx->sw_pix_fmt == AV_PIX_FMT_GBRP12 || avctx->sw_pix_fmt == AV_PIX_FMT_GBRP14) so high-bit depth RGB is supported. I'll try to synthetize Vulkan ffv1 encoder preset and see what it offers.
Terje J. H
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
пн, 26 мая 2025 г., 04:55 Andrew Randrianasulu <[email protected]>:
вс, 25 мая 2025 г., 23:16 Terje J. Hanssen via Cin < [email protected]>:
According to Phoronix 22 May 2025 :
- FFmpeg FFV1 Vulkan Encoder Lands +35% Improvement For AMD, +50% For NVIDIA - No word on Intel performance benefits from this Vulkan encode optimization.
AFAIK Intel has not yet QSV support for FFV1 either.
Any idea which ffmpeg version release ffv1_vulkan will be available ?
I guess "upcoming", I saw references to 8.0 in commits.
And which color bit depths will be supported: 8-bit yuv422p and 10-bit
yuv422p10le/ y210 ? Speed tests?
Speed was not great for my rx550 (few fps for 4k video), but may be Arc actually faster for such workloads?
I see at least those mentioned in ../thirdparty/ffmpeg.git/libavcodec/ffv1enc_vulkan.c
if (avctx->sw_pix_fmt == AV_PIX_FMT_GBRP10 || avctx->sw_pix_fmt == AV_PIX_FMT_GBRP12 || avctx->sw_pix_fmt == AV_PIX_FMT_GBRP14)
so high-bit depth RGB is supported.
I'll try to synthetize Vulkan ffv1 encoder preset and see what it offers.
Aw, it does not work, citing null pixel format not supported :) Anyway, here is ffmpeg ticket about that: https://trac.ffmpeg.org/ticket/11352 "On the state of FFmpeg's ffv1_vulkan encoder implementation on Intel & NVIDIA" for me it worked at like 0.6 fps for FHD (1920*1080) video but most importantly both decoding AND encoding broken At The Moment for me on RX550 https://trac.ffmpeg.org/ticket/11609 In other words it does not error out, just decoded image is wrong (and not in subtle way!) and encoded file not even playable by mpv/mplayer/cingg.
Terje J. H
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
participants (2)
-
Andrew Randrianasulu -
Terje J. Hanssen