<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>></span>Now that I have
playback audio working on my system, I notice there is terrible audio
quality. This is hard to describe, but it’s “gravely,”
like there are very frequent short drop-outs. This happens not <span
style='color:#1F497D'>></span>only when I play back via Mythtv, but also
when I play the mpeg via the Totem movie player in Gnome.<o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>></span><o:p> </o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>></span>To rule out the
possibility that the capture device (HDPVR) is defective, I copied the mpeg
file onto a windoze machine and played it, and the audio sounds fine. To
rule out some problem with the <span style='color:#1F497D'>></span>audio
hardware on the linux box I played a CD, which also sounds fine.<o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>></span><o:p> </o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>></span>So somehow the
problem only occurs when playing the audio from mpeg files. Mythtv is
configured to use ALSA:front for output (ALSA:default wouldn’t
work). I don’t know if Totem uses that too. <o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>></span><o:p> </o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>></span>I realize this
appears not to be a mythtv-specific problem (I also posted on the fedora list)
but I was wondering if any other mythtv users have had this problem, and if so
how they fixed it.<o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Well I checked the frontend log
and found additional information (below). This explains the intermittent
dropouts of audio. BTW the subject should have been “graveley”
(though the situation is grave). Other posts describe this sound as “crackely”
or “stuttering.”<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Checking some other posts/wiki
entries suggested that pulse audio might be the problem but when I uninstalled
alsa-plugins-pulseaudio the audio quit altogether, so I reinstalled it. <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Tried “aggressive buffering”
option. No help so I turned it off.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Not sure where to go from here.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Steve<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:02.861 TV: Attempting to change
from None to Watching WatchingPreRecorded<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:02.921 TV: StartPlayer(0, Watching
WatchingPreRecorded, main) -- begin<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.241 AFD: Opened codec 0x3223cc0,
id(H264) type(Video)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.242 AFD: codec AAC has 2
channels<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.242 AFD: Opened codec 0x32244b0,
id(AAC) type(Audio)<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.243 Opening audio device
'front'. ch 2(2) sr 48000<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.244 Opening ALSA audio device
'front'.<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.324 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.324 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.324 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.324 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.325 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.325 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.325 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.325 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.325 Mixer unable to find control
PCM<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:03.940 OSD Theme Dimensions W: 1280
H: 720<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:04.694 TV: StartPlayer(0, Watching
WatchingPreRecorded, main) -- end ok<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:04.695 TV: Changing from None to
Watching WatchingPreRecorded<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:04.695 New DB connection, total: 3<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:04.698 Connected to database
'mythconverg' at host: mythtv<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:04.700 Realtime priority would
require SUID as root.<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:04.701 Video timing method: USleep
with busy wait<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:04.719 ScreenSaverX11Private: DPMS
Deactivated 1<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:05.014 WriteAudio: buffer underrun<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.391 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.419 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.456 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.476 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.528 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.568 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.605 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.647 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.698 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.733 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>2010-01-22 17:22:06.772 NVP(0): prebuffering pause<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>[continues like this till I
escape playback]<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
</div>
</body>
</html>