今天我用Qt写了个播放器
mediaplayer = new QMediaPlayer;mediaplayer->setMedia(QUrl::fromLocalFile("D:/2.AVI"));
mediaplayer->setVideoOutput(playRender);
connect(playButton ,SIGNAL(clicked()), mediaplayer, SLOT(play()));
:lol:lolQt真是牛逼 把工程贴上来,争取我可以直接运行嘛 本帖最后由 時桄゛ 于 2013-12-23 19:02 编辑
:(Qt自带的东西只能调系统底层,播放格式有限windows只能播放AVI。没有再研究的心思
本帖最后由 時桄゛ 于 2013-12-23 17:23 编辑
:(:(:( T-Bagwell 发表于 2013-12-18 19:49
把工程贴上来,争取我可以直接运行嘛
http://pan.baidu.com/share/link?shareid=737475569&uk=554216645 多谢…… y有时间看一下,正在学习QT
页:
[1]