Opened 3 years ago

Closed 12 months ago

#13253 closed Bug Report - General (fixed)

AMD vdpau distorted playback after ffmpeg replace deprecated avcodec_decode_video2

Reported by: warpme@… Owned by: Mark Kendall
Priority: minor Milestone: 31.1
Component: MythTV - Video Playback Version: Master Head
Severity: medium Keywords: vdpau ffmpeg deprecated
Cc: Ticket locked: no


After users of AMD platform using vdpau have distorted picture after playback jump forward/back.

Pls look at video:

In sample6, at 00:10 there was was first 30s jump forward. At 00:14 was second jump and after that playback becomes distorted.

Issue is seen only on AMD with mesa provided VDPAU. Nvidia/VDPAU and AMD/ffmpeg plays OK. Version of MESA doesn't matter (tested 17.1.10 and 17.3.6)

Change History (7)

comment:1 Changed 3 years ago by Peter Bennett

Component: MythTV - GeneralMythTV - Video Playback
Owner: set to Peter Bennett
Status: newassigned

comment:2 Changed 3 years ago by Peter Bennett

Owner: changed from Peter Bennett to Peter Bennett

comment:3 Changed 3 years ago by Peter Bennett

Milestone: needs_triageunknown

comment:4 Changed 17 months ago by Mark Kendall

Milestone: unknown31.1
Owner: changed from Peter Bennett to Mark Kendall
Status: assignedaccepted
Version: UnspecifiedMaster Head

comment:5 Changed 17 months ago by Mark Kendall

warpme_ reports that recent testing with an AMD card works fine with VAAPI (decode and playback), as does VDPAU with decode only.

There appears to be an issue with rendering with AMD/mesa - though I suspect that is a different issue to the one reported here, which is probably fixed with the changes to VDPAU decoding.

comment:6 Changed 17 months ago by warpme

Mark, I agree with Your comment. By this I think we can close this ticket.

Regarding VDPAU on mesa/ATI: It is not blocker as VAAPI works OK on mesa/ATI - but it will be good to look in the future whay it not works....

comment:7 Changed 12 months ago by Mark Kendall <mark.kendall@…>

Resolution: fixed
Status: acceptedclosed

In 8212a9b7b/mythtv:

VDPAU: Fix VDPAU rendering for AMD/Gallium

Fixes #13253

(cherry picked from commit 2fb7e4cb51408343ef40e13d099ca9802a576a8c)

Note: See TracTickets for help on using tickets.