[LINUX] Passthrough working with mplayer but not xbmc
#1
This command works perfectly

Code:
mplayer -vo null -ac hwdts -ao alsa:device=iec958 hot\ tub\ time\ machine.mkv

while playing the same file with iec958 set in both audio options doesn't work. "alsa:device=iec958" without quotes also doesn't work.

full debug log

http://pastebin.com/jiXr7WxS


I'm tired Sad
Reply
#2
Try setting your passthrough device to:
Code:
plug:iec958:default
Make sure your audio output device is also set to iec958 (not default).
Reply
#3
That setting didn't work either Sad

Same error. Unable to initialize audio device. No navigation sounds either.

I also tried removing the default at the end.

Log includes both attempts:

http://pastebin.com/zAEN0YMh

The mplayer command still works as before. Is there any way to force connection directly to the alsa device like there is in mplayer?

mplayer command and result:

Code:
$ mplayer -vo null -ac hwdts -ao alsa:device=iec958 hot\ tub\ time\ machine.mkv
MPlayer SVN-r29978-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not open config files /home/xbmc/.lircrc and /etc/lirc//lirc/lirc                                                                                                 rc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing hot tub time machine.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x688  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Forced audio codec: hwdts
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to DTS, 1536000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 688 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.86:1 - prescaling to correct movie aspect.
VO: [null] 1280x688 => 1280x688 Planar YV12
A:   2.6 V:   2.6 A-V:  0.001 ct: -0.001   0/  0 16%  0%  0.1% 0 0

MPlayer interrupted by signal 2 in module: sleep_timer
A:   2.6 V:   2.6 A-V: -0.000 ct: -0.001   0/  0 16%  0%  0.1% 0 0
Exiting... (Quit)
Reply
#4
shameless bump
Reply
#5
bump
Reply
#6
I am not able to get any sound out of the optical output on my appletv running ubuntu over the last few days on the Dharma branch. My XBMC is mighty quiet without any sound. Hopefully someone will fix this soon.
Reply
#7
I have always had trouble with my digital sound. I got it working for a while and took a tar backup, but the hard drive crashed. Restored the tar, and everything but sound in xbmc worked.

At a complete loss.
Reply
#8
Sad 
I honestly have no clue how to fix this. I've searched here, searched google.

I know it's not hardware because mplayer works great.

I've tried various recommendations on how to put alsa devices into the xbmc list and get nowhere. Various combinations of hwplug, and hw don't work either.

Is there something I'm not doing that people want me to do? I love XBMC when it works. The problem is I just can't get it to work all the time and I don't know why and I'm not sure how to get help.

Is there something similar to -ao alsa:device=iec958 for xbmc?
Reply
#9
This is the latest live release, not even svn.
Reply
#10
That's weird. Normally in the XBMC setup you can just set your passthrough device to iec958 (or spdif or whatnot if a new alsa version), use alsamixer to unmute the channels, and you're done.
Reply
#11
That's what everyone says, but not what I'm seeing (or hearing Sad). Oh well. I think I'm going to just sell this pc, buy a mac mini, and move on to plex.
Reply
#12
Quote:Starting XBMC, Platform: GNU/Linux. Built on Aug 19 2010 (SVN:26018)

r26018 is really ancient, you might have much better luck with the Dharma beta that tagged last night. What Linux OS are you using ?
Reply
#13
It's ubuntu. I just installed the live edition to the hard drive. Than ran apt-get upgrade to get the latest version. I think when I downloaded it said version 9.11 repack.

Is there a "best" way to test out the dharma branch? Just check it out with svn and compile?
Reply
#14
midna Wrote:It's ubuntu. I just installed the live edition to the hard drive. Than ran apt-get upgrade to get the latest version. I think when I downloaded it said version 9.11 repack.

Is there a "best" way to test out the dharma branch? Just check it out with svn and compile?

http://forum.xbmc.org/showpost.php?p=592622&postcount=4
Reply
#15
I'll give it a go, thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Passthrough working with mplayer but not xbmc0