XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Mac and AppleTV Specific Support

XBMC for Mac and AppleTV Specific Support Need help with XBMC for Mac or Apple TV, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-02-19, 07:03   #1
ScottTFrazer
Junior Member
 
Join Date: Feb 2008
Posts: 4
ScottTFrazer is on a distinguished road
Default OSX v 0.1.2 sound issues - Mac Mini

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?
ScottTFrazer is offline   Reply With Quote
Old 2008-02-19, 08:15   #2
elan
Team Plex
 
Join Date: Dec 2007
Location: Maui
Posts: 268
elan is on a distinguished road
Send a message via Skype™ to elan
Default

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
__________________
Plex
elan is offline   Reply With Quote
Old 2008-02-19, 09:28   #3
ScottTFrazer
Junior Member
 
Join Date: Feb 2008
Posts: 4
ScottTFrazer is on a distinguished road
Default

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(r)
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$
ScottTFrazer is offline   Reply With Quote
Old 2008-02-19, 19:08   #4
elan
Team Plex
 
Join Date: Dec 2007
Location: Maui
Posts: 268
elan is on a distinguished road
Send a message via Skype™ to elan
Default

(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
__________________
Plex
elan is offline   Reply With Quote
Old 2008-02-19, 20:05   #5
elupus
Team-XBMC Developer
 
Join Date: Mar 2004
Posts: 2,991
elupus is on a distinguished road
Default

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.


elupus is offline   Reply With Quote
Old 2008-02-19, 20:10   #6
elan
Team Plex
 
Join Date: Dec 2007
Location: Maui
Posts: 268
elan is on a distinguished road
Send a message via Skype™ to elan
Default

Quote:
Originally Posted by elupus View Post
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

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
__________________
Plex
elan is offline   Reply With Quote
Old 2008-02-19, 20:59   #7
ScottTFrazer
Junior Member
 
Join Date: Feb 2008
Posts: 4
ScottTFrazer is on a distinguished road
Default

Quote:
Originally Posted by elan View Post
(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 :-)
ScottTFrazer is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:57.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project