[FFmpeg-devel] [PATCH] AV1 VDPAU hwaccel Decode support

Philip Langdale philipl at overt.org
Wed Jun 22 13:13:19 EEST 2022


On Tue, 21 Jun 2022 02:45:21 +0000
Manoj Bonda <mbonda at nvidia.com> wrote:

> Hi Philip, 
> 
> The issue seems to be from MPV side rather than from ffmpeg patch. 
> I was able to decode the clip Halo_AV1 properly bitmatching with
> nvcuvid output with ffmpeg + VDPAU. 
> 
> Please find the cmds I used to verify the same. 
> 
> ./ffmpeg  -hwaccel vdpau  -i
> /home/bondamanoj/VideoClips/AV1Clips/Halo_AV1.mp4 -y
> decoded_vdpau.yuv ./ffmpeg  -hwaccel nvdec -i
> /home/bondamanoj/VideoClips/AV1Clips/Halo_AV1.mp4
> decoded_nvcuvid.yuv cmp decoded_vdpau.yuv
> ~/Downloads/ffmpeg-git2/FFmpeg/decoded_nvcuvid.yuv
> 
> The same clip is dumped using mpv via cmd 
> ./mpv  --hwdec=vdpau-copy --o=Halo_dump_av1.yuv  --of=rawvideo
> /home/bondamanoj/VideoClips/AV1Clips/Halo_AV1.mp4
> 
> Is differing and is having corruption while playing. 
> 
> 
> Thanks,
> ManojGupta.

Hi Manoj,

Ok. In that case, I guess it's reasonable to merge. I'm puzzled as to
the behaviour as other codecs work fine and other hwaccels used by the
same av1 decoder also work fine, so I don't see where there is room for
things to go wrong specifically in mpv specifically for this hwaccel.

Anyway, I'll merge it later this week.

Thanks,

--phil


More information about the ffmpeg-devel mailing list