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

Auto-detect hardware acceleration #6

Closed
klahaha opened this issue Sep 25, 2021 · 2 comments
Closed

Auto-detect hardware acceleration #6

klahaha opened this issue Sep 25, 2021 · 2 comments

Comments

@klahaha
Copy link
Contributor

klahaha commented Sep 25, 2021

We can detect hardware acceleration in program. Using ffmpeg cli

ffmpeg -init_hw_device list 2> /dev/null
Supported hardware device types:
vdpau
vaapi
qsv
drm
opencl

then no need for profiles config just print what profiles are used on startup

what outputs the command with nvidia proprietaire driver?

@m1k1o
Copy link
Owner

m1k1o commented Sep 25, 2021

For nvidia it prints:

Supported hardware device types:
vdpau
cuda
vaapi

So it's cuda.

@klahaha
Copy link
Contributor Author

klahaha commented Sep 26, 2021

now in repo via #3

@klahaha klahaha closed this as completed Sep 26, 2021
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