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

[feature request] possible to specify decoder type #46

Open
jcyuan opened this issue Mar 5, 2023 · 3 comments
Open

[feature request] possible to specify decoder type #46

jcyuan opened this issue Mar 5, 2023 · 3 comments

Comments

@jcyuan
Copy link

jcyuan commented Mar 5, 2023

sorry me again.... 😅
is it possible to specify the decoder type (built in / custom) for the VideoDevice class please?
the current built-in one is a soft decoder and you can't specify with another e.g. hardware type.

@Speykious
Copy link
Owner

You mean hardware acceleration?

Well if you look into SeeShark/Decode, you'll see there are these classes lying around, HardwareAccelDevice and HardwareAccelStreamDecoder
Currently I believe they do literally nothing, I didn't hook them up because I think I didn't quite know how to proceed with them... I don't even know if I tested any of this. 7_7

Either way if you feel like you can experiment with it, go ahead and clone the repository to see what you can do. In the mean time I'll do the same and see if I can make it easy to have hardware acceleration :)

@jcyuan
Copy link
Author

jcyuan commented Mar 5, 2023

You mean hardware acceleration?

Well if you look into SeeShark/Decode, you'll see there are these classes lying around, HardwareAccelDevice and HardwareAccelStreamDecoder Currently I believe they do literally nothing, I didn't hook them up because I think I didn't quite know how to proceed with them... I don't even know if I tested any of this. 7_7

Either way if you feel like you can experiment with it, go ahead and clone the repository to see what you can do. In the mean time I'll do the same and see if I can make it easy to have hardware acceleration :)

i got it, cheers~ 😎 👏

@jcyuan jcyuan closed this as completed Mar 5, 2023
@Speykious
Copy link
Owner

Hey wait, the issue isn't fixed no? ',:v

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

No branches or pull requests

2 participants