简体   繁体   中英

Windows 10 h264 videos with QMediaPlayer

I'd like to play h264 videos with QMediaPlayer on Windows 10. It does not work. The video does not appear. It works on Windows 7 and Windows 8.1. Do I need to install some additional program?

It works on Windows 7, 8.1 and Linux. I've tried playing the videos on different laptops with Windows 10.

edit: I get an unresolved error code from doRender when playing the .MOV file: 在此处输入图片说明

This has been reported as a bug: https://bugreports.qt.io/browse/QTBUG-51692 and a open feature request: https://bugreports.qt.io/browse/QTBUG-32783

"-wmf-backend" Use wmf as backend for QMultimedia. Otherwise MP4 videos won't be supported when DirectShow is used"

so you have to build Qt 5 manually or use another format. Maybe .wmf works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM