[mythtv-users] 0.24 with digital audio

Jean-Yves Avenard jyavenard at gmail.com
Thu Dec 22 01:17:59 UTC 2011


On 22 December 2011 01:53, Richard Morton <richard.e.morton at gmail.com> wrote:
> sent directly cause mythlist bounced it due to size.
> R
>
> Thanks And Regards,

According to those logs, this is what you should be using:
ALSA:iec958:CARD=Intel,DEV=0

However,
according to ALSA, that device can do:
2011-12-21 14:44:13.840 AO: Sample rate 44100 is supported
2011-12-21 14:44:13.840 AO: Sample rate 48000 is supported
2011-12-21 14:44:13.840 AO: Sample rate 96000 is supported
2011-12-21 14:44:13.840 AO: Sample rate 192000 is supported

and 16, 24 and 32 bits audio.

Which is certainly not possible with SPDIF.


>
>
> trying playback with mythmusic log
>
> mythfrontend.real -v audio
> 2011-12-21 14:44:06.016 mythfrontend version: fixes/0.24
> [v0.24.1-112-g40f3bae] www.mythtv.org
> 2011-12-21 14:44:06.016 Using runtime prefix = /usr
> 2011-12-21 14:44:06.016 Using configuration directory = /home/myth/.mythtv
> 2011-12-21 14:44:06.017 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
> 2011-12-21 14:44:06.604 Empty LocalHostName.
> 2011-12-21 14:44:06.604 Using localhost value of myth-server
> 2011-12-21 14:44:06.611 New DB connection, total: 1
> 2011-12-21 14:44:06.614 Connected to database 'mythconverg' at host:
> localhost
> 2011-12-21 14:44:06.617 Closing DB connection named 'DBManager0'
> 2011-12-21 14:44:06.618 Connected to database 'mythconverg' at host:
> localhost
> 2011-12-21 14:44:06.620 Current locale EN_US
> 2011-12-21 14:44:06.620 Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> 2011-12-21 14:44:06.830 ScreenSaverX11Private: XScreenSaver support enabled
> 2011-12-21 14:44:06.831 DPMS is active.
> 2011-12-21 14:44:06.865 Desktop video mode: 1920x1080 60.000 Hz
> 2011-12-21 14:44:06.888 Enabled verbose msgs:  important general audio
> 2011-12-21 14:44:06.918 Connecting to lcd server: 127.0.0.1:6545 (try 1 of
> 10)
> 2011-12-21 14:44:06.920 New DB connection, total: 2
> 2011-12-21 14:44:06.921 Loading en_gb translation for module mythfrontend
> 2011-12-21 14:44:06.921 Connected to database 'mythconverg' at host:
> localhost
> 2011-12-21 14:44:06.926 LIRC, Error: Failed to read config file
> '/home/myth/.lircrc'
> 2011-12-21 14:44:06.926 JoystickMenuThread: Joystick disabled - Failed to
> read /home/myth/.mythtv/joystickmenurc
> 2011-12-21 14:44:06.951 Using Frameless Window
> 2011-12-21 14:44:06.951 Using Full Screen Window
> 2011-12-21 14:44:07.059 Using the OpenGL painter
> 2011-12-21 14:44:07.159 OpenGL: OpenGL vendor  : NVIDIA Corporation
> 2011-12-21 14:44:07.159 OpenGL: OpenGL renderer: GeForce GT 430/PCI/SSE2
> 2011-12-21 14:44:07.159 OpenGL: OpenGL version : 4.1.0 NVIDIA 270.41.06
> 2011-12-21 14:44:07.159 OpenGL: Max texture size: 16384 x 16384
> 2011-12-21 14:44:07.159 OpenGL: Max texture units: 4
> 2011-12-21 14:44:07.159 OpenGL: Direct rendering: Yes
> 2011-12-21 14:44:07.159 OpenGL: Initialised MythRenderOpenGL
> 2011-12-21 14:44:07.683 Current MythTV Schema Version (DBSchemaVer): 1264
> 2011-12-21 14:44:08.313 ThemeInfo, Warning: Unable to open themeinfo.xml for
> /usr/share/mythtv/themes/BlackCurves-OSD/themeinfo.xml
> 2011-12-21 14:44:08.313 ThemeInfo, Error: The theme
> (/usr/share/mythtv/themes/BlackCurves-OSD) is missing a themeinfo.xml file.
> 2011-12-21 14:44:08.314 ThemeInfo, Warning: Unable to open themeinfo.xml for
> /usr/share/mythtv/themes/Gray-OSD/themeinfo.xml
> 2011-12-21 14:44:08.314 ThemeInfo, Error: The theme
> (/usr/share/mythtv/themes/Gray-OSD) is missing a themeinfo.xml file.
> 2011-12-21 14:44:08.431 Pulse: PulseAudio not running
> 2011-12-21 14:44:08.438 AO: Sample rate 44100 is supported
> 2011-12-21 14:44:08.438 AO: Sample rate 48000 is supported
> 2011-12-21 14:44:08.438 AO: Sample rate 96000 is supported
> 2011-12-21 14:44:08.439 AO: Sample rate 192000 is supported
> 2011-12-21 14:44:08.439 AO: Format signed 16 bit is supported
> 2011-12-21 14:44:08.439 AO: Format signed 24 bit MSB is supported
> 2011-12-21 14:44:08.439 AO: Format signed 32 bit is supported
> 2011-12-21 14:44:08.439 AO: 2 channel(s) are supported
> 2011-12-21 14:44:08.439 AO: 4 channel(s) are supported
> 2011-12-21 14:44:08.439 AO: 6 channel(s) are supported
> 2011-12-21 14:44:08.471 AO: Killing AudioOutputDSP
> 2011-12-21 14:44:08.471 Found ALSA:hw:CARD=Intel (ALSA:hw:CARD=Intel
> Device supports up to 5.1 (AC3,DTS,multi-channels LPCM))
> 2011-12-21 14:44:08.554 Registering Internal as a media playback plugin.
> 2011-12-21 14:44:08.559 Registering WebBrowser as a media playback plugin.
> 2011-12-21 14:44:08.559 Loading en_gb translation for module mythbrowser
> 2011-12-21 14:44:08.585 MediaMonitorUnix::AddDevice() - empty device path.
> 2011-12-21 14:44:08.585 MediaMonitorUnix::AddDevice() - empty device path.
> 2011-12-21 14:44:08.585 MediaMonitorUnix::AddDevice() - empty device path.
> 2011-12-21 14:44:08.587 MediaMonitorUnix::AddDevice() - empty device path.
> 2011-12-21 14:44:08.587 MediaMonitorUnix::AddDevice() - empty device path.
> 2011-12-21 14:44:08.588 MediaMonitorUnix::AddDevice() - empty device path.
> 2011-12-21 14:44:08.588 MonitorRegisterExtensions(0x100, gif,jpg,png)
> 2011-12-21 14:44:08.588 Loading en_gb translation for module mythgallery
> 2011-12-21 14:44:08.596 Loading en_gb translation for module mythgame
> 2011-12-21 14:44:08.613 Current MythMusic Schema Version (MusicDBSchemaVer):
> 1017
> 2011-12-21 14:44:08.639 MonitorRegisterExtensions(0x40,
> mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
> 2011-12-21 14:44:08.642 Loading en_gb translation for module mythmusic
> 2011-12-21 14:44:08.645 Loading en_gb translation for module mythnetvision
> 2011-12-21 14:44:08.649 Current MythVideo Schema Version
> (mythvideo.DBSchemaVer): 1038
> 2011-12-21 14:44:08.663 Loading en_gb translation for module mythvideo
> 2011-12-21 14:44:08.669 Loading en_gb translation for module mythweather
> 2011-12-21 14:44:08.671 NetworkControl: Listening for remote connections on
> port 6546
> 2011-12-21 14:44:08.768 Found mainmenu.xml for theme 'Arclight'
> 2011-12-21 14:44:09.218 MythCoreContext: Connecting to backend
> server: 192.168.0.2:6543 (try 1 of 1)
> 2011-12-21 14:44:09.218 Using protocol version 63
> 2011-12-21 14:44:12.901 New DB connection, total: 3
> 2011-12-21 14:44:12.901 Connected to database 'mythconverg' at host:
> localhost
> 2011-12-21 14:44:13.105 XMLParse: LoadTheme using
> '/home/myth/.mythtv/themes/Arclight/music-ui.xml'
> 2011-12-21 14:44:13.139 MythUIHelper, Error:
> LoadScalePixmap(/home/myth/.mythtv/themes/Arclight/trans-background.png)Unable
> to find image file
> 2011-12-21 14:44:13.139 UIImageType::LoadImage() - Cannot find image:
> trans-background.png
> 2011-12-21 14:44:13.139 MythUIHelper, Error:
> LoadScalePixmap(/home/myth/.mythtv/themes/Arclight/trans-titles.png)Unable
> to find image file
> 2011-12-21 14:44:13.139 UIImageType::LoadImage() - Cannot find image:
> trans-titles.png
> 2011-12-21 14:44:13.167 MythUIHelper, Error:
> LoadScalePixmap(/home/myth/.mythtv/themes/Arclight/trans-showings.png)Unable
> to find image file
> 2011-12-21 14:44:13.167 UIImageType::LoadImage() - Cannot find image:
> trans-showings.png
> 2011-12-21 14:44:13.835 Pulse: PulseAudio not running
> 2011-12-21 14:44:13.840 AO: Sample rate 44100 is supported
> 2011-12-21 14:44:13.840 AO: Sample rate 48000 is supported
> 2011-12-21 14:44:13.840 AO: Sample rate 96000 is supported
> 2011-12-21 14:44:13.840 AO: Sample rate 192000 is supported
> 2011-12-21 14:44:13.840 AO: Format signed 16 bit is supported
> 2011-12-21 14:44:13.840 AO: Format signed 24 bit MSB is supported
> 2011-12-21 14:44:13.840 AO: Format signed 32 bit is supported
> 2011-12-21 14:44:13.840 AO: 2 channel(s) are supported
> 2011-12-21 14:44:13.840 AO: 4 channel(s) are supported
> 2011-12-21 14:44:13.840 AO: 6 channel(s) are supported
> 2011-12-21 14:44:13.871 AO: Killing AudioOutputDSP
> 2011-12-21 14:44:13.872 AO: Original codec was NONE, signed 16 bit, 44 kHz,
> 2 channels
> 2011-12-21 14:44:13.872 AO: enc(0), passthru(0), canAC3(1), canDTS(1),
> canLPCM(1), configured_channels(2), 2 channels supported(1)
> 2011-12-21 14:44:13.872 AO: Audio processing enabled
> 2011-12-21 14:44:13.872 AO: Opening audio device 'hw:CARD=Intel' ch 2(2) sr
> 44100 sf signed 32 bit reenc 0
> 2011-12-21 14:44:13.872 ALSA: SetParameters(format=10, channels=2,
> rate=44100, buffer_time=500000, period_time=4)
> 2011-12-21 14:44:13.873 ALSA: Buffer size range from 32 to 524288
> 2011-12-21 14:44:13.873 ALSA: Period size range from 16 to 262144
> 2011-12-21 14:44:13.873 ALSA: Buffer time = 499954 us
> 2011-12-21 14:44:13.873 ALSA: Period time = 2 periods
> 2011-12-21 14:44:13.902 ALSA: Buffer size = 22048 | Period size = 11024
> 2011-12-21 14:44:13.902 AO: Software volume enabled
> 2011-12-21 14:44:13.907 AO: Audio fragment size: 44096
> 2011-12-21 14:44:13.907 AO: Audio Stretch Factor: 1
> 2011-12-21 14:44:13.907 AO: Ending Reconfigure()
> 2011-12-21 14:44:13.908 AO: kickoffOutputAudioLoop: pid = 26675
> 2011-12-21 14:44:13.908 AO: OutputAudioLoop: Play Event
> 2011-12-21 14:44:14.107 ScreenSaverX11Private: DPMS Deactivated 1
> 2011-12-21 14:44:14.117 AO: Pause 1
> 2011-12-21 14:44:14.120 AO: OutputAudioLoop: audio paused

According to the log, there's no reason why you shouldn't hear
anything ; there are no errors either.
when you used "ALSA:hw:CARD=Intel", which isn't the card you should use anyway.

Try upgrading ALSA drivers to at least 1.0.23 (1.0.24 if you want to
use the audio from the GT430)

You have also installed some alsa plugins there, not sure why.. try
removing them (clear all your ~/.asoundrc etc /etc/asound.conf files)


More information about the mythtv-users mailing list