Error: Qt5 Video render error code 80040218

11.4k views Asked by At

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.

4

There are 4 answers

9
Roman Ryltsov On BEST ANSWER

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
Akshay Waghe On

install K-Lite_Codec_Pack_1540_Basic in your machine, this error not related to pyqt5 and any other

3
surge10 On

If you are a developer, you can download and use ffmpeg to decode and encode your file to avi(windows) or mov(mac).

0
douyw On

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