QT5 Video render error code 80040218

十年热恋 提交于 2019-11-27 07:56:50

问题


When running an application in QT5 made ​​using the QWebView, I accessed a page with a video player in HTML5, but the video does not play and qt/directshow shows the following error:

DirectShowPlayerService::doRender: Unresolved error code 80040218 DirectShowPlayerService::doRender: Unresolved error code 80040218

Details:

  • QT5.1.1 MingW4.8 32bit
  • Windows 7 64bit

I suspect that is why my Windows is 64bit, but the QT/MingW* runs on 32bit and maybe miss some DLL/LIB.

How can I resolve this?

Thanks.


回答1:


The error code is rather generic: 0x80040218 VFW_E_CANNOT_RENDER "No combination of filters could be found to render the stream." and the typical cause is that the application cannot decode media feed because it lacks decoding components, such as codec for this video feed is not installed/available.




回答2:


You may check out 'LAV Filters'. It solved my rendering problem: 'DirectShowPlayerService::doRender: Unresolved error code 80040266'.

Download installer: http://forum.doom9.org/showthread.php?t=156191
And the source code: https://github.com/Nevcairiel/LAVFilters



来源:https://stackoverflow.com/questions/20287688/qt5-video-render-error-code-80040218

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