Analog output device for toslink?
#1
When I have my settings like this:
Image

I get sound when watching movies with both DTS, AC3 and "normal" sound.
I only got an toslink to my receiver.

But when I try to watch clips from my Canon IXUS 55 camera, I get this warning:
Image

If I change "audio output device" to "default" I no longer get sound when watching movies with "normal" sound. (no DTS or AC3).

But I also no longer get the failure when watching my clips from the Canon. But still no sound.

What do I have to do, to skip the failure?

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#2
I get that exact same message when trying to listen to a DTS-Audio CD, maybe the problems are related. Hope someone knows something!
Reply
#3
Probably you need to tell ALSA to send the normal sound to the toslink as well (in your .asoundrc)
Reply
#4
Krieg Wrote:Probably you need to tell ALSA to send the normal sound to the toslink as well (in your .asoundrc)

But, isnt it normal sound also in a mp3 or a normal TV rip thats not ac3?

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#5
Maybe the bitrate of the audio from your camera clips is not supported by your receiver.
If that's the case, you should create a .asoundrc to resample the audio:
Code:
pcm.dmixer {
type dmix
   ipc_key 1024
   ipc_key_add_uid false
   ipc_perm 0660
   slave {
      pcm "hw:0,1"
      rate 48000
      channels 2
#     format S32_LE
      period_time 0
      period_size 1024
      buffer_time 0
      buffer_size 4096
   }
}

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


and set the "audio output device" to "default" in XBMC.
Reply
#6
ronie Wrote:Maybe the bitrate of the audio from your camera clips is not supported by your receiver.
If that's the case, you should create a .asoundrc to resample the audio:
Code:
pcm.dmixer {
type dmix
   ipc_key 1024
   ipc_key_add_uid false
   ipc_perm 0660
   slave {
      pcm "hw:0,1"
      rate 48000
      channels 2
#     format S32_LE
      period_time 0
      period_size 1024
      buffer_time 0
      buffer_size 4096
   }
}

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


and set the "audio output device" to "default" in XBMC.

The clip is in:
videostream M-JPEG
audostream PCM (Microsoft) 88.2 Kbps, 11,024 KHz, 1 channel

If I try a "normal" tv-clip its
videostream MPEG-4 (Xvid)
audio stream MPEG Audio (MP3) 115 Kbps, 48,0 KHz, 2 channels

Will your thing do it? Where do I create this file?

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#7
In your home directory.

We do not know if it will work because you are the only one who can try in your system.
Reply
#8
Krieg Wrote:In your home directory.

We do not know if it will work because you are the only one who can try in your system.

That didnt work. Exact same as before. Failure when "default" is iec958 and silent at the clip and the movie with mp3-sound when "default" is default.

I didnt reboot the htpc?

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#9
You need to logout and login again.
Reply
#10
Krieg Wrote:You need to logout and login again.

That worked. With deafault in the settings, and that file did it. AC3, the camera clip and the normal TV clip with mp3 sound works now.

Thanks.

What is it I have done? =)

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#11
soder Wrote:What is it I have done? =)

What I told you in my first message Cool
Reply
#12
Krieg Wrote:What I told you in my first message Cool

But, isnt it strange that the sound from my tv shows that wasnt ac2 or DTS worked? Or was that because I had ICE958 in that setting to? How come it didnt work with the camera clip?

So this option Ive done now, will get me sound in the complete upuntu system?

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#13
soder Wrote:Image

Val Thorens ?
Arctic MC001 + Openelec
Image
Reply
#14
piotr Wrote:Val Thorens ?

Yes. =) Nice work! =)

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#15
soder Wrote:But, isnt it strange that the sound from my tv shows that wasnt ac2 or DTS worked? Or was that because I had ICE958 in that setting to? How come it didnt work with the camera clip?

So this option Ive done now, will get me sound in the complete upuntu system?

/Söder

I do not know the details, I just thought it was the same problem I had in my system, but with HDMI.
Reply

Logout Mark Read Team Forum Stats Members Help
Analog output device for toslink?0