I posted a ticket regarding this issue at <a href="http://svn.mythtv.org/trac/ticket/8559">http://svn.mythtv.org/trac/ticket/8559</a> , but thought someone on this list might have run into a similar problem.
<div><br></div><div>After recently upgrading to mythbuntu 10.04, I noticed that some files
have no sound while other behave as expected (i.e. the sound is nicely
leveled / normalized).</div><div>
<p>
I have been using the .asoundrc ladspa plugin solution for volume
leveling (like in the first post here: <a class="ext-link" href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/422662">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/422662</a>
) for about 1 year and never noticed this type of problem with the
sound.
</p>
<p>
When I look at the frontend logfile it shows: </p><p></p><pre class="wiki">2010-06-13 14:03:16.312 TV: Attempting to change from None to WatchingPreRecorded
2010-06-13 14:03:16.421 AFD: codec AAC has 2 channels
2010-06-13 14:03:16.421 AFD: Opened codec 0x9b02610, id(AAC) type(Audio)
2010-06-13 14:03:16.425 AFD: Opened codec 0x9b013f0, id(H264) type(Video)
2010-06-13 14:03:16.743 Opening audio device 'ladcomp'. ch 2(2) sr 44100 (reenc 0)
2010-06-13 14:03:16.744 Opening ALSA audio device 'ladcomp'.
2010-06-13 14:03:16.780 <b>AudioOutput Error: Unable to set buffer time 400000 for playback: Invalid argument</b>
2010-06-13 14:03:16.780 <b>AudioOutput Error: Unable to set ALSA parameters</b>
2010-06-13 14:03:16.781 <b>NVP(0): Disabling Audio, reason is: Unable to set ALSA parameters</b>
</pre><pre class="wiki"><span class="Apple-style-span" style="font-family: arial; white-space: normal; ">Also, another different video (this time in mythvideo) shows the same
problem: </span></pre><pre class="wiki"><span class="Apple-style-span" style="font-family: arial; white-space: normal; "><pre class="wiki">2010-06-13 14:10:24.317 TV: Attempting to change from None to WatchingVideo
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
2010-06-13 14:10:25.819 VDPAU Error: Error at mythrender_vdpau.cpp:1478 (#1, Unknown)
2010-06-13 14:10:25.819 VDPAU Error: Failed to create VDPAU device.
2010-06-13 14:10:25.819 VDPAU Error: No VDPAU device
2010-06-13 14:10:25.819 VDPAU: Failed to create dummy device.
2010-06-13 14:10:25.859 AFD: Opened codec 0xae5670a0, id(MPEG4) type(Video)
2010-06-13 14:10:25.859 AFD: codec MP3 has 2 channels
2010-06-13 14:10:25.859 AFD: Opened codec 0xae567890, id(MP3) type(Audio)
2010-06-13 14:10:26.283 Opening audio device 'ladcomp'. ch 2(2) sr 44100 (reenc 0)
2010-06-13 14:10:26.284 Opening ALSA audio device 'ladcomp'.
2010-06-13 14:10:26.326 <b>AudioOutput Error: Unable to set buffer time 400000 for playback: Invalid argument</b>
2010-06-13 14:10:26.326 <b>AudioOutput Error: Unable to set ALSA parameters</b>
2010-06-13 14:10:26.327 <b>NVP(1): Disabling Audio, reason is: Unable to set ALSA parameters</b>
</pre></span></pre><pre class="wiki"><span class="Apple-style-span" style="font-family: arial; white-space: normal; ">The files play fine (audio level issues aside) if I use mythtv setup screen (Utilities/Setup->Setup->General->Audio System) to configure the audio output device as "alsa:default" instead of "alsa:ladcomp" (using the compressor/limiter). </span></pre>
<pre class="wiki"><span class="Apple-style-span" style="font-family: arial; white-space: normal; "><p> My .asoundrc is:
</p>
<pre class="wiki"> pcm.ladcomp {
type plug
slave.pcm "ladcomp_compressor";
}
pcm.ladcomp_compressor {
type ladspa
slave.pcm "ladcomp_limiter";
path "/usr/lib/ladspa";
plugins [
{
label dysonCompress
input {
#peak limit, release time, fast ratio, ratio
controls [0 1 0.5 0.99]
}
}
]
}
pcm.ladcomp_limiter {
type ladspa
slave.pcm "plughw:0,0";
path "/usr/lib/ladspa";
plugins [
{
label fastLookaheadLimiter
input {
#InputGain(Db) -20 -> +20 ; Limit (db) -20 -> 0 ; Release time (s) 0.01 -> 2
controls [ 20 0 0.8 ]
}
}
]
}
</pre></span></pre><pre class="wiki"><span class="Apple-style-span" style="font-family: arial; white-space: normal; "><p> My system is mythbuntu 10.04 LTS
</p>
<p>
MythTV Version : 25073
MythTV Branch : branches/release-0-23-fixes
Network Protocol : 56
Library API : 0.23.20100429-1
QT Version : 4.6.2
Options compiled in:
</p>
<blockquote>
<p>
linux debug using_oss using_alsa using_pulse using_jack
using_pulseoutput using_backend using_dvb using_firewire using_frontend
using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv
using_ivtv using_joystick_menu using_libudev using_lirc using_mheg
using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11
using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw
using_bindings_perl using_bindings_python using_opengl using_vdpau
using_ffmpeg_threads using_libavc_5_3 using_live using_mheg
</p>
</blockquote>
<p>
If you have any ideas how to fix this, please let me know.
</p>
<p>
Thanks,
Bob </p></span></pre><pre class="wiki"><span class="Apple-style-span" style="font-family: arial; white-space: normal; "><br></span></pre><p></p></div>