[mythtv-commits] Ticket #7405: MythVideo VDPAU playback errors on some MKV h264 files

MythTV mythtv at cvs.mythtv.org
Fri Oct 23 21:17:58 UTC 2009


#7405: MythVideo VDPAU playback errors on some MKV h264 files
-------------------------------------+--------------------------------------
 Reporter:  travis@…                 |       Owner:  janne  
     Type:  defect                   |      Status:  new    
 Priority:  minor                    |   Milestone:  unknown
Component:  MythTV - Video Playback  |     Version:  0.22rc1
 Severity:  medium                   |     Mlocked:  0      
-------------------------------------+--------------------------------------

Comment(by tralph11@…):

 Travis, the problem is that you are playing an h264 encoded video with
 level 5.1 and 11 reference frames. This requires a larger number of VDPAU
 buffers allocated. The reason that your file plays in mplayer is that it
 is using more buffers than mythtv. I successfully played your video with
 the number of VDPAU buffers set to 23. I would suggest using the minimum
 you need to play to avoid using too many resources. The default for mythtv
 is 17 and can be changed one of two ways.

  1. change the #define NUM_VDPAU_BUFFERS in
 libs/libmythtv/videoout_vdpau.cpp to a higher number.

  2. in the video playback profiles add a filter called vdpaubuffersize=n
 where n is the number of buffers.

 Also, I believe it is planned to add more intelligent/automatic buffer
 allocation in the future, but for now you will just need to find what
 works best for your videos.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7405#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list