参考链接:http://blog.csdn.net/ajaxhe/article/details/7315778
windows下播放注意播放参数的设置
// for windows7 vista
QString common = "./mplayer/mplayer.exe -slave -quiet -vo direct3d " + m_fileName + " -wid " + QString::number(reinterpret_cast(videoWidget->winId()));
// for XP
//QString common = "./mplayer/mplayer.exe -slave -quiet -vo directx:noaccel " + m_fileName + " -wid " + QString::number((ulong)videoWidget->winId());
1