首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > QT开发 >

利用label展示视频图像,视频显示不出来

2013-08-01 
利用label显示视频图像,视频显示不出来想要将视频显示到label上,但是,程序执行的时候崩溃掉,测试后是ui-l

利用label显示视频图像,视频显示不出来
想要将视频显示到label上,但是,程序执行的时候崩溃掉,测试后是
ui->label->setPixmap(QPixmap::fromImage(image));
但不知道是哪里有问题,求大神们指导
错误提示
Starting E:\qt\demo1\debug\demo1.exe...
recv data 
921600 
slot is running 
Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly

E:\qt\demo1\debug\demo1.exe exited with code -1073741819 Qt label 视频
[解决办法]
你是传label的句柄给你的播放源的吗
[解决办法]

引用:
想要将视频显示到label上,但是,程序执行的时候崩溃掉,测试后是
ui->label->setPixmap(QPixmap::fromImage(image));
但不知道是哪里有问题,求大神们指导
错误提示
Starting E:\qt\demo1\debug\demo1.exe...
recv data 
921600 
slot is running 
Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly

E:\qt\demo1\debug\demo1.exe exited with code -1073741819

视频显示还是图片显示?QMovie、QtMultimedia???
[解决办法]
引用:
Quote: 引用:

你是传label的句柄给你的播放源的吗

什么是句柄,请详细解释一下,谢谢

什么是句柄,查以下就知道,你要搞清楚你传的到底是图片还是视频

热点排行