Opened 8 years ago

Closed 7 years ago

#9311 closed Bug Report (Fixed)

Internal player has problems playing some MKV files

Reported by: anonymous Owned by: markk
Priority: minor Milestone: 0.25
Component: MythTV - Video Playback Version: 0.24-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Some MKV files can't be played with the internal player, as the internal player shows a lot of pixelation. The same files plays fine in mplayer.

A 20MB sample: http://filebin.ca/gtsswe/Sample.mkv

Tested on 0.24-fixes r27364.

Attachments (1)

Sample.log (39.7 KB) - added by anonymous 8 years ago.
mythavtest -v playback

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by anonymous

Attachment: Sample.log added

mythavtest -v playback

comment:1 Changed 8 years ago by Raymond Wagner

Status: newinfoneeded_new

Looking at the video sample and log, you are using b_pyramid=2 along with VDPAU. B-pyramid support in x264 has long caused problems with hardware decoders, and most commonly available profiles either disable it, or reduce the number of reference frames, in order to ensure L4.1 compliance.

The video plays fine here without VDPAU. Try using the Standard (libav*) decoder instead.

comment:2 Changed 8 years ago by markk

The problem is this line:-

2010-12-01 02:04:33.050 VidOutVDPAU: Created VDPAU decoder (11 ref frames)

The solution is to increase the number of VDPAU buffers by setting vdpaubuffersize=XX in the filters section of the video display profile page (you'll need to find what value for XX works for you). This is technically a bug in the MythTV VDPAU code that should be fixed for 0.25.

Changing to a more recent GPU or updating your drivers may also fix the problem.

If you're creating these MKV's yourself, you should definitely consider changing the settings. That clip will have issues with other hardware acceleration platforms - such as Apple's VDA - and 11 reference frames is entirely OTT.

comment:3 Changed 8 years ago by anonymous

Thanks! Setting vdpaubuffersize=30 fixes playback on my ION-based setup :)

But I don't think #9149 is a duplicate of this ticket, that ticket doesn't use VDPAU and according to the ticket, VDPAU is not even compiled into his setup.

comment:4 Changed 8 years ago by Kenni Lund [kenni a kelu dot dk]

Status: infoneeded_newnew

comment:5 Changed 8 years ago by Kenni Lund [kenni a kelu dot dk]

Owner: changed from Janne Grunau to markk
Status: newassigned

comment:6 Changed 8 years ago by markk

Milestone: unknown0.25
Status: assignedaccepted

comment:7 Changed 7 years ago by markk

Resolution: Fixed
Status: acceptedclosed

Fixed in f8c108ef9a5 and 5e04d57bc87a6

Note: See TracTickets for help on using tickets.