<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" style="font: inherit;"><p>Just a thought.  It seems to be waiting for video buffer space from the video card.  It also seems that your using VDPAU with an NVidia card.  Did you try switching your video playback profile to OpenGL or something other than VDPAU?  If that works correctly then try using a different VDPAU Profile like Slim and see if that helps.  Maybe your video card just isn't keeping up with decoding the video data causing the buffer to fill making the player wait which in turn makes the audio driver mad because the audio buffer is empty.</p>
<p>Because decoding is offloaded to the video card, it can cause the GPU to get pretty hot.  Make sure your video card cooler is working!!!!  An overheating GPU may cause the GPU to slow down in order to protect the GPU Processor.</p>
<p>VDPAU is awesome and I use it with a PCI-e 16x 8500 Series NVidia card without any issues at all.  Also make sure you have the latest version of VDPAU installed and recompile MythTV of course after updating VDPAU.</p>
<p>Just food for thought.</p>
<p>Sent from Yahoo! Mail on Android</p>
</td></tr></table>            <div id="_origMsg_">
                <div style="font-family:arial, helvetica, sans-serif:font-size:10pt">
                    <br />
                    <div style="font-family:times new roman, new york, times, serif;font-size:12pt">
                        <font size="2" face="Tahoma">
                            <hr size="1">
                            <b>
                                <span style="font-weight:bold;">From:</span>
                            </b>
                            Richard &lt;peper03@yahoo.com&gt;;                            <br>
                            <b>
                                <span style="font-weight:bold:">To:</span>
                            </b>
                            Discussion about MythTV &lt;mythtv-users@mythtv.org&gt;;                                                                                                     <br>
                            <b>
                                <span style="font-weight:bold:">Subject:</span>
                            </b>
                            Re: [mythtv-users] Recent DVD problems with video and audio drops                            <br>
                            <b>
                                <span style="font-weight:bold;">Sent:</span>
                            </b>
                            Mon, Jan 21, 2013 8:46:58 PM                            <br>
                            </font>
                            <br>
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tbody>
                                    <tr>
                                        <td valign="top" style="font:inherit;">On 21/01/13 00:30, Neil Salstrom wrote:<BR>&gt; On Sat, Jan 19, 2013 at 4:48 AM, Richard &lt;<a ymailto="mailto:peper03@yahoo.com" href="javascript:return">peper03@yahoo.com</a>&gt; wrote:<BR>&gt; <BR>&gt;&gt; A DVD can either be 29.97 or 25 fps depending on whether it's NTSC or PAL.<BR>&gt;&gt; If it's an NTSC disc and should be played at 24fps (or 23.96 or whatever the<BR>&gt;&gt; actual value is) it performs a pull-down.&nbsp; To be honest, I have very little<BR>&gt;&gt; experience with this and nearly all my DVDs are PAL.<BR>&gt;&gt; I just tried one of the region 1 DVDs I have and that reported ~23.97fps<BR>&gt;&gt; too.&nbsp; Also there are chunks of your logs where there is apparently no<BR>&gt;&gt; playback problem and it's still reporting around the same frame rate.<BR>&gt;&gt; <BR>&gt;&gt; The frame rate shown is more the actual framerate rather than the
 intended<BR>&gt;&gt; framerate, which is why it sometimes jumps around a bit when you get<BR>&gt;&gt; playback issues.<BR>&gt; <BR>&gt; Ahh...&nbsp; I think I'm beginning to understand.&nbsp; Sorry for the beginner<BR>&gt; questions from me.&nbsp; The original film was 24fps (well, 23.96).&nbsp; The<BR>&gt; movie on the disk is 29.97fsp but pulldown occurs to bring it back to<BR>&gt; the native 23.96?&nbsp; Is this being done via a VDPAU deinterlace<BR>&gt; function?<BR><BR>Yes (although I haven't looked in detail at where it's done).<BR><BR>&gt; I had a brief moment of inspiration and decided to start mythtv via a<BR>&gt; terminal window on my laptop.&nbsp; I did "export DISPLAY=:0" then I was<BR>&gt; able to start mythtv on my HTPC and watch the resulting log messages<BR>&gt; as they occurred.&nbsp; I've been watching after starting the frontend with<BR>&gt; -v playback,timestamp --loglevel=debug but that puts out a HUGE amount<BR>&gt; of data.&nbsp;
 I've managed to pause right after a series of judders but I<BR>&gt; can't make much of the logs.<BR><BR>Join the club! :(<BR><BR>&gt; There is audio dropout as well during these stutters.&nbsp; My receiver<BR>&gt; gives a little click when an audio source is cut off or changed and I<BR>&gt; get a rapid series of clicks when this happens.<BR>&gt; <BR>&gt; One thing I do see occasionally is:<BR>&gt; <BR>&gt; 2013-01-20 15:12:41.739847 I&nbsp; VidOutVDPAU: Frame E is in use by avlib<BR>&gt; and so is being held for later discarding.<BR>&gt; 2013-01-20 15:12:41.776279 I&nbsp; VidOutVDPAU: Frame E is in use by avlib<BR>&gt; and so is being held for later discarding.<BR>&gt; 2013-01-20 15:12:41.812685 I&nbsp; VidOutVDPAU: Frame E is in use by avlib<BR>&gt; and so is being held for later discarding.<BR><BR>This comes when a frame hasn't been released.&nbsp; I'm afraid I'm not sure of the exact details.<BR><BR>&gt; 2013-01-20 15:23:34.419615 I&nbsp; ALSA:
 WriteAudio: buffer underrun<BR>&gt; 2013-01-20 15:23:34.429152 I&nbsp; Player(0): Waiting for video buffers...<BR>&gt; 2013-01-20 15:23:34.494282 I&nbsp; Player(0): Waiting for video buffers...<BR>&gt; 2013-01-20 15:23:34.632919 I&nbsp; Player(0): Waiting for video buffers...<BR>&gt; 2013-01-20 15:23:34.693593 I&nbsp; Player(0): Waiting for video buffers...<BR>&gt; 2013-01-20 15:23:34.737113 D&nbsp; DVDRB: DVDNAV_NAV_PACKET<BR>&gt; 2013-01-20 15:23:34.739825 I&nbsp; ALSA: WriteAudio: buffer underrun<BR>&gt; <BR>&gt; Are the alsa buffer underruns involved?&nbsp; If this is the case, why does<BR>&gt; it only happen with the DVD and not a mkv which has the exact same<BR>&gt; audio and video?<BR><BR>I think the underruns are a consequence of the 'Waiting for video buffers' message.&nbsp; The player sleeps for a bit and I think in that time, the audio section runs out of data to play.<BR><BR>To be honest, I'm rapidly reaching the limits of my knowledge (in
 case that isn't apparent!).&nbsp; Studying the code hasn't given me any flashes of inspiration either, unfortunately :(<BR><BR>I got a copy of Inception from my friend, but as I expected, I've not seen the same issues.<BR><BR>I don't know how much the answers will help but I've still got a couple of questions:<BR><BR>1. Does the DVD play ok with other software players (e.g. VLC)?<BR>2. Do the playback issues always occur at the same place, or not at the same place but after X seconds of playback?&nbsp; Or is the position random?<BR>3. Has this issue only surfaced recently?&nbsp; Did the affected DVDs play without problems previously?&nbsp; If only recently, any idea how recently? Is it possible you've changed any hardware or audio/playback settings?<BR><BR>Richard.<BR>_______________________________________________<BR>mythtv-users mailing list<BR><a ymailto="mailto:mythtv-users@mythtv.org" href="javascript:return">mythtv-users@mythtv.org</a><BR><a
 href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target=_blank >http://www.mythtv.org/mailman/listinfo/mythtv-users</a><BR></td>
                                    </tr>
                                </tbody>
                            </table>
                    </div>
                </div>
            </div>