Categories
News Software

Apple opens up video decoding APIs to Adobe, other developers

adobelogo

Sometimes a well-publicized conflict between two large companies can actually lead to something good. Per Macworld, Apple has released information on how third-party developers can take advantage of hardware acceleration for graphics, a previously unavailable feature that’s been blamed for Flash’s poor performance on the Mac platform.

Traditionally, Flash hasn’t performed nearly as well on Mac OS X as it has on Windows, especially when it comes to video playback despite the fact that these days both platforms run on comparably-powerful hardware. Adobe has been adamant thatany performance issues in Flash are the result of Apple not making the necessary video decoding application programming interfaces (APIs) available to developers, thus preventing them from taking advantage of hardware acceleration on Macs that support it.

However, a recently released Apple Technical Note for Mac OS X 10.6.3 details a new Video Decode Acceleration Framework that may help developers. The framework seems to be a relatively simple and straightforward set of APIs to do precisely what Adobe wants: use hardware acceleration to decode raw H.264 video.

“We will be enabling support for hardware accelerated video decoding for Flash Player on Mac,” said Adobe spokesperson Matt Rozen. “Now that the required APIs are available, we are working on an additional Flash Player release to follow shortly after Flash Player 10.1 to include this functionality for the hardware configurations supported by the new APIs.”

Until now, the only way to take advantage of hardware acceleration when decoding video was to use Apple’s QuickTime APIs, which only work with video that is stored in a “traditional” H.264 container, such as an MP4 file. By letting developers use the raw hardware-decoding capabilities of the graphics processors available in many Macs, Apple allows decoding video that is stored in any format, even if it’s not considered “standard.” By communicating directly with the hardware, an application can now decode video regardless of where or how it’s stored.

Unfortunately, the Video Decode Acceleration Framework has its limitations in that it can only take advantage of hardware video decoding with those GPUs that support that functionality. These GPUs include NVIDIA’s GeForce 9400M, GeForce 320M, or GeForce GT 330M graphics chipsets and, because they require Mac OS X 10.6.3, the new APIs are only available on Intel-based Macs.

Even with these limitations, Apple may be lending Adobe and other developers the access they need to help improve Flash on Mac OS X or even bring it to the iPhone, iPod touch or iPad somewhere down the line…