Le 13/03/2025 à 18:03, Lynne a écrit :
This series of commits adds a fully compliant version 3 and 4 hardware
accelerator code for FFv1 written in Vulkan.

Thank you for this hard work!
I tested today's master branch with lot of different pix_fmts and FFV1 encoder settings on both Linux and Windows, I found buggy decoding for theses use cases:

wget https://mediaarea.net/temp/2K1.5K16-bit.dpx
./ffmpeg -y -i 2K1.5K16-bit.dpx -c:v ffv1 -context 1 -g 1 -level 3 2K1.5K16-bit.mkv
./ffmpeg -y -hwaccel vulkan -i 2K1.5K16-bit.mkv 2K1.5K16-bit.png
(wrong output)

wget https://mediaarea.net/temp/600x402x8-bit.dpx
./ffmpeg -y -i 600x402x8-bit.dpx -c:v ffv1 -coder 0 -context 1 -g 1 -level 3 600x402x8-bit.mkv
./ffmpeg -y -hwaccel vulkan -i 600x402x8-bit.mkv 600x402x8-bit.png
(stall)
./ffmpeg -y -i 600x402x8-bit.dpx -c:v ffv1 -coder 1 -context 1 -g 1 -level 3 600x402x8-bit.mkv
./ffmpeg -y -hwaccel vulkan -i 600x402x8-bit.mkv 600x402x8-bit.png
(wrong output)

Note that replacing " -context 1" by " -context 0" during encoding makes the HW decoding fine.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to