Linked by Thom Holwerda on Wed 20th Apr 2011 09:20 UTC
Google The revolution has begun! Web video will be freed from the shackles of the MPEG-LA and the dreaded claws of patents and incomprehensible licenses! Sorry, I got a little carried away there. Anywho, YouTube has announced all new videos uploaded to the site will be transcoded into WebM, and that the most important part of the site's catalogue is already available in WebM.
Thread beginning with comment 470772
To read all comments associated with this story, please click here.
Comment by kurkosdr
by kurkosdr on Thu 21st Apr 2011 16:16 UTC
kurkosdr
Member since:
2011-04-11

The catch of course is that you have to enable the HTML5 player yourself by going to youtube.com/html5 otherwise YouTube will serve you Flash, even if you have a modern browser (say Firefox 4).

I think YouTube should detect the browser and serve HTML5 automatically.

Oh, and most graphics cards DON'T have hardware support for WebM, so the evil H.264 content served through the "hog" known as Flash Player (which is now hardware accelerated) will actually do better in terms of CPU usage...

Edited 2011-04-21 16:18 UTC

Reply Score: 2

RE: Comment by kurkosdr
by Neolander on Thu 21st Apr 2011 17:27 in reply to "Comment by kurkosdr"
Neolander Member since:
2010-03-08

Oh, and most graphics cards DON'T have hardware support for WebM, so the evil H.264 content served through the "hog" known as Flash Player (which is now hardware accelerated) will actually do better in terms of CPU usage...

Well, I've done some test, with latest Flash vs HTML5 on Firefox 4/Fedora 14 x86_64, using the 720p version of the following video : http://www.youtube.com/watch?v=rLxQiI8c1Bs

The results are that CPU usage is aprox. the same when the video is at maximal size (full screen for flash, full tab for WebM). For some reasons (inefficient blitting probably), Flash eats up a lot more CPU when windowed vs in full screen (25% more).

So if we believe you when you say that Flash uses GPU acceleration whereas HTML5 <video> implementations do not use it (and I tend to believe it as full screen flash video was unbearably slow until 10.1 where they introduced some GPU-accelerated operations), this means that Flash can still be considered a resource hog, and in particular a major battery hog, as it turns on the power sink that a GPU is without using less CPU time at all.

If only I could monitor power usage to check that...

Edited 2011-04-21 17:31 UTC

Reply Parent Score: 3

RE: Comment by kurkosdr
by WereCatf on Thu 21st Apr 2011 17:37 in reply to "Comment by kurkosdr"
WereCatf Member since:
2006-02-15

Oh, and most graphics cards DON'T have hardware support for WebM


Not yet, but since both AMD and NVIDIA are backing WebM you can bet your arse that it won't take long before WebM support is baked in. Not to mention that the list includes also Qualcomm, ARM, DSP Group, Freescale and TI which are all fairly well-known mobile chipset makers.. In fact, many DSP chips for example are programmable and can support hardware decoding, it is only the OS maker that then decides whether they'll ship the necessary upates.

so the evil H.264 content served through the "hog" known as Flash Player (which is now hardware accelerated) will actually do better in terms of CPU usage...


In my (albeit brief) tests I am getting slightly less CPU-time consumed when watching WebM than when watching H.264 via Flash. Given that the same seems to apply to many other users here I'd say that atleast on the desktop the situation is pretty darn good even without acceleration.

Reply Parent Score: 4

RE: Comment by kurkosdr
by Valhalla on Fri 22nd Apr 2011 11:22 in reply to "Comment by kurkosdr"
Valhalla Member since:
2006-01-24


I think YouTube should detect the browser and serve HTML5 automatically.

I agree, however it's weird that when other sites embed youtube videos they automatically serve webm for me (using Firefox 4). I know this since I don't have flash (or gnash) installed and yet for the past couple of weeks I've been able to watch pretty much all embedded youtube videos on sites that I visit without me having 'opted in' for html5 on youtube.

Reply Parent Score: 4

RE[2]: Comment by kurkosdr
by Thom_Holwerda on Fri 22nd Apr 2011 15:06 in reply to "RE: Comment by kurkosdr"
Thom_Holwerda Member since:
2005-06-29

"
I think YouTube should detect the browser and serve HTML5 automatically.

I agree, however it's weird that when other sites embed youtube videos they automatically serve webm for me (using Firefox 4). I know this since I don't have flash (or gnash) installed and yet for the past couple of weeks I've been able to watch pretty much all embedded youtube videos on sites that I visit without me having 'opted in' for html5 on youtube.
"

That's the new iframe embed code which went live a few weeks ago. Before that, it was an optional checkbox (I've been using it on OSN for months).

Reply Parent Score: 2