Linked by Thom Holwerda on Thu 2nd Dec 2010 23:20 UTC
Multimedia, AV The sweet smell of competition is lingering in the air. That sweet smell which indicates that somewhere in the vicinity a company is working on actually improving a product so we can all benefit. This time around, it's Adobe, delivering the first Flash 10.2 beta. Prime feature? Complete hardware acceleration of the entire video pipeline - fully cross platform, cross-form factor. Cross-platform! There's a catch, though.
Thread beginning with comment 452043
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: Thank Apple
by kaiwai on Fri 3rd Dec 2010 02:29 UTC in reply to "RE[2]: Thank Apple"
kaiwai
Member since:
2005-07-06

Unfortunately the frameworks that Apple provide for flash acceleration (or any other video format) are really crappy as seen in QTX, nowhere near the flexibility and capability of things like VDPAU or DXVA2


Adobe doesn't use QTX for Flash - they utilise Core Animation, Core Audio, VDPAU which is called VideoDecodeAcceleration.framework - the framework is merely the nVidia framework relabelled and provided on Apple. There is also more to hardware acceleration than just having the right API's on the system the browser also has to support 'Pepper Extensions' to NPAPI:

https://wiki.mozilla.org/NPAPI

And go down to "Accepted NPAPI Specifications" where so far only Safari and Chrome have actually implemented such features hence the reason why the performance of Flash on Firefox is craptacular on Mac OS X but works beautifully with Safari and Chrome.

Reply Parent Score: 6

RE[4]: Thank Apple
by _txf_ on Fri 3rd Dec 2010 11:57 in reply to "RE[3]: Thank Apple"
_txf_ Member since:
2008-03-17

I didn't mean to imply that they did use QTX merely that QTX uses the same framework as flash. But I wonder if the framework has been neutered, as I can only accelerate a VERY limited set of h264 vids in OSX versus VDPAU.

I would argue that flash performance is fairly craptacular in Safari (on OSX) too at least in comparison to windows. It is better than it used to be but still not good as of 10.1, haven't tried 10.2 because adobe fail with 64 bit. The flash codebase must be a wretched tangle if they can't recompile the source to 64 bits very easily.

Edited 2010-12-03 12:00 UTC

Reply Parent Score: 2

RE[5]: Thank Apple
by kaiwai on Fri 3rd Dec 2010 13:51 in reply to "RE[4]: Thank Apple"
kaiwai Member since:
2005-07-06

I didn't mean to imply that they did use QTX merely that QTX uses the same framework as flash. But I wonder if the framework has been neutered, as I can only accelerate a VERY limited set of h264 vids in OSX versus VDPAU.

I would argue that flash performance is fairly craptacular in Safari (on OSX) too at least in comparison to windows. It is better than it used to be but still not good as of 10.1, haven't tried 10.2 because adobe fail with 64 bit. The flash codebase must be a wretched tangle if they can't recompile the source to 64 bits very easily.


They're hardware limitations and nothing to do with VPAU - the following lists the limitations:

http://en.wikipedia.org/wiki/Nvidia_PureVideo

There is little Apple can do in terms of the limitations apart from maybe creating a whole new framework that is based on top of GLSL rather than tapping into the video decoding part of the GPU. It would be more complex but it would also probably support a lot more video formats, sizes on more GPU's.

Regarding the codebase, it wouldn't surprise me if it was like a horror film - At some point I think Adobe need to clear out the crud, break backwards compatibility because it isn't just Adobe suffering but many developers having to work around bugs at the same time; it doesn't help anyone in the long run to have perpetual backwards compatibility if it comes at the expense of improvements in the future.

Reply Parent Score: 2