Plex Media Center for OS X Leopard

Release 0.0.4: Yummy!

Lots of good stuff in this release:

  • Video thumbnails are auto-generated for stacked files.
  • More OpenGL fixes for GMA950, it **might** work on Mac Mini and Mac Book now. If it doesn’t please paste a stack trace.
  • Optimized, assembly-enabled version of ffmpeg now statically linked in, which means huge performance improvements.
  • Subtitles appear to work for me better (although still haven’t fixed the assert).
  • Fixed a few multi-threaded crashes, it played a Planet Earth last night the whole way without a single crash.

You can see in the picture that I dropped some frames, but this is the super-high bitrate 1080p version of Planet Earth that brings a grown computer to tears.

Have a try with this new release and let me know how it works. Please be sure to include the model of Mac you’re using, and especially what video hardware you have.

Oh, and reports of success with AC3/DTS passthrough would make my day.

untitled.jpg

31 Comments so far

  1. zAo January 24th, 2008 12:22 am

    Wow! That’s even faster than I expected!

    Good work, will try it later.

  2. Martin January 24th, 2008 2:14 am

    Thanks a lot.

    This is the first useful HTPC solution for the Mac!

    PS. Can anyone tell me how to add a shared network folder to the OSXBMC sources?

    I have all my movies on a Mac server and non locally :)

    Thanks again
    Martin

  3. leigh January 24th, 2008 2:17 am

    This is getting better and better all the time..

    I’m having no issues the i can tell with video files, though i haven’t tried any 1080p stuff yet.
    The only issue i seem to have is some artifacts on the screen with the projectm visualizations.

    http://gallery.mac.com/leigh.munro/100023/Picture-202/web.jpg
    http://gallery.mac.com/leigh.munro/100023/Picture-201/web.jpg

    Thanks again…

    oh and how far off in your plans is the ability to map network shares….

  4. Jasper January 24th, 2008 3:14 am

    Somehow it won’t work for me :(
    When XBMC sees the subtitles it crashes (and also AC3)
    Input #0, avi, from ‘/Users/jasper/mymovie.avi’:
    Duration: 01:30:38.9, start: 0.000000, bitrate: 1080 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 592×320 [PAR 1:1 DAR 37:20], 23.98 tb(r)
    Stream #0.1: Audio: ac3, 48000 Hz, 5:1, 320 kb/s
    Reading symbols for shared libraries
    warning: Could not find object file “/Volumes/Whopper/Users/elan/Code/C++/XBMC-sources/dvdplayer/liba52/liba52.new/a52dec/liba52/bit_allocate.o” - no debug information available for “bit_allocate.c”.
    warning: Could not find object file “/Volumes/Whopper/Users/elan/Code/C++/XBMC-sources/dvdplayer/liba52/liba52.new/a52dec/liba52/bitstream.o” - no debug information available for “bitstream.c”.
    warning: Could not find object file “/Volumes/Whopper/Users/elan/Code/C++/XBMC-sources/dvdplayer/liba52/liba52.new/a52dec/liba52/downmix.o” - no debug information available for “downmix.c”.
    warning: Could not find object file “/Volumes/Whopper/Users/elan/Code/C++/XBMC-sources/dvdplayer/liba52/liba52.new/a52dec/liba52/imdct.o” - no debug information available for “imdct.c”.
    warning: Could not find object file “/Volumes/Whopper/Users/elan/Code/C++/XBMC-sources/dvdplayer/liba52/liba52.new/a52dec/liba52/parse.o” - no debug information available for “parse.c”.
    . done
    Assertion failed: ((0)), function wToUTF8, file /Volumes/Whopper/Users/elan/Code/Java/XBMC/xbmc/utils/CharsetConverter.cpp, line 460.

    Sorry if this breaks your layout

  5. tv January 24th, 2008 4:43 am

    Hi again.
    Thanks again for awesome work. Now some files crash as previous ones but now somes crash with:

    Assertion failed: ((0)), function wToUTF8, file /Volumes/Whopper/Users/elan/Code/Java/XBMC/xbmc/utils/CharsetConverter.cpp, line 460.
    (gdb) where
    #0 0×9542bace in __semwait_signal ()
    #1 0×9542b94f in nanosleep$UNIX2003 ()
    #2 0×0063d7d3 in SDL_Delay ()
    #3 0×0040619f in WaitForMultipleObjects ()
    #4 0×0051739f in CThread::WaitForSingleObject ()
    #5 0×0014af24 in CDVDPlayer::OpenFile ()
    #6 0×000e33cf in CApplication::PlayStack ()
    #7 0×000e398c in CApplication::PlayFile ()
    #8 0×0044f352 in PLAYLIST::CPlayListPlayer::Play ()
    #9 0×00306c4c in CGUIWindowVideoBase::PlayMovie ()
    #10 0×00307064 in CGUIWindowVideoBase::OnPlayMedia ()
    #11 0×00284b0e in CGUIMediaWindow::OnClick ()
    #12 0×00301946 in CGUIWindowVideoBase::OnClick ()
    #13 0×002826e1 in CGUIMediaWindow::OnMessage ()
    #14 0×0030a099 in CGUIWindowVideoBase::OnMessage ()
    #15 0×003197bc in CGUIWindowVideoNav::OnMessage ()
    #16 0×0003684c in CGUIControl::SendWindowMessage ()
    #17 0×00021b6b in CGUIBaseContainer::OnClick ()
    #18 0×00021d3a in CGUIBaseContainer::OnAction ()
    #19 0×00068b06 in CGUIListContainer::OnAction ()
    #20 0×00098afc in CGUIWindow::OnAction ()
    #21 0×00281541 in CGUIMediaWindow::OnAction ()
    #22 0×00302651 in CGUIWindowVideoBase::OnAction ()
    #23 0×000a09bf in CGUIWindowManager::OnAction ()
    #24 0×000d9d3a in CApplication::OnAction ()
    #25 0×000db15b in CApplication::OnKey ()
    #26 0×000db270 in CApplication::ProcessKeyboard ()
    #27 0×000db799 in CApplication::FrameMove ()
    #28 0×0057a32f in CXBApplicationEx::Run ()
    #29 0×0057bc89 in SDL_main ()
    #30 0×006868ec in -[SDLMain applicationDidFinishLaunching:] ()
    #31 0×91b2467a in _nsnote_callback ()
    #32 0×9577ca4a in __CFXNotificationPost ()
    #33 0×9577cd23 in _CFXNotificationPostNotification ()
    #34 0×91b21a70 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
    #35 0×91b2b108 in -[NSNotificationCenter postNotificationName:object:] ()
    #36 0×933c4323 in -[NSApplication _postDidFinishNotification] ()
    #37 0×933c4232 in -[NSApplication _sendFinishLaunchingNotification] ()
    #38 0×9333dd1e in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
    #39 0×9333d517 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
    #40 0×91b49c7f in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
    #41 0×91b4998f in _NSAppleEventManagerGenericHandler ()
    #42 0×95873668 in aeDispatchAppleEvent ()
    #43 0×9587359e in dispatchEventAndSendReply ()
    #44 0×95873445 in aeProcessAppleEvent ()
    #45 0×96510211 in AEProcessAppleEvent ()
    #46 0×9333af6f in _DPSNextEvent ()
    #47 0×9333a6a0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
    #48 0×933336d1 in -[NSApplication run] ()
    #49 0×00687080 in main ()

  6. XBMC_fanboy January 24th, 2008 4:44 am

    Is multi-threaded decoding of H.264 video enabled in FFmpeg? I heard that they got that working under XBMC4Linux, but does is now work for OS X as well?

  7. xbmc4me January 24th, 2008 4:49 am

    “Optimized, assembly-enabled version of ffmpeg now statically linked in, which means huge performance improvements” sounds great!

    Will that affect performance of XBMC Linux port branch as well?

    I thought since the new Mac uses the same processsors as modern Linux HTPC computers do today, like for example Intel Core2 Duo and AMD Athlon X2.

  8. Martin January 24th, 2008 4:56 am

    Multithreaded H.264 support would be great!

    Should help those 1080p movies :)

    PS. Anyone got network shares working yet?

  9. tv January 24th, 2008 5:11 am

    @Martin
    Network shares work if they are mounted with finder.

  10. Johnny January 24th, 2008 5:38 am

    Great work guys but how come we do not see any Mac OS X commits from you guys in XBMC linuxport SVN? Do you not submit your changes upstream?

  11. Martin January 24th, 2008 5:39 am

    @tv

    Thanks, I just added /Volumes/blabla/blabla manually to my sources through the GUI. It worked :)

    @elan

    I have some problems playing 1080p mkv files.

    I tried Apocalyto 1080p - with 1536kbits DTS sound:

    First, the video plays back too fast, and if I choose Digital in my Audio setup, I get a loud noise from the speakers. Choosing Analog gives no sound.

    Thanks for all your hard work on this!

  12. zAo January 24th, 2008 5:43 am

    How can I extract the .gz file? Gzip/tar say its not an gzip archive.

  13. Ezrem January 24th, 2008 5:57 am

    @elan -

    Yet another dump from my mini:

    #0 0×00000000 in ?? ()
    #1 0×0019aa0d in CLinuxRendererGL::RenderSinglePass ()
    #2 0×0019b9c9 in CLinuxRendererGL::Render ()
    #3 0×00197f54 in CLinuxRendererGL::RenderUpdate ()
    #4 0×0019e1ef in CXBoxRenderManager::PresentSingle ()
    #5 0×0019e61f in CXBoxRenderManager::Present ()
    #6 0×000e5d98 in CApplication::RenderNoPresent ()
    #7 0×000d3d69 in CApplication::Render ()
    #8 0×0057a345 in CXBApplicationEx::Run ()
    #9 0×0057bc89 in SDL_main ()
    #10 0×006868ec in -[SDLMain applicationDidFinishLaunching:] ()
    #11 0×93d6f67a in _nsnote_callback ()
    #12 0×9341ba4a in __CFXNotificationPost ()
    #13 0×9341bd23 in _CFXNotificationPostNotification ()
    #14 0×93d6ca70 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
    #15 0×93d76108 in -[NSNotificationCenter postNotificationName:object:] ()
    #16 0×94cd9323 in -[NSApplication _postDidFinishNotification] ()
    #17 0×94cd9232 in -[NSApplication _sendFinishLaunchingNotification] ()
    #18 0×94c52d1e in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
    #19 0×94c52517 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
    #20 0×93d94c7f in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
    #21 0×93d9498f in _NSAppleEventManagerGenericHandler ()
    #22 0×907d5668 in aeDispatchAppleEvent ()
    #23 0×907d559e in dispatchEventAndSendReply ()
    #24 0×907d5445 in aeProcessAppleEvent ()
    #25 0×9637a211 in AEProcessAppleEvent ()
    #26 0×94c4ff6f in _DPSNextEvent ()
    #27 0×94c4f6a0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
    #28 0×94c486d1 in -[NSApplication run] ()
    #29 0×00687080 in main ()

  14. Martin January 24th, 2008 6:30 am

    @zAo

    Use The Unarchiver - Works great here :)

  15. flash January 24th, 2008 7:31 am

    Great work but it crashs when i launch a vid on my mini. Not sure why i dont get more of a stack. Also i ran it over VNC with the TV turned off and when i launched a video it worked so it must be a problem in the GL code that uses the GMA950. When do you plan on updating SVN with these latest changes. When they are in i can try and debug on the mini and find exactly where if blows up. Cheers.

    Asked to open device: [Built-in Output]
    Asked to create device: [Built-in Output]
    Device should be digital: [0]
    Channels: [2]
    Sample Rate: [48000]
    BitsPerSample: [16]
    PacketSize: [2048]
    Picked device: [Built-in Output]
    CxImage::Load - loading of type

    Program received signal EXC_BAD_ACCESS, Could not access memory.
    Reason: KERN_PROTECTION_FAILURE at address: 0×00000000 0×00000000 in ?? ()

  16. flash January 24th, 2008 8:48 am

    the stack for the previous post

    #0 0×00000000 in ?? ()
    #1 0×0019aa0d in CLinuxRendererGL::RenderSinglePass ()
    #2 0×0019b9c9 in CLinuxRendererGL::Render ()
    #3 0×00197f54 in CLinuxRendererGL::RenderUpdate ()
    #4 0×0019e1ef in CXBoxRenderManager::PresentSingle ()
    #5 0×0019e61f in CXBoxRenderManager::Present ()
    #6 0×000e5d98 in CApplication::RenderNoPresent ()
    #7 0×000d3d69 in CApplication::Render ()
    #8 0×0057a345 in CXBApplicationEx::Run ()
    #9 0×0057bc89 in SDL_main ()
    #10 0×006868ec in -[SDLMain applicationDidFinishLaunching:] ()
    #11 0×9462967a in _nsnote_callback ()
    #12 0×95491a4a in __CFXNotificationPost ()
    #13 0×95491d23 in _CFXNotificationPostNotification ()
    #14 0×94626a70 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
    #15 0×94630108 in -[NSNotificationCenter postNotificationName:object:] ()
    #16 0×960dd323 in -[NSApplication _postDidFinishNotification] ()
    #17 0×960dd232 in -[NSApplication _sendFinishLaunchingNotification] ()
    #18 0×96056d1e in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
    #19 0×96056517 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] () #20 0×9464ec7f in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
    #21 0×9464e98f in _NSAppleEventManagerGenericHandler ()
    #22 0×93226668 in aeDispatchAppleEvent ()
    #23 0×9322659e in dispatchEventAndSendReply ()
    #24 0×93226445 in aeProcessAppleEvent ()
    #25 0×90b85211 in AEProcessAppleEvent ()
    #26 0×96053f6f in _DPSNextEvent ()
    #27 0×960536a0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
    #28 0×9604c6d1 in -[NSApplication run] ()
    #29 0×00687080 in main ()

  17. HenrikDK January 24th, 2008 10:07 am

    Works mostly, vid still crashes it though, posted a trace on the TRAC at http://dn-0.com/xbmc-trac/ticket/35 Not sure if it helps much.

    Seems like the site removed all the newline characters from the trace so give a shout if you want it in some other from.. Must admit though it would be a bit easier to help out with this debugging if the code in svn was up to par with your work :)

    Also it seems from my initial glances at the other post in the blog that the mini and macbook errors are different. (could be that my macbooks on crack though)

  18. HenrikDK January 24th, 2008 10:18 am

    Damn just ran a gdb ./XBMC as you instructed earlier and got the same crash output as the mini’s…

    Disregard my TRAC post.

  19. elan January 24th, 2008 10:35 am

    @leigh: ProjectM integration with OS X is still limping along a bit, I’m surprised it works at all to be honest.

    @Jasper: There is a known issue with some subtitles, I’ll look into it shortly.

    @XBMC_fanboy and @Martin: Great question, I need to look into that a bit more.

    @Johnny and @HenrikDK: I need to clean up my changes before I commit them. Please be patient, I don’t want to break the Linux build or create more bugs than I fix :)

  20. bouriko January 24th, 2008 8:07 pm

    Yup

    UTF-8 doesn’t work at this time ? or I miss install lib ?
    also cover (thumbnails) are not showing, when I navigate in folder XBMC scan all videos (firt time OK) but every time i’m access it rescan (see in console) and navigation was very slow

    config : macmini coreduo 1go ram gma 950

    thx again for work

  21. bouriko January 25th, 2008 12:29 am

    Anybody try to use shoutcast ? when I want to add source It crash :
    CxImage::Load - loading of type
    PICTURE::LoadImage: Unable to open image: /Users/nIKO/XBMC/skin/Project Mayhem III/media/Big Error: (2)
    Bus error

    LastFM too add source Ok but when I try to launch tag or something, I have another message :
    CxImage::Load - loading of type
    CxImage::Load - loading of type
    CxImage::Load - loading of type
    Bus error

    lastfm using cover (tbn) in stream music, 2 troubles touch picture … strange

    ++

  22. Polve January 25th, 2008 1:11 am

    Hi, where can I find a tutorial to install XBMC on my Mac Mini?

    Thx a lot Polve

  23. zAo January 25th, 2008 3:47 am

    Martin: thanks. Just ran 0.0.4.
    Sound is distorted, but the speed is oke (MKV, 720p, stereo)
    Strange bug: when browsing filesystems, there is no way back (no “..”)!

    Hardware:
    C2D 2.16Ghz iMac 2GB, ATI X1600

    Polve:
    1) Install Xcode (on your Leopard DVD)
    2) install Macports (google)
    3) extract XBMC
    4) chmod u+x XBMC and install the missing packages when you run ./XBMC (”sudo port install “)

  24. LinuxStill January 25th, 2008 4:55 am

    Will these OpenGL fixes for GMA950 help XBMC linuxport?

  25. yaneku January 25th, 2008 6:08 am

    Martin: Use the backspace key on your keyboard.

  26. Polve January 25th, 2008 6:31 am

    Ok thanks for the instructions. This week I try to install.

    Polve

  27. Martin January 25th, 2008 7:09 am

    @elan

    I have some problems playing 1080p mkv files.

    I tried Apocalyto 1080p - with 1536kbits DTS sound:

    First, the video plays back too fast, and if I choose Digital in my Audio setup, I get a loud noise from the speakers. Choosing Analog gives no sound.

    Any way to fix those two problems?

    Thanks for all your hard work on this!
    /Martin

  28. elan January 25th, 2008 8:32 am

    @Martin: Mixdown is not supported. Only way to play multi-channel audio is to output through digital out to a surround receiver.

  29. yaneku January 25th, 2008 9:13 am

    @elan: AC3/DTS passthrough still don’t work with this new release :/ My reciever doesn’t recognize the signal correctly and all I get is noise.

    Is it possible to use a asound.conf to get it to work? is alsa used for sound output in osxbmc or only in the linux version?

  30. elan January 25th, 2008 9:17 am

    @yaneku: ALSA is Linux only.

  31. Martin January 25th, 2008 10:08 am

    @elan

    I am using Digital Out to a surround receiver. This works great in both MPlayer and VLC.

    With OSXBMC all I get is noise, like yaneku.

    Is it also possible to fix that video plays back to fast?

    Keep up the good work :)

Leave a reply

Support Plex

Mmmmm...Beer!

Contact Me

elan at plexapp dot com
  • Meta

  • Recent Comments

    • Mickey"oops I am late :( Happy Thanksgiving Elan and everyone celebrating it! I make a toast to all the things done..."
    • sham"I installed plex 7.1 for the first time yesterday, being a long time htpc guy (done dev for freevo, mce xp, mce..."
    • Anton"Hi, Thanks for the app. I’ve switched from Sapphire, some things I love some thing I hate. Overall great..."
    • Jakob Metzger"ok, yea. I kinda figured that out. I noticed that it is exactly the same OSD as the regular iTunes..."
  • What I'm Doing...

  • Archives