View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jan 29, 2008 10:40 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
I am running R5F27 and I have my SPDIF hooked from my Chaintech 710 to my receiver. When I am watching TV or a recording, the audio works REALLY well.

However, when I try to play an .avi video I don't get any sound out of the digital output. I looked around and tried some of the solutions to having mplayer output sound to the SPDIF but nothing seemed to work.

Help/ideas?

I am also looking at changing over from mplayer to VLC, would that help/hurt?

- Rod


Top
 Profile  
 
PostPosted: Wed Jan 30, 2008 5:43 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Try "Internal" as the default video player.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
PostPosted: Wed Jan 30, 2008 6:51 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
raoul wrote:
I am running R5F27 and I have my SPDIF hooked from my Chaintech 710 to my receiver. When I am watching TV or a recording, the audio works REALLY well.

However, when I try to play an .avi video I don't get any sound out of the digital output. I looked around and tried some of the solutions to having mplayer output sound to the SPDIF but nothing seemed to work.

Help/ideas?

I am also looking at changing over from mplayer to VLC, would that help/hurt?

- Rod
I know in Xine you have to set the speaker configuration to "Passthrough" for the digital output to work, perhaps Mplayer has a similar option?


Top
 Profile  
 
PostPosted: Thu Jan 31, 2008 1:07 am 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
manicmike wrote:
Try "Internal" as the default video player.

Mike


Thanks... That appears to work for my videos. Now I have a new problem. :)

When tick the "AC3" and "DTS" passthru boxes my receiver is receiving the digital signal (it appears, my "Multi Channel Decode" light comes on) but there is no sound.

I turn off the passthru and I hear the PCM audio... passthru on and no sound.

Ideas? I would LOVE to hear my movies in AC3 goodness... :)

Rod


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 31, 2008 1:18 am 
that sounds like your ac3 output is muted.

from the command like run alsamixer and check the settings.


Top
  
 
 Post subject:
PostPosted: Thu Jan 31, 2008 8:26 am 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
jbman wrote:
that sounds like your ac3 output is muted.

from the command like run alsamixer and check the settings.


I just did, but I didn't see any AC3 output listed.... ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 31, 2008 8:33 am 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Raoul,
It's most likely labeled ICE958. What's the output of the command:
Code:
aplay -l

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 31, 2008 5:46 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
mihanson wrote:
Raoul,
It's most likely labeled ICE958. What's the output of the command:
Code:
aplay -l


I found the IEC958 in the alsamixer. I used the
Code:
alsamixer -c 1
code to get to the card that the output is located on and it was "muted", I un-muted it and it didn't have an effect. I also unmuted the IEC958 stuff on "card 0" (motherboard) SPDIF as well... no luck.

Here is the output from the
Code:
aplay -l


Code:
**** List of PLAYBACK Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: AV710 [Chaintech AV-710], device 0: ICE1724 [ICE1724]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: AV710 [Chaintech AV-710], device 1: IEC1724 IEC958 [IEC1724 IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 31, 2008 6:05 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
mihanson wrote:
Raoul,
It's most likely labeled ICE958. What's the output of the command:
Code:
aplay -l


Oh, and here is the output from the
Code:
aplay -L


as well:

Code:
PCM list:
hw {
   @args.0 CARD
   @args.1 DEV
   @args.2 SUBDEV
   @args.CARD {
      type string
      default {
         @func getenv
         vars {
            0 ALSA_PCM_CARD
            1 ALSA_CARD
         }
         default {
            @func refer
            name 'defaults.pcm.card'
         }
      }
   }
   @args.DEV {
      type integer
      default {
         @func igetenv
         vars {
            0 ALSA_PCM_DEVICE
         }
         default {
            @func refer
            name 'defaults.pcm.device'
         }
      }
   }
   @args.SUBDEV {
      type integer
      default {
         @func refer
         name 'defaults.pcm.subdevice'
      }
   }
   type hw
   card $CARD
   device $DEV
   subdevice $SUBDEV
}
plughw {
   @args.0 CARD
   @args.1 DEV
   @args.2 SUBDEV
   @args.CARD {
      type string
      default {
         @func getenv
         vars {
            0 ALSA_PCM_CARD
            1 ALSA_CARD
         }
         default {
            @func refer
            name 'defaults.pcm.card'
         }
      }
   }
   @args.DEV {
      type integer
      default {
         @func igetenv
         vars {
            0 ALSA_PCM_DEVICE
         }
         default {
            @func refer
            name 'defaults.pcm.device'
         }
      }
   }
   @args.SUBDEV {
      type integer
      default {
         @func refer
         name 'defaults.pcm.subdevice'
      }
   }
   type plug
   slave.pcm {
      type hw
      card $CARD
      device $DEV
      subdevice $SUBDEV
   }
}
plug {
   @args.0 SLAVE
   @args.SLAVE {
      type string
   }
   type plug
   slave.pcm $SLAVE
}
shm {
   @args.0 SOCKET
   @args.1 PCM
   @args.SOCKET {
      type string
   }
   @args.PCM {
      type string
   }
   type shm
   server $SOCKET
   pcm $PCM
}
tee {
   @args.0 SLAVE
   @args.1 FILE
   @args.2 FORMAT
   @args.SLAVE {
      type string
   }
   @args.FILE {
      type string
   }
   @args.FORMAT {
      type string
      default raw
   }
   type file
   slave.pcm $SLAVE
   file $FILE
   format $FORMAT
}
file {
   @args.0 FILE
   @args.1 FORMAT
   @args.FILE {
      type string
   }
   @args.FORMAT {
      type string
      default raw
   }
   type file
   slave.pcm null
   file $FILE
   format $FORMAT
}
null {
   type null
}
cards 'cards.pcm'
front 'cards.pcm.front'
rear 'cards.pcm.rear'
center_lfe 'cards.pcm.center_lfe'
side 'cards.pcm.side'
surround40 'cards.pcm.surround40'
surround41 'cards.pcm.surround41'
surround50 'cards.pcm.surround50'
surround51 'cards.pcm.surround51'
surround71 'cards.pcm.surround71'
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'
modem 'cards.pcm.modem'
phoneline 'cards.pcm.phoneline'
dmix 'cards.pcm.dmix'
dsnoop 'cards.pcm.dsnoop'
spdifdmix {
   type dmix
   ipc_key 1337
   slave {
      pcm 'hw:0,0'
      format S32_LE
   }
}
default {
   type plug
   slave {
      pcm spdifdmix
   }
}


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 03, 2008 10:53 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
mihanson wrote:
Raoul,
It's most likely labeled ICE958. What's the output of the command:
Code:
aplay -l


Just writing back to see if you saw anything in my aplay outputs that might shine a light on SPDIF issue...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 2:13 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
If I understand the issue, spdif is working for mythtv, but not mplayer.

What device are you using in mythtv? Can you use it directly at the command line with mplayer? For example:
Code:
mplayer -ao ALSA:spdif filename.avi

If that works, check the command line that is being used to call mplayer (somewhere in the mythtv setup). Maybe you just need to add the correct the -ao option.

If that doesn't work, it is probably best to use aplayer for more trial and error. Get an au file (ex. ftp://ftp.kernel.org/pub/linux/kernel/S ... english.au ) and try the following (based on the output above, they all should work):
Code:
aplay -D spdif english.au
   or
aplay -D cards.pcm.iec958 english.au
   or
aplay -D default english.au

If any of those work, use the devicename of ALSA:<whateverworked> in mplayer.

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 6:54 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
alien wrote:
If I understand the issue, spdif is working for mythtv, but not mplayer.


That was one of the issues, but I changed from mplayer to the Internal player and it uses the SPDIF... sort of. If the passthru is OFF I get sound (but the PCM seems to lose the surround sound signals).

If I have a video source, either broadcast HD with AC3 or an avi with a AC3 or DTS, that I tell it to "pass through" the stereo receiver gets the AC3 signal, but there is no volume... really odd. If I turn "pass thru" off and it plays it as a PCM it works, if I pass the AC3 through I get no sound but the stereo receiver says it is getting an AC3 signal.

Quote:
What device are you using in mythtv? Can you use it directly at the command line with mplayer? For example:
Code:
mplayer -ao ALSA:spdif filename.avi

If that works, check the command line that is being used to call mplayer (somewhere in the mythtv setup). Maybe you just need to add the correct the -ao option.
[\quote]

No luck with that... (but I may not have done it correctly)

Quote:
If that doesn't work, it is probably best to use aplayer for more trial and error. Get an au file (ex. ftp://ftp.kernel.org/pub/linux/kernel/S ... english.au ) and try the following (based on the output above, they all should work):
Code:
aplay -D spdif english.au
   or
aplay -D cards.pcm.iec958 english.au
   or
aplay -D default english.au

If any of those work, use the devicename of ALSA:<whateverworked> in mplayer.


The "default" kind of worked, but there is no sound out of the stereo receiver, but mplayer said it was playing the sound...


Do you think there some mute command somewhere I have missed?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 7:31 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
raoul wrote:
alien wrote:
If I understand the issue, spdif is working for mythtv, but not mplayer.


That was one of the issues, but I changed from mplayer to the Internal player and it uses the SPDIF... sort of. If the passthru is OFF I get sound (but the PCM seems to lose the surround sound signals).

If I have a video source, either broadcast HD with AC3 or an avi with a AC3 or DTS, that I tell it to "pass through" the stereo receiver gets the AC3 signal, but there is no volume... really odd. If I turn "pass thru" off and it plays it as a PCM it works, if I pass the AC3 through I get no sound but the stereo receiver says it is getting an AC3 signal.
It sounds like you haven't set your "Passthrough output device" in Setup -> General -> Audio - From your posts I'm not sure which you want, first guess would be
Code:
ALSA:iec958:{ AES1 0x01 }
(for card #1, device #1 - It should be one of the selectable options) See my setup in http://knoppmyth.net/phpBB2/viewtopic.php?t=17755 for example.

You may want to disable the onboard audio to simplify things, assuming that's what
Quote:
card 0: CK804 [NVidia CK804]
is referring to. Doing this may change the selection you want to use for your passthrough device...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 8:13 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
slowtolearn wrote:
It sounds like you haven't set your "Passthrough output device" in Setup -> General -> Audio - From your posts I'm not sure which you want, first guess would be
Code:
ALSA:iec958:{ AES1 0x01 }
(for card #1, device #1 - It should be one of the selectable options) See my setup in http://knoppmyth.net/phpBB2/viewtopic.php?t=17755 for example.

You may want to disable the onboard audio to simplify things, assuming that's what
Quote:
card 0: CK804 [NVidia CK804]
is referring to. Doing this may change the selection you want to use for your passthrough device...


I resetup the cards, and now the system only recognizes and the chaintech 710.

I set the "passthru device" to ALSA:iec958:{ AES0 0x02} (that is the only selectable option now)

With that set as the passthru device and the passthru options selected, I can hear recodings, but when I play something with an AC3 soundtrack I get no sound but the stereo receiver shows it is getting a AC3 3/2 signal...



I should mention that when I type in "alsaconfig" into a shell to try and unmute the iec958 I get an "unrecognized command", however, I can use "alsamixer" which is what I have been using to try and unmute the iec958...

Does that help or muddy the issue(s)?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 8:43 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
raoul wrote:
I resetup the cards, and now the system only recognizes and the chaintech 710.

I set the "passthru device" to ALSA:iec958:{ AES0 0x02} (that is the only selectable option now)

With that set as the passthru device and the passthru options selected, I can hear recodings, but when I play something with an AC3 soundtrack I get no sound but the stereo receiver shows it is getting a AC3 3/2 signal...

I should mention that when I type in "alsaconfig" into a shell to try and unmute the iec958 I get an "unrecognized command", however, I can use "alsamixer" which is what I have been using to try and unmute the iec958...

Does that help or muddy the issue(s)?
I don't know what "alsaconfig" does, are you referring to alsaconf? I should also mention here that I am running on a tweaked R5D1 installation, so my "solution" may no longer apply to newer KM versions.

In the other post I referred to I used alsamixer to unmute ALL of the IEC958 mixers. I don't have the AV-710 so I don't know what IEC958 options you are seeing (and I most likely didn't have to unmute ALL of mine, but it works), but be sure to right-arrow all the way over to make sure you haven't missed any.

If all else fails you may want to check Human's posts, as I believe his Dragon systems utilize the AV-710 and he may have more insight for you.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu