Skip to content
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

Vulkan and OpenCL #653

Open
darkjacky opened this issue Oct 1, 2022 · 3 comments
Open

Vulkan and OpenCL #653

darkjacky opened this issue Oct 1, 2022 · 3 comments

Comments

@darkjacky
Copy link

Would you mind adding support for Vulkan and OpenCL decoders?

Cuda decode benchmark:

video:12265kB audio:199549kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
bench: utime=3.781s stime=2.547s rtime=24.493s
bench: maxrss=139480kB

OpenCL decode benchmark:

video:12265kB audio:199549kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
bench: utime=27.750s stime=1.438s rtime=6.049s
bench: maxrss=128976kB

Vulkan decode benchmark:

video:12265kB audio:199549kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
bench: utime=26.078s stime=1.672s rtime=6.418s
bench: maxrss=208604kB

They are roughly 4x faster than hardware decoders (by using the videocard 3D chip) and they have a fallback in case there is no hardware decoder making them a really good addition as you don't have to check anything. Just -hwaccel opencl and it will figure it out.

@rdp
Copy link
Owner

rdp commented Oct 1, 2022 via email

@rdp
Copy link
Owner

rdp commented Oct 1, 2022 via email

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

No branches or pull requests

2 participants