[mythtv-users] M-Audio Revolution 5.1 and FC6 [Working!]

Josh TwoOneSix at thatclothingco.com
Sat Feb 3 22:00:29 UTC 2007


John P Poet wrote:
> On 2/2/07, Josh <TwoOneSix at thatclothingco.com> wrote:
>   
>> John P Poet wrote:
>>     
>>> On 2/2/07, Josh <TwoOneSix at thatclothingco.com> wrote:
>>>
>>>       
>>>> Josh wrote:
>>>>
>>>>         
>>>>> I'm in the process of installing FC6 with a M-Audio Revolution 5.1 sound
>>>>> card. I want to use digital out for my music and DVD... does anyone else
>>>>> currently have this setup running?
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> Just wanted to let everyone know that this setup is currently working
>>>> for me using the DigitalSoundHowTo
>>>> (http://www.mythtv.org/wiki/index.php/DigitalSoundHowTo). I can listen
>>>> to music and movies (in 2 channel) without a problem. I still have one
>>>> issue that I'm hoping someone can help me resolve...
>>>>
>>>> When I enable AC3 and DTS passthrough I get no sound. Here is the output
>>>> of 'mythfrontend -v audio':
>>>> 2007-02-02 19:10:49.482 AFD: Warning, video codec 0xa0fecb0
>>>> id(MPEG2VIDEO) type (Video) already open.
>>>> 2007-02-02 19:10:49.554 AFD: Warning, audio codec 0xb5f6d90 id(AC3) type
>>>> (Audio) already open, leaving it alone.
>>>> 2007-02-02 19:10:49.554 AFD: Audio Track #1 is A/V stream #1 and has 6
>>>> channels in the Unknown language(0).
>>>> 2007-02-02 19:10:49.554 AFD: Warning, audio codec 0xb7df5d0 id(AC3) type
>>>> (Audio) already open, leaving it alone.
>>>> 2007-02-02 19:10:49.554 AFD: Audio Track #2 is A/V stream #2 and has 2
>>>> channels in the Unknown language(0).
>>>> 2007-02-02 19:10:49.554 AFD: Warning, audio codec 0xb6c5450 id(AC3) type
>>>> (Audio) already open, leaving it alone.
>>>> 2007-02-02 19:10:49.554 AFD: Audio Track #3 is A/V stream #3 and has 2
>>>> channels in the Unknown language(0).
>>>> 2007-02-02 19:10:49.554 AFD: Warning, audio codec 0xa749050 id(AC3) type
>>>> (Audio) already open, leaving it alone.
>>>> 2007-02-02 19:10:49.555 AFD: Audio Track #4 is A/V stream #4 and has 2
>>>> channels in the Unknown language(0).
>>>> 2007-02-02 19:10:49.555 AFD: Warning, audio codec 0xb9bcfb0 id(DTS) type
>>>> (Audio) already open, leaving it alone.
>>>>
>>>> I am set to:
>>>> Audio output device: ALSA:digital
>>>> Passthrough device: ALSA:digital
>>>> I'm using the /etc/asound.conf from the DSHT on the Wiki. It should also
>>>> be noted that I can't get ANY sound to work in either mplayer or xine,
>>>> but I think that mostly from lack of effort since Myth is so close to
>>>> working the way I want.
>>>>
>>>> --
>>>> Josh
>>>>
>>>>
>>>>         
>>> I have a M-Audio Delta 410.  To get the S/PDIF on it working, I had to add:
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> pcm.ice_spdif {
>>>     type plug
>>>     ttable.0.8 1 # S/PDIF left...Delta 9
>>>     ttable.1.9 1 # S/PDIF right...Delta 10
>>>     slave.pcm ice1712
>>> }
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> To my /etc/asound.conf (or ~/.asoundrc) file.
>>>
>>> Then, in myth, use ALSA:ice_spdif
>>>
>>> My /usr/local/etc/mplayer/mplayer.conf has
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> ao="alsa:device=ice_spdif"
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> You can also do something like this:
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> pcm.!default {
>>>   type plug
>>>   slave.pcm ice_spdif
>>> }
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> at the top of your /etc/asound.conf file.
>>>
>>> Hope that helps.
>>>
>>> John
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>
>>>
>>>
>>>
>>>       
>> You da man! What I have now is this... To my /etc/asound.conf I added:
>>
>> pcm.ice_spdif {
>>     type plug
>>     ttable.0.8 1
>>     ttable.1.9 1
>> *    slave.pcm digital*
>> }
>>
>> And I also dropped that ao line in my mplayer.conf file and now mplayer
>> acts like it's playing the audio fine although it doesn't actually
>> output audio to my speakers. Then, in my MythTV terminal using
>> "mythfrontend -v audio" is throws 1/2 a million "waiting for space on
>> soundcard" messages when watching a DVD which are similar to the
>> messages it logs when I can actually hear sound on 2 channels... so I
>> think that you have me pointed in the right direction, but could those
>> ttable lines be different for my Revolution 5.1 card? Do you happen to
>> know where I might be able to research that so I can play with them on
>> my card?
>>     
>
> Sorry, I left out a bit:
>
>
> pcm.ice1712 {
>    type hw
>    card 0
> }
>
> ctl.ice1712 {
>    type hw
>    card 0
> }
>
> pcm.ice_spdif {
>     type plug
>     ttable.0.8 1 # S/PDIF left...Delta 9
>     ttable.1.9 1 # S/PDIF right...Delta 10
>     slave.pcm ice1712
> }
>
>
> A google for "ttable.0.8 revolution", turned up this:
>
> http://www.alsa-project.org/alsa-doc/doc-php/notes-full.php
>
> Which may help you.
>
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
>   
I posted this to the ALSA-User list, but I'll post here too cause if 
it's true I have to get another card and start from scratch, again.

Here is the message I'm getting from mplayer when attempting to listen 
to an ac3 encoded track:
=========================
$mplayer -ao alsa -ac hwac3 -tsprog 3 <song name here>
MPlayer dev-SVN-rUNKNOWN-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Creating config file: /mythtv/.mplayer/config
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not open config files /mythtv/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing bjorn_lynne-secret_world_(surround_version).ac3.
libavformat file format detected.
==========================================================================
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 448000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
[AO_ALSA] Format ac3 is not supported by hardware, trying default.
[AO_ALSA] Unable to set format: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
=========================

Does this REALLY mean that the M-Audio Revolution 5.1 doesn't support 
AC3 audio out?!

-- 
Josh




More information about the mythtv-users mailing list