Opened 12 years ago
Closed 11 years ago
Last modified 10 years ago
#11377 closed Bug Report - General (fixed)
Corrupted video when using VDPAU decoding
Reported by: | Owned by: | JYA | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27.2 |
Component: | MythTV - Video Playback | Version: | 0.26-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Playback of the intro to 'Ultimate DVD Demo' is corrupted when VDPAU decoding is used. I extracted the video from the DVD to an mpeg2 video file and tried it in MythVideo? with the same results, so it seems to be general decoding/playback issue rather than anything DVD-specific.
Playback in mplayer and vlc is fine (but I don't know whether they use VDPAU for decoding or just rendering).
NVIDIA drivers are 304.43.
The problem exists in 0.26-fixes and master.
I've uploaded a 10-second sample to stuartm's DVD respository - BadPlaybackWithVDPAUDecoding.m2v
Another user has also reported the same issues: http://www.gossamer-threads.com/lists/mythtv/users/538080
Change History (10)
comment:1 Changed 12 years ago by
Status: | new → infoneeded_new |
---|
comment:2 Changed 12 years ago by
Even with those options, mplayer plays the file without corruption. The output from mplayer seems a little odd, however:
========================================================================== Forced video codec: ffmpeg12vdpau Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 53.35.0 (external) Mismatching header version 53.32.2 Selected video codec: [ffmpeg12vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU)) ========================================================================== Audio: no sound Starting playback... [VD_FFMPEG] XVMC-accelerated MPEG-2. Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [vdpau] 720x480 => 720x540 MPEG2 VDPAU acceleration [mpegvideo_vdpau @ 0x7fdc07297380]allocate dummy last picture for field based first keyframe
"XVMC-accelerated MPEG-2"?
NVIDIA confirmed they could reproduce the problem with Myth but not with mplayer and would investigate. I've not heard anything more since then (31st January).
comment:3 Changed 12 years ago by
Owner: | set to danielk |
---|---|
Status: | infoneeded_new → assigned |
Thanks for checking.
comment:4 Changed 11 years ago by
Owner: | changed from danielk to JYA |
---|---|
Status: | assigned → accepted |
Another sample. http://www.avenard.org/files/media/mediatest/Ondine_clip.mpg
comment:6 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:8 Changed 10 years ago by
For the record.
This is a bug in FFmpeg libavformat mpeg demuxer https://trac.ffmpeg.org/ticket/2915 https://trac.ffmpeg.org/ticket/3688
issue can be reproduced with mplayer too when using FFmpeg mpeg demuxer (mplayer uses its own): mplayer -vo vdpau -vc ffmpeg12vdpau -demuxer lavf Ondine_clip.mpg
The fixes provided is just a work around, that appears to only work with nvidia proprietary driver.
comment:10 Changed 10 years ago by
Milestone: | unknown → 0.27.2 |
---|
Does the same corruption occur using mplayer with the "-vo vdpau -vc ffmpeg12vdpau" options? If so, it is a VDPAU driver bug.