AirPlay, originally named AirTunes when Apple debuted it in 2004 as a way to wirelessly stream audio from iTunes to speakers connected to the AirPort Express base station, had its name changed by Steve Jobs in 2010 after the technology was expanded to include video and photo streaming to the then-new, $99 iOS-based Apple TV.
While iTunes currently has the ability to stream both audio and video playback to Apple TV, OS X can't deliver audio or video from other apps. Additionally, because AirPlay involves encryption of streamed data, it's not easy for third party developers to send data to AirPlay devices.
New AirPlay Mirroring
All that is changing in Mountain Lion. The most obvious benefit is that hardware-compliant Macs can now do the same AirPlay Mirroring trick as last year's new iOS devices (iPhone 4S and iPad 2 or newer): anything on the screen can be mirrored to an Apple TV-connected display.
As with iOS devices, Macs need special hardware to support AirPlay Mirroring. It doesn't work on the Mid 2010 MacBook Pro, for example, but does work on early 2011 MacBook Pros, as well as mid 2011 or newer MacBook Air, iMac or Mac mini systems.
These systems are the oldest machines capable of supporting AirPlay Mirroring because they are the first to deliver dedicated hardware encoding for H.264. Without a CPU capable of crunching this task using specialized hardware, earlier Macs simply can't transmit video fast enough without a lot of heat and screaming fans.
Older Macs can already send video from iTunes to Apple TV via AirPlay, but they stop local playback while doing this. Mirroring requires the system to produce two video images, one driving the local display and one to be wirelessly delivered to the external screen.
AirPlay doesn't just relay video from the computer (or iOS device) to Apple TV. It scales down the video to fit on an HDTV resolution, and has to convert the colorspace from the computer's RGB to the native YUV that televisions use. Both tasks require a lot of processing resources, so without the extra hardware available on newer Macs, mirroring isn't possible.
Using AirPlay Mirroring on supported Macs with Mountain Lion is very easy: simply pull down the AirPlay menu and select the local Apple TV you want to mirror your display on. The options are populated via Bonjour, just as they currently are within iTunes. This quite a lot more obvious and discoverable than on the iPad, where you have to double click on the Home button and swipe to the right to find AirPlay controls (below).
The default Menu Bar options for Displays now focuses on AirPlay options, rather than the old fashioned "detect displays" and manually setting a resolution. Below, the simpler menu of Mountain Lion (right) compared to today's Lion (left). On Macs that don't support AirPlay Mirroring, this menu simply offers only to open the Displays pane in System Preferences.
Apple has also updated the Displays pane in System Preferences in Mountain Lion, even for Macs too old to support AirPlay Mirroring. Rather the offering a selection of resolutions (as today's Lion does, below top), Displays now simply defaults to the resolution "Best for built-in display," although you can manually select a non-standard resolution by clicking Scaled.
Using AirPlay Mirroring on supported Macs
You can readily identify a Mac that supports AirPlay Mirroring because it gets the AirPlay icon in the Menu Bar (and its drop down options are different too).
Once AirPlay Mirroring is initiated with a specific Apple TV unit from the Menu Bar, the Displays configuration automatically changes to the resolution "Best for AirPlay," with an option to turn on Overscan correction (usually only necessary if you're using an older CRT television; most modern flat panel displays won't cut of portions of the display because of overscan). Note that brightness controls only have an effect on the built in display.
You can manually select a different resolution from Displays, or select the resolution you want to mirror from the AirPlay Menu Bar pulldown, picking either This Mac or the name of the Apple TV you're mirroring the display to from the "Match Desktop Size To:" options.
But wait, that's not all. You can still initiate AirPlay Mirroring while connected to a secondary display. Under Mountain Lion, connecting to an external monitor works virtually the same, apart from the fact that the system, by default, pics the resolution for you. Plugged directly to my HDTV via an HDMI cable, the Displays pane for each of the two displays picks a "best for display" resolution, although either can be scaled.
The built in display supplies an option to adjust brightness (above) while the HDTV pane (below) presents options to rotate the display in 90 degree increments, set a refresh rate, and configure underscan (which creates a black margin around the image on your television to prevent elements close to the edge of the screen from being clipped off; again, this is not usually necessary to set on modern HDTVs).
Even with an external display attached (mirrored or expanding the desktop), AirPlay Mirroring is still available. The pulldown AirPlay menu changes to reflect additional options, as you can now mirror the display with your external monitor independently from mirroring your display to however many Apple TV devices you have on your local network (below).
Because AirPlay Mirroring is a function of the system (dependent upon CPU video encoding hardware), it doesn't count against the number of directly-connected displays your video hardware can support.
New AirPlay features for older Macs
While Macs that are more than a year and a half old don't have the hardware to support wireless video mirroring, they can still make use of audio AirPlay features in Mountain Lion. Currently, under the Sound pane in System Preferences, the only Outputs available are hardware devices, such as internal speakers, headphones, or USB or line-out speakers (below).
Under Mountain Lion, even Macs that can't support AirPlay Mirroring can support wireless audio output (below) to designated Apple TV, AirPort Express units or other AirPlay compliant devices (including devices and receivers from Audyssey, B&W, Denon, iHome, JBL, Klipsch, Marantz, Philips, Pioneer, Samsung, Sony and Yamaha), allowing users to, for example, play games where the audio is sent out through a home stereo system.
However, unlike iTunes, the Sound Output controls don't allow you to stream audio to multiple sets of speakers at once. That means if you set system audio output to an AirPlay device, the local speakers will be muted.
Older Macs can of course still play videos to Apple TV connected screens via AirPlay within iTunes, and play audio from iTunes to multiple speakers through iTunes' "Multiple Speakers" feature (above).
117 Comments
It's a shame not all Macs able to run Mountain Lion have this feature. Love this. "earlier Macs simply can't transmit video fast enough [edit ... do much of anything] without a lot of heat and screaming fans' ... you've met my MBP then?/laugh This is why I think I will be updating my mid 2010 MBP i7 after all ... darn it! Has anyone tried using VLC to play a 1080p non QuickTime movie over airplay to an Apple TV?
That's right, if your Mac isn't new, you don't get airplay. :-(
Odd, maybe they are talking about the 13 inches? When I am on a network with an apple TV on it (I only have access to a first gen one) It shows up in my menu bar, are you sure you have that right? I think the mid 2010 [I]dual core quad thread CPU[/I] could power it for sure. (On the 15 inch) I am running a dev preview of ML, so I think it should work when the MIRRORING OPTION COMES UP IN THE MENU BAR. Put some research into is AI! Without screaming fans? Well, that sure is nice. Forcing my fans to run at 6000 RPM because the operating system thinks going over 100 C is a good idea and doesn't think of turning on the fans. (Over 2500 RPM) [quote name="digitalclips" url="/t/151280/inside-os-x-10-8-mountain-lion-gm-airplay-mirroring#post_2146881"]It's a shame not all Macs able to run Mountain Lion have this feature. Love this. "earlier Macs simply can't transmit video fast enough [edit ... do much of anything] without a lot of heat and screaming fans' ... you've met my MBP then?/laugh This is why I think I will be updating my mid 2010 MBP i7 after all ... darn it! Has anyone tried using VLC to play a 1080p non QuickTime movie over airplay to an Apple TV?[/quote] I think a requirement is a discrete GPU, because the Macbook Air CPUs are weaker than the 2010 15 inches, so it isn't adding up if it is CPU dependant. Then again, Macbook Airs don't have GPUs either. The limits to this seems to be thunderbolt enabled, which has nothing to do with the wireless transfer rates.
I purchased my quad-core (i5 ?) imac in early 2010 for it's amazing design, huge 27" screen and speed. A MacPro was out of the question at 3X the price. I have been terrible happy using Reduxencoder/VideoMonkey and a hardware dongle from Elgato H.264 to encode video. I was always under the impression my ATI discrete chipset was able to both encode and decode H.263/H.264 video by itself (http://www.amd.com/us/products/desktop/graphics/ati-radeon-hd-4000/hd-4850/Pages/ati-radeon-hd-4850-specifications.aspx).
From that page:
ATI Avivo™ HD Video and Display Platform6
But I have noticed with Lion the fans pick up spayed and make a racket about 30 minutes into a conversion or playback of HD content. I have had to utilize a far control utility to increase the fans speeds on the MB to keep things cool and safe. Is it possible that Apple/ATI/AMD/Nvidia have never written drivers for the video chipset encoding feature and the CPU is doing the heavy lifting still? I am starting to believe the mac platform may not be the best anymore to video creation.
You can do this with an older Mac via iTunes. It's not that big of a deal. The only limitation is that the display isn't mirrored on both displays, but only the target display.