qt 视频播放器错误解决方法

DirectShowPlayerService::doRender: Unresolved error code 0x80040266 ()

当你发布的qmlproject包含QtMultimedia模块时,运行在一个干净的系统上时,要注意,随时播放失败,因为QtMultimedia使用的系统默认的音视频编/解码器,如果系统没有安装与qt对应的音视频编解码器的话,就会出现

解决办法是安装 LAV Filters

添加头文件的时候显示红线,在.pro中田间QT += 对应的

原文地址:https://www.cnblogs.com/xpylovely/p/10790553.html