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

How to switch the GPU acceleration #81

Open
ffli opened this issue Apr 27, 2021 · 4 comments
Open

How to switch the GPU acceleration #81

ffli opened this issue Apr 27, 2021 · 4 comments

Comments

@ffli
Copy link

ffli commented Apr 27, 2021

In the source code i have tried the two ways to start the gpu acceleration: first is in the libvlcInstance add the config options of "--avcodec-hw=d3d11va", the second is instance the libvlc.dll libvlc_media_add_option interface, neither they are visible. The second way even the vlcMedia can not load, In the vlcModule can not load and initialize. Anyone achieves the gpu acceleraton by this plugin. thanks.

@eusru
Copy link

eusru commented Feb 24, 2022

I have tried the first way to as same as your .
After i enabled ,seems CPU is still working under high load and GPU is also!!
Nothing changed........

@ffli
Copy link
Author

ffli commented Feb 24, 2022 via email

@eusru
Copy link

eusru commented Feb 24, 2022

The result is that I just tested the rtsp video stream, and I am not sure about other formats of video.
Maybe other formats of video play as you said
Finally, barely used.
Thx for your reply.
If you have any new idea about this ,please share with me!!!

@huajianbu
Copy link

Has the author solved this problem? I've tried many parameters, but there's been no response. i used like ":avcodec-hw=any""--avcodec-hw=any"":avcodec=any""--avcodec=any"

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

3 participants