-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML Performance - tested by François Grassard #1177
Comments
The framerate issue I am confident is because of #1165. I feel like I'm trying to blame everything on that, but that issue was found while looking into jerky html rendering. (Fun fact, if you go against all the html in caspar advice and don't use onRequestAnimationFrame things actually render a lot smoother!) Yes, lack of webgl is known and down to lack of gpu acceleration in cef. There is a config option to enable gpu acceleration (and have decent webgl), but that often gives much worse overall performance. Audio in html I am hoping for 2.3, still waiting for it to get merged in cef then it should follow shortly after here. #669 I have started working on proper gpu acceleration, but havent had much time to spend on it. Again, something that I aim to have for 2.3 |
I think you need use cef accelerator to create caspar frame. I try to use CefRenderHandler::OnAcceleratedPaint event, enable shared texture: CefWindowInfo.shared_texture_enabled = true, browse tick time is good with enable-gpu for html, but I don't know copy D3D11Device Texture2D to caspar frame? |
Yeah, converting the frames is not simple, but I have something working and haven't had time to finish it up yet |
May be we must add support for:
But soon will be support for Viz - https://bitbucket.org/chromiumembedded/cef/issues/2575/viz-implementation-for-osr |
Hi Julusian. |
@ducthiem90 I havent been able to spend any time to try and finish this up yet. |
I finished shared texture from cef to Caspar. And the result is good. My solution:
|
Wow!! |
You could do a PR against https://github.com/nrkno/tv-automation-casparcg-server |
I was chatting with François Grassard over the past few days. He once showed me an AE to HTML exporter and I asked him to modify this for the current versions of AE and Caspar. I will add part of that conversation down bellow:
So I think we should investigate that ASAP,
The text was updated successfully, but these errors were encountered: