How to turn off ffmpeg hardware acceleration

心已入冬 提交于 2019-12-11 09:10:53

问题


I have a video player. Written in C++ with Visual Studio, using the ffmpeg 3.2.2 libav libraries. I need to be able to programmatically turn off hardware acceleration of video decompression. I'm not finding much discussion on turning off hardware acceleration; the only info I found is here on StackOverflow: How to turn off Video Acceleration programatically But that solution looks global to the system, not just my application. Are there any ffmpeg flags or APIs that enable turning off hardware acceleration? VLC, which uses ffmpeg's libav libs, has an option to turn hardware acceleration off, so there much be some local-to-the-application method...

来源:https://stackoverflow.com/questions/41448442/how-to-turn-off-ffmpeg-hardware-acceleration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!