4 ms·
The Apple way to play H.264 is through the QuickTime APIs (and really, as of Snow Leopard the new QuickTime X APIs), not to write your own H.264 playback code t
by jcl 17y ago
The Apple way to play H.264 is through the QuickTime APIs (and really, as of Snow Leopard the new QuickTime X APIs), not to write your own H.264 playback code that seeks to directly access hardware accelerators.
I'm confused... If hardware decoding were simply a matter of using the QuickTime APIs, why doesn't Flash just use those?
- GHFigs 17y agoUsing QuickTime: "Decode this video for me." Using hardware directly: "Do this math for me." Even if it were technically possible for Flash (as a plugin) to call out to QuickTime this way (and it may well not be), it is undesirable from Adobe's perspective to depend on code they don't control for something so central.
- wtallis 17y agoIt would be very easy for flash to use QTKit to just play a video, in the HTML5 kind of way. But it would be quite a bit harder for them to do it in a way that remains compatible with all the different play/pause/volume/seek controls that different video sites have built in to their flash apps, not to mention the advertising schemes. If they weren't smart about how they handle all the compositing, they could probably end up really slowing things down when there are things like custom translucent controls overlayed above the video.