Ticket #9311 (closed Bug Report: Fixed)
Opened 2 years ago
Last modified 2 years ago
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
Change History
Changed 2 years ago by anonymous
- Attachment Sample.log added
comment:1 Changed 2 years ago by wagnerrp
- Status changed from new to infoneeded_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 2 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 2 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:5 Changed 2 years ago by kenni
- Owner changed from janne to markk
- Status changed from new to assigned
comment:6 Changed 2 years ago by markk
- Status changed from assigned to accepted
- Milestone changed from unknown to 0.25
comment:7 Changed 2 years ago by markk
- Status changed from accepted to closed
- Resolution set to Fixed
Fixed in f8c108ef9a5 and 5e04d57bc87a6

mythavtest -v playback