Opened 14 years ago
Closed 14 years ago
#8559 closed defect (duplicate)
.asoundrc plugins work for some video files and not other with the internal player
Reported by: | Owned by: | JYA | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Audio Output | Version: | 0.23-fixes |
Severity: | low | Keywords: | alsa .asoundrc volume leveling |
Cc: | Ticket locked: | no |
Description
Hello,
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).
I have been using the .asoundrc ladspa plugin solution for volume leveling (like in the first post here: http://www.gossamer-threads.com/lists/mythtv/mythtvnz/422662 ) for about 1 year and never noticed this type of problem with the sound.
When I look at the frontend logfile it shows:
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 AudioOutput Error: Unable to set buffer time 400000 for playback: Invalid argument 2010-06-13 14:03:16.780 AudioOutput Error: Unable to set ALSA parameters 2010-06-13 14:03:16.781 NVP(0): Disabling Audio, reason is: Unable to set ALSA parameters
Also, another different video (this time in mythvideo) shows the same problem:
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 AudioOutput Error: Unable to set buffer time 400000 for playback: Invalid argument 2010-06-13 14:10:26.326 AudioOutput Error: Unable to set ALSA parameters 2010-06-13 14:10:26.327 NVP(1): Disabling Audio, reason is: Unable to set ALSA parameters
My .asoundrc is:
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 ] } } ] }
My system is mythbuntu 10.04 LTS
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:
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
Please help.
Thanks, Bob
related to #8267