aac 5.1 movies on frodo: no dolby surround on SPDIF via optic cable. Only 2.0 stereo
#16
(2014-04-16, 13:18)dana77 Wrote: if is there something i can do ( i have root access to the machine ) and IF is not too difficult please tell me and i will try
i am be albe EVEN to use nano editor via ssh!!!! big things
Wink

You can start from this wonderful tutorial, as I did
http://youresuchageek.blogspot.fr/2012/0...linux.html
Read carefully about the new way for audio configuration.

I'm using another motherboard than yours, but what changes is only the number of the audio devices.
Reply
#17
when i do
aplay -L i have
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=NVidia
    HDA NVidia, ALC889A Analog
    Default Audio Device
sysdefault:CARD=NVidia
    HDA NVidia, ALC889A Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
dmix:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    Direct sample mixing device
dmix:CARD=NVidia,DEV=1
    HDA NVidia, ALC889A Digital
    Direct sample mixing device
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=1
    HDA NVidia, ALC889A Digital
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=1
    HDA NVidia, ALC889A Digital
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=1
    HDA NVidia, ALC889A Digital
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions

and here is my

.asoundrc
Code:
pcm.!default {
        type plug
        slave {
                pcm "both"
        }
}

pcm.both {
        type route
        slave {
                pcm multi
                channels 6
        }
        ttable.0.0 1.0
        ttable.1.1 1.0
        ttable.0.2 1.0
        ttable.1.3 1.0
        ttable.0.4 1.0
        ttable.1.5 1.0
}

pcm.multi {
        type multi
        slaves.a {
                pcm "hdmi_hw"
                channels 2
        }
        slaves.b {
                pcm "digital_hw"
                channels 2
        }
        slaves.c {
                pcm "analog_hw"
                channels 2
        }
        bindings.0.slave a
        bindings.0.channel 0
        bindings.1.slave a
        bindings.1.channel 1
        bindings.2.slave b
        bindings.2.channel 0
        bindings.3.slave b
        bindings.3.channel 1
        bindings.4.slave c
        bindings.4.channel 0
        bindings.5.slave c
        bindings.5.channel 1
}

pcm.hdmi_hw {
        type hw
        card 0
        device 3
        channels 2
}

pcm.hdmi_formatted {
        type plug
        slave {
                pcm hdmi_hw
                rate 48000
                channels 2
        }
}

pcm.hdmi_complete {
        type softvol
        slave.pcm hdmi_formatted
        control.name hdmi_volume
        control.card 0
}

pcm.digital_hw {
        type hw
        card 0
        device 1
        channels 2
}

pcm.analog_hw {
        type hw
        card 0
        device 0
        channels 2
}
Reply
#18
try without that .asoundrc
Reply
#19
I gonna post mine when I have access to my HTPC.

Tu continua a provare.
Reply
#20
No! - all wrong. You use a spdif out, that can only do 2 channels, whatever you will try it won't get more. You need "virtual formats", e.g. AC3 or DTS. In the AAC case, you need an xbmc version that can decode 6 channels and reencode them via AC3 to this virtual format.

You only have the two options I posted.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#21
This is my .asoundrc
Code:
pcm.dmixer {
   type dmix
   ipc_key 1024
   slave {
      pcm "hw:1,1"               #HDMI, defaults to 48000 kHz
      period_time 0
      period_size 1024
      buffer_size 8192
      rate 48000
   }
   bindings {
    0 0
    1 1
   }
}

pcm.!default {
   type plug
   slave.pcm "dmixer"
}

And this is aplay -L
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
dmixer
default
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
dmix:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct sample snooping device
hw:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Hardware device with all software conversions
sysdefault:CARD=Generic
    HD-Audio Generic, ALC887-VD Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Front speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Direct sample mixing device
dmix:CARD=Generic,DEV=1
    HD-Audio Generic, ALC887-VD Digital
    Direct sample mixing device
dsnoop:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Direct sample snooping device
dsnoop:CARD=Generic,DEV=1
    HD-Audio Generic, ALC887-VD Digital
    Direct sample snooping device
hw:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Direct hardware device without any conversions
hw:CARD=Generic,DEV=1
    HD-Audio Generic, ALC887-VD Digital
    Direct hardware device without any conversions
plughw:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Hardware device with all software conversions
plughw:CARD=Generic,DEV=1
    HD-Audio Generic, ALC887-VD Digital
    Hardware device with all software conversions
Reply
#22
I think you should have a look at the printout from aplay -l (rather than aplay -L)
on my HTPC I get
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

here you can see that
card 0, device 3 (plughw:0,3) is the HDMI output
card 1, device 0 (plughw:1,0) is the analog output
card 1, device 1 (plughw:1,1) is the digital output SPDIF
Reply
#23
tryed to change .asoundrc, nothing happens.
Still stereo output with aac 5.1
any alternative solution?
Thanks
Reply
#24
(2014-04-17, 11:25)dana77 Wrote: tryed to change .asoundrc, nothing happens.
Still stereo output with aac 5.1
any alternative solution?
Thanks

May you post a picture showing your xbmc audio configuration?
Reply
#25
is in the first post of tthi 3d
Reply
#26
(2014-04-17, 11:25)dana77 Wrote: tryed to change .asoundrc, nothing happens.
Still stereo output with aac 5.1
any alternative solution?
Thanks

fritsch has already tried explaining to you multiple times that you can't send aac 5.1 over SPDIF without first transcoding to Dolby Digital, this is not possible with Frodo.

Simply put, what you are trying to do is impossible with Frodo and can only be done with Gotham.
Reply
#27
ok. Got it.
So i have to upgrade to gotham.
It has sense or switch from frodo to gotham is not a good idea cause gotham is still in beta?
second question. Is it difficult to upgrade to gotham? Im a newbie linux girl, but im able to edit a file with nano and i can move in a shell and do some basic commands.
Thanks
Reply
#28
(2014-04-17, 14:08)dana77 Wrote: ok. Got it.
So i have to upgrade to gotham.
It has sense or switch from frodo to gotham is not a good idea cause gotham is still in beta?
second question. Is it difficult to upgrade to gotham? Im a newbie linux girl, but im able to edit a file with nano and i can move in a shell and do some basic commands.
Thanks

Dana,
I see that your setting says that your receiver is not compatible with aac.
What about trying to enable it?
Reply
#29
still done, No changes.
Reply
#30
Let me check my own configuration.

In italiano, in neretto le differenze:
XBMC 12.2
Uscita audio Ottica
Configurazione altoparlanti 5.1
Stereo su tutte le casse NO
Ricevitore compatibile Dolby SI
Ricevitore compatibile DTS SI
Ricevitore Compatibile AAC SI

Il resto è identico.
Reply

Logout Mark Read Team Forum Stats Members Help
aac 5.1 movies on frodo: no dolby surround on SPDIF via optic cable. Only 2.0 stereo0