+ Top FAQs with Plex - for more help please check the WIKI.
- How do I add internet video such as TED, YouTube, CNET etc?
- Internet sources are added using the App Store found in the Applications menu. See the following screencast for more info. vimeo.com/3315184
- One of the plug-ins has stopped working.
- If a plug-in stops working, it’s likely that the structure of the site changed. This doesn’t happen very frequently with most sites, but it’s a definite possibility. When this occurs, an entity we call the “Campfire Robot” springs into action automatically and tracks us down to let us know, and shortly thereafter we can push an update. As such, if a site stops working, the best thing to do is to check the App Store for updates. If you have automatic updates turned on, check your install history to see if an update got installed while you were getting coffee.
- I don’t see the Applications Menu Item.
- If you previously used v5 of Plex we suggest deleting the folder called Plex found in ~/Library/Application Support/. Many things have changed and a fresh install will ensure the best performance with Plex.
- How do I make Movies and TV Shows show up in their respective areas with poster art, plot info, etc?
- View this screencast for more info vimeo.com/2758185
Plex/Seven: New CoreAudio output module
Back when I was first getting audio output to work with the media center on OS X, I decided to use the PortAudio library. It’s portable, powerful, and I was already familiar with it, having used it on a previous job.
The downside to PortAudio turned out to be its lack of support for doing passthrough of encoded digital audio streams like AC3 and DTS. I always figured that a digital audio stream was just bits, and if the stream was set to the right bit-width and sample rate, encoded audio would work fine. It turns out I was only partially right; most receivers will accept this stream and lock onto the encoded audio. However, they’re only doing that because they’re being liberal about what they accept. The bitstream is actually lacking lower-level S/PDIF bits (meaning that they can’t be set at the application level) making it an official encoded audio stream. This meant that some receivers, acting by the letter of the law (like the one owned by poor fatez) refused to interpret the stream as encoded digital audio.
We first knew this was a problem around 8 months ago, which makes it the longest running Plex bug in history. The first person to tackle the problem was Brandon Golm. He worked extremely hard over several months on enhancing Portaudio with support for passthrough. However, the CoreAudio code in PortAudio isn’t the easiest to modify, and this approach (which I suggested and accept full blame for) didn’t end up coming to fruition.
Enter our resident Plex audio expert Ryan (who, incidentally, was one of the very first people to contribute code to the OSXBMC project!). Ryan took an interest in the problem and decided to approach it by porting VLC’s CoreAudio output module to Plex. After a enormous amount of hard work, the day finally arrived when he could claim victory:
- Auto-detection of whether devices support encoded digital output. This is extremely useful for not getting your ears blasted with static, since when you switch from your Built-in Digital Output to your Logitech Headset, it will switch automatically to analog mode.

- Increased flexibility: Interestingly enough, there are some audio devices (e.g. some external USB or Firewire devices) which don’t show up under CoreAudio as supporting encoded digital audio (S/PDIF). In this case, you can switch the digital output support to “Force Digital” and it will send audio to the device encoded “unofficially”. This means it likely won’t work with fatez’s receiver, but it is useful in some scenarios.

- Improved lip-sync: the new code monitors the hardware latency reported by CoreAudio, so Plex is able to provide better synchronization between video and audio.
The new output module, coupled with the AC3 transcoding ability Ryan added back in Plex/Five (which allows converting 5.1 AAC and DTS stream to AC3), means that Plex now has — hands down — the absolute finest audio output features of any media center on the Mac, if not across all platforms.
23 Comments so far
Leave a reply
Great work! Does this also mean it now supports multichannel _analog_ streams?
Wowww guys… when can we put our hands in the new version?

Great improvements and great job as usual.
does this fix the incredibly low analogue volume of Plex on mac mini’s, which is not a problem with VLC?
The first two features were a bit ‘meh’ for me but this one is stonking! Can’t wait to test it out…
awesome :D! you guys rock!
I love what you guys are doing. From the first time I installed OSXBMC to the Plex it is now has been a great improvement! I already like the new interface much more than the old. I love that you are working on making all the settings less confusing, this is one of my greatest irritations indeed. I would however like to see this minimalisation treatment applied to the skin as well. I find all the background pictures very distracting and would love a more appletv-like, clean interface. Not sure how everyone else feels about it, of course.
Keep up the good work!
You guys are so rad.
Great work! I’ve been waiting for this! Really looking forward to seven.
Oh YEAH! ..can not wait HUGE THANKS
These daily revelations are like a Plex Advent calendar
Excellent! Now almost all that is missing audio wise is bit-perfect pass-through output of all files that are not 48kHz for those of us who have receiver that are capable. I think this project best explain the properties of bit perfect playback http://code.google.com/p/cmediadrivers/wiki/Bitperfect
XBMC is also lacking this bitperfect playback capability as a legacy from the Xbox days http://xbmc.org/trac/ticket/4731
Another thing is optional pass-through output of MP3, AAC, and WMA 9 Pro as many newer receivers are capable of decoding those type of streams nativly as well
Its this attention to detail that makes this project a cut above so many others. thanks for the great work!
Now that you have something working, can these changes be taken upstream into portaudio? I’m sure other users of portaudio would be most grateful to not have to reinvent the wheel (again) in this regard. If it’s done in the common library, it’s available to all.
@jmarshall: As I mentioned, we abandoned efforts to make the changes in Portaudio and instead ported VLC’s CoreAudio module.
@tv: I believe Ryan said something like “If someone wanted to ship me one of those interfaces, I’d be happy to get it working!”
@Jalanr: Release date is 11/16.
@sej7278: That’s a problem with down-mixing and a lack of amplification. Not fixed with this code.
@BitPerfect: Hadn’t considered passthrough of those other codecs, interesting thought.
Thank you!!! i hope it will work with my receiver.
@elan: quote “Release date is 10/16.”
Please tell me you meant 11/16 (not 10/16/09)…
@symm: Well, these are all hypothetical features, so we’re hoping for 10/2009, but it could be 10/2010 as well.
You’re absolutely right, I meant a few days from now
That’s great news, I’ve been looking for a solution to fix lipsync issues. Will it be possible to adjust audio delay, or is the hardware detection enough?
Lots of kudo’s,
Arjen
Will it support Dolby TrueHD in .m2ts bluray titles?
@Arjen: Yes, still possible to adjust delay yourself.
@rwk: No difference with this feature.
Great! I am personally really looking forward to bit perfect pass-thru, especially for Blu-ray and HD DVD backups with 24Bit at 192KHz audio streams, both Dolby TrueHD and DTS-HD Master Audio formats.
Also bitperfect playback of basic MP3 and AAC music files at 44,1KHz without any resampling would be superb.
Today there is no software on Mac which offers all this, however on Windows there is both MediaPortal and Foobar2000, but no XBMC based software.
Wow - I just loaded this version, and my audio delay problems disappeared! I’m using a Griffin firewave. Going to try some hi def content tonight. Good work on the core audio stuff guys…
Plex is the best!