New issue
Advanced search Search tips
Starred by 32 users
Status: Duplicate
Merged: issue 117062
Owner: ----
Closed: Mar 2012
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Feature

Restricted
  • Only users with Commit permission may comment.



Sign in to add a comment
Use VA-API to accelerate HTML5 Video on Linux
Reported by derick.e...@gmail.com, Jan 29 2010 Back to list
Chrome Version : All
OS + version : Linux
CPU architecture (32-bit / 64-bit): Both
window manager : All
Behavior in Chrome for Windows (optional): See  Issue #17765 

Please add support for VA-API hardware acceleration when playing HTML5
video. VA-API can accelerate using Nvidia, ATI, Intel and many other's
GPUs. FFMpeg already has support for it. This will be very handy for HD
and/or fullscreen videos when running on netbooks and older systems.
 
Comment 1 by evan@chromium.org, Feb 5 2010
Labels: -Area-Undefined Area-Internals Internals-Video
Thanks for the request.

This is definitely something we've been thinking about, but the problem is especially 
hairy for us because of Chrome's multi-process architecture.  FFmpeg actually doesn't 
have direct access to the drawing surface currently, and is infact running in the 
renderer process which isn't allowed to have direct access to hardware.  This means 
that none of the hardware accel solutions will work without some significant surgery 
on the rendering pipeline.  This issue also makes fullscreen harder.

Once we have the rendering pipeline patched up, we'll look at how to integrate 
specific hardware APIs, do nicer scaling, etc. etc.
Labels: -Type-Bug Type-Feature HelpWanted Mstone-X
Status: Available
As ajwong mentioned, we're doing a bunch of work to get *some* form of hardware 
acceleration possible.  After that's done we might be should be able to have a better 
idea on what's needed for VAAPI and other accelerated video APIs.
Also note that decoding is not our bottleneck - rendering is.
Current code was achieves 720p on Pentium4 3 Ghz.
Before looking at decoding, we'll retune for Atom and offload rendering to GPU.

If you're looking to buy a netbook, Chrome will take full advantage of multicore, so a 
dual core N330 or D510 cpu will help.
Well, for reference, I'm currently trying to run Chrome on my 6 year old P4 2.4ghz
machine with a GeForce 6600. VLC will just barely play a 720p vid smoothly, but with
Flash and HTML5 (aka Chrome & Firefox) it's unwatchable...so in my particular use
case (which I'm sure I'm not alone in) it would be a very nice benefit.

Also, I don't know why you even brought up multicore...there are currently zero
decoders for any operating system nor codec that are multithreaded. They're all still
single threaded, so that makes no difference.
@derick.eisenhardt: the particular decoder we use actually decodes full frames in 
parallel.  We see quite a performance improvement compared to running a traditional 
single threaded decoder.

http://gitorious.org/ffmpeg/ffmpeg-mt
Ok, that's nice to know. Glad to see ffmpeg's made some progress on this. Hope they
push this into their stable branch soon ;)
Labels: Pri-3
Comment 9 by evan@chromium.org, May 4 2010
 Issue 43025  has been merged into this issue.
Labels: -Internals-Video -Area-Internals Feature-Media Area-WebKit
Comment 11 by evan@chromium.org, Jan 26 2011
Labels: -HelpWanted
We're trying to deprecate HelpWanted, so I'm bulk-removing it from some bugs.
Labels: -Mstone-X
Summary: Use VA-API to accelerate HTML5 Video on Linux (was: NULL)
Mergedinto: 117062
Status: Duplicate
Did you seriously just mark my 2 year old feature request a duplicate of one just made today?
@derick.eisenhardt: yep.  It's nice to start with a clean slate sometimes.  History is preserved through bi-directional linking.
The pain from the injustice might be somewhat alleviated for you by noting the status of the other bug is "Started" :)
Project Member Comment 16 by bugdroid1@chromium.org, Oct 13 2012
Labels: Restrict-AddIssueComment-Commit
Mergedinto: chromium:117062
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member Comment 17 by bugdroid1@chromium.org, Mar 11 2013
Labels: -Feature-Media -Area-WebKit Cr-Content Cr-Internals-Media
Project Member Comment 18 by bugdroid1@chromium.org, Apr 6 2013
Labels: -Cr-Content Cr-Blink
Sign in to add a comment