[mythtv-users] spdif problem

Udo van den Heuvel udovdh at xs4all.nl
Sun Mar 22 15:44:33 UTC 2009


Hello,

Oh, I forgot:
This using this software:
# mythfrontend --version
Please include all output in bug reports.
MythTV Version   : exported
MythTV Branch    : branches/release-0-21-fixes
Library API      : 0.21.20080304-1
Network Protocol : 40
Options compiled in:
  linux release using_alsa using_backend using_dbox2 using_dvb 
using_frontend using_hdhomerun using_iptv using_ivtv using_joystick_menu 
using_lirc using_v4l using_x11 using_xrandr using_xv using_xvmc 
using_xvmcw using_xvmc_vld using_bindings_perl using_bindings_python 
using_opengl using_ffmpeg_threads using_live

Svn 20207.

When I use ALSA:iec958 in mythfrontend it says it cannot find 
cards.pcm.iec958 but aplay -Dcards.pcm.iec958 works fine.
So what is the cause of this problem?



Udo van den Heuvel wrote:
> 'Suddenly' Mythtv balks about my spdif when starting playback of a 
> recording:
> 
> Opening ALSA audio device 'spdif'.
> ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
> 2009-03-22 16:13:36.815 AudioOutput Error: snd_pcm_open(spdif): No such 
> file or directory
> 
> I am using this asound.conf, taken from 
> http://mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF 
> and set up MythTV using that howto:
> 
> pcm.!default {
>  type plug
>   slave {
>     pcm "spdif"
>     rate 48000
>     format S16_LE
>  }
> }
> 
> And aplay on the commandline works well:
> [root at recorder ~]# aplay -Dspdif /home/udo/xine-out.wav
> Playing WAVE '/home/udo/xine-out.wav' : Signed 16 bit Little Endian, 
> Rate 48000 Hz, Stereo
> ^CAborted by signal Interrupt...
> [root at recorder ~]# aplay -Diec958 /home/udo/xine-out.wav
> Playing WAVE '/home/udo/xine-out.wav' : Signed 16 bit Little Endian, 
> Rate 48000 Hz, Stereo
> ^CAborted by signal Interrupt...
> [root at recorder ~]# aplay  /home/udo/xine-out.wav
> Playing WAVE '/home/udo/xine-out.wav' : Signed 16 bit Little Endian, 
> Rate 48000 Hz, Stereo
> ^CAborted by signal Interrupt...
> 
> Mythfrontend can't comprehend anymore and errors:
> 
> 2009-03-22 16:13:36.727 Opening audio device 'spdif'. ch 2(2) sr 48000
> 2009-03-22 16:13:36.731 Opening ALSA audio device 'spdif'.
> ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
> 2009-03-22 16:13:36.815 AudioOutput Error: snd_pcm_open(spdif): No such 
> file or directory
> 2009-03-22 16:13:36.815 NVP: Disabling Audio, reason is: 
> snd_pcm_open(spdif): No such file or directory
> 
> Then I tried the ALSA:digital that I can choose in the setup, but this 
> gives a similar error.
> So what must be wrong?
> Anybody?
> 
> This is on VIA Epia EN12000.
> 
> Kind regards,
> Udo
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 




More information about the mythtv-users mailing list