For one particular file I have, CUDA decoding seems to produce artifacts that I can’t reproduce on software decoding or with VDPAU. There relevant ffmpeg issue is here:
https://trac.ffmpeg.org/ticket/6619
Example of the artifacts:
External Image
Example clip that can reproduce artifacts:
https://trac.ffmpeg.org/attachment/ticket/6619/LB-test-small.mkv
Example command to reproduce:
ffmpeg -report -c:v h264_cuvid -ss 00:00:01.0 -i LB-test-small.mkv -vframes 1 output.png
OS: GNU/Linux 64-bit
GPU: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Drivers: NVIDIA UNIX x86_64 Kernel Module 384.59 Wed Jul 19 23:53:34 PDT 2017
I’m actually not sure if this is a driver issue, or ffmpeg’s implementation of the cuda decoder, but I thought I’d report it here if that could help.