Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

I find the performance of WebChimera is half of fbvlc(CPU loading) #4

Closed
xsmart opened this issue Jan 14, 2014 · 13 comments
Closed

I find the performance of WebChimera is half of fbvlc(CPU loading) #4

xsmart opened this issue Jan 14, 2014 · 13 comments

Comments

@xsmart
Copy link

xsmart commented Jan 14, 2014

the fbvlc is same with VLC, but the WebChimera use the double CPU.

@RSATom
Copy link
Owner

RSATom commented Jan 14, 2014

I didn't test it for perfomance yet, but there are at least one place where optimization could be made:
In QmlVlcVideoOutput.cpp RGB32 used as default pixel format, but most of videos use I420 pixel format. Furthermore I420, is more suitable for OpenGL as I know. So I plan to use I420 instead of RGB32 in the future, to increase performance.
Another possible reason is that for video output I use QtMultimedia's video surface, and I don't know how efficient it is.
And the biggest problem - I limited in free time, and now I am working on FBVLC for Mac. I hope to return to WebChimera development till end of Junuary.

Anyway you comment is very useful, Thanks!

@xsmart
Copy link
Author

xsmart commented Jan 14, 2014

Thanks, Could you help share a cool qml you used ?

@RSATom
Copy link
Owner

RSATom commented Jan 14, 2014

btw, when you talking about fbvlc's performance, do you mean windowless or windowed version?
Fbvlc's windowless mode should be slower than WebChimera. Since fbvlc use vmem (i.e. decode to memory), and then draw on hwnd with GDI. WebChimera use vmem too, but use hardware accelerated OpenGL (or DirectX in Qt version with Angle Lib) drawing.
In turn, WebChimera should be slower than windowed FBVLC, since then libvlc use OpenGL or DirectX for rendering directly.

@xsmart
Copy link
Author

xsmart commented Jan 14, 2014

I use windows mode for FBVLC

@RSATom
Copy link
Owner

RSATom commented Jan 14, 2014

Thanks, Could you help share a cool qml you used ?

Sorry, didn't understand what you mean. If you are talking about qml used in WebChimera - it's in available: default.qml. But it's not cool, I plan to find real designer who, I hope, will draw really cool UI

@RSATom
Copy link
Owner

RSATom commented Jan 14, 2014

Windowed FBVLC has very big disadvantage - it's not allow place custom UI items over it via HTML. But it has very big advantage in performance.
Windowless FBVLC can be overlayed by html items, but it has very poor performance. That's why I started WebChimera project - it uses hardware accelerated draw via Qt Quick, and allow to add custom Ui items via Qml.

@xsmart
Copy link
Author

xsmart commented Jan 14, 2014

Yes, i mean the qml used in WebChimera. not the default.qml, If you have a my_cool_ui.qml?

@RSATom
Copy link
Owner

RSATom commented Jan 14, 2014

no, I haven't it ;) It's only in future plans.

@RSATom
Copy link
Owner

RSATom commented Jan 14, 2014

WebChimera was born less then month ago, so there are a lot of work still...

@xsmart
Copy link
Author

xsmart commented Jan 14, 2014

Waiting for you cool UI ...

@RSATom
Copy link
Owner

RSATom commented Jan 14, 2014

You can try do it by yourself, that's the main Idea of WebChimera. Qml is reasonable simple.

@RSATom
Copy link
Owner

RSATom commented Feb 4, 2014

WebChimera 0.1.2 was switched to I420 pixel format internally...

@RSATom RSATom closed this as completed Feb 4, 2014
@RSATom
Copy link
Owner

RSATom commented Nov 6, 2014

Waiting for you cool UI ...

It seems cool UI now available: http://jaruba.github.io/WebchimeraGUI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants