OSX v 0.1.2 sound issues - Mac Mini
#1
I just purchased an optical cable for my mini and am trying out several high def files on the latest build, but I'm not getting any sound.

I've got a 1.83Ghz C2D Mac Mini with 2GB of ram, the toslink cable (with mini jack adapter) and the files I've been trying include:

lost.s04e02.1080p.hdtv.x264-2hd.mkv
lost.s04e03.720p.hdtv.x264-ctu.mkv

and

terminator.the.sarah.connor.chronicles.s01e05.720p.hdtv.x264-ctu.mkv

All exhibit the same symptoms. The user interface noises ARE happening and standard xvid stuff plays fine. The video playback is fine these files, just no audio. I've verified that the audio output settings are set to digital. Any other suggestions?
Reply
#2
Hey Scott,

Where is the optical cable plugged in? Can you paste the output when running from a Terminal, especially these lines:

Code:
Asked to open device: [S/PDIF]
Asked to create device:   [S/PDIF]
Device should be digital: [1]
Channels:                 [2]
Sample Rate:              [48000]
BitsPerSample:            [16]
PacketSize:               [2048]
Considering:              [Built-in Speaker]
Considering:              [Built-in Headphone]
Considering:              [Built-in Line Output]
Considering:              [Built-in Digital Output]
Picked device:            [Built-in Digital Output]

That should tell us what the problem is.

-elan
Reply
#3
The optical cable (with a little 1/8th inch adapter on the end of it) is plugged into the headphone jack.

Here's the output when I start from the command line, go into the 1080p lost episode, which picks up in the middle of the stream (since I told xbmc to restart videos from where I left off) and then I quit. I snipped the part about detecting video modes only.


Hope this helps some...

Scott
mediaserver:Applications sfrazer$ ./XBMC.app/Contents/MacOS/XBMC
WARNING: The XBMC_HOME environment variable is not set.
Checking for existence of /Users/sfrazer/Library/Application Support/XBMC/UserData/Keymap.xml
QZ_SetVideoFullScreen(1920, 1080, bpp=32)

...

[SDL] Cherry picked Mode: 1920x1080, refresh=60, bpp=32, HW=1, stretched=0, interlaced=0
Using display 1141110976
++ WARN: could not retrieve file info for `image.nrg': No such file or directory
++ WARN: can't open nrg image file image.nrg for reading
[matroska @ 0x909140]Ignoring seekhead entry for ID=0x1549a966
[matroska @ 0x909140]Ignoring seekhead entry for ID=0x1654ae6b
[matroska @ 0x909140]Ignoring seekhead entry for ID=0x114d9b74
[matroska @ 0x909140]Unknown entry 0x73a4 in info header
[matroska @ 0x909140]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x909140]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x909140]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x909140]Unknown track header entry 0xaa - ignoring
[matroska @ 0x909140]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x909140]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x909140]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x909140]Unknown track header entry 0xaa - ignoring
Input #0, matroska, from '/Volumes/OtherDrive/Other/Movies/tv/lost.s04e02.1080p.hdtv.x264-2hd.mkv':
Duration: 00:42:19.6, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: ac3, 48000 Hz, 5:1
Stream #0.1(eng): Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 tb®
Asked to open device: [S/PDIF]
Asked to create device: [S/PDIF]
Device should be digital: [1]
Channels: [2]
Sample Rate: [48000]
BitsPerSample: [16]
PacketSize: [2048]
Considering: [Built-in Output]
[h264 @ 0x8e9730]Cannot parallelize deblocking type 1, decoding such frames in sequential order
[PortAudio] ERROR[/Volumes/Whopper/Users/elan/Code/Java/XBMC/xbmc/cores/dvdplayer/PortaudioDirectSound.cpp:122]: Stream is stopped.
[PortAudio] ERROR[/Volumes/Whopper/Users/elan/Code/Java/XBMC/xbmc/cores/dvdplayer/PortaudioDirectSound.cpp:104]: Stream is stopped.
CRITSEC[0xa1b424]: Trying to enter destroyed section.
CritSect[0xa1b424]: Some other thread trying to leave our critical section.
mediaserver:Applications sfrazer$
Reply
#4
(I assume you're plugging in to a surround receiver.)

That's the same output I get on my mini. Check your Sound System Preferences pane, and make sure the name is "Digital Out".

Otherwise, the only thing I can think of is that you have a picky surround receiver that isn't picking up on the digital stream.

-elan
Reply
#5
elan..

CRITSEC[0xa1b424]: Trying to enter destroyed section.
CritSect[0xa1b424]: Some other thread trying to leave our critical section.

He must be using an old version. I'm pretty sure xbmc doesn't log any such stupidity anymore.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
elupus Wrote:elan..

CRITSEC[0xa1b424]: Trying to enter destroyed section.
CritSect[0xa1b424]: Some other thread trying to leave our critical section.

He must be using an old version. I'm pretty sure xbmc doesn't log any such stupidity anymore.

Actually, it still does Smile

The printfs were changed to logs, but unfortunately this resulted in an infinite loop on exit (because logging did something silly with a critical section, which logged, etc.).

We can simply take these messages out completely, but I think that at least some of them have non-zero value to developers, to show when they're doing something potentially silly.

-elan
Reply
#7
elan Wrote:(I assume you're plugging in to a surround receiver.)

That's the same output I get on my mini. Check your Sound System Preferences pane, and make sure the name is "Digital Out".

Otherwise, the only thing I can think of is that you have a picky surround receiver that isn't picking up on the digital stream.

-elan


Wow. I have it plugged into a Sony STR-DE997 receiver. Originally it was plugged into the SA-CD port, since that was free. When I changed it over to the TV/Sat port, sound started working. Apparently the SA-CD input doesn't decode AC3 or something.

Bizarre. Sorry for the trouble, and thanks for the help :-)
Reply

Logout Mark Read Team Forum Stats Members Help
OSX v 0.1.2 sound issues - Mac Mini0