社区
控件
帖子详情
使用mediaplayer9控件播放MPG时,怎么调整显示画面大小?
dz08039
2004-05-05 10:59:46
窗口尺寸已经定死了,怎么使画面匹配窗口?
...全文
49
2
打赏
收藏
使用mediaplayer9控件播放MPG时,怎么调整显示画面大小?
窗口尺寸已经定死了,怎么使画面匹配窗口?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
kink
2004-06-28
打赏
举报
回复
顶
dz08039
2004-05-06
打赏
举报
回复
up
使用
Q
MediaPlayer
和Windows自带组件
播放
swf、rmvb、
mpg
、mp4等视频文件
使用
Q
MediaPlayer
播放
rmvb、
mpg
、mp4格式
使用
windows Media Player组件
播放
.swf格式
如何在PPT中
播放
多种音视频文件.docx
如何在PPT中
播放
多种音视频文件.docx
qt
播放
器qt
mediaplayer
在网上找了一个别人的旧版本的
播放
器~自己更改了一天,终于可运行了,希望分享下同共学习; 不过出了少少问题:希望有经验的一起指导下: 运行环境:qt creator +windows 1、原计划是可支持视频
播放
的,现在只能加载间频(mp3),一加载视频就卡死 2.、自定义的进度条不起作用,不知为什么百分比槽连接不成功 connect(wmp, SIGNAL(PositionChange(double, double)),this, SLOT(Slot_onPositionChange(double, double))); 3、我用的是QAxWidget
控件
,这个是不是只支持windows的呢?或者还有没其实更好的? /******************************************************************************************* 项目名:QT
播放
器 Qt
Mediaplayer
工程师:枫儿 完成
时
间:2009年12月28日 技术支持:嵌入式家园 www.studyarm.cn www.mcupark.com *******************************************************************************************/ #include "playerwindow.h" #include #include #include #include #include #include #include #include PlayerWindow::PlayerWindow() { //setCaption(tr("Media Player")); fileFilters = tr("Video files (*.
mpg
*.mpeg *.avi *.wmv)\n" //原来字符串换行也可这样用 "Audio files (*.mp3 *.wav)"); updateTimer = 0; setMouseTracking(true); this->wmp = new QAxWidget(this); wmp->setControl("{22D6F312-B0F6-11D0-94AB-0080C74C7E95}"); // wmp->setProperty("ShowControls", QVariant(false, 0)); wmp->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding); connect(wmp, SIGNAL(PlayStateChange(int, int)),this, SLOT(Slot_onPlayStateChange(int, int))); connect(wmp, SIGNAL(ReadyStateChange(ReadyStateConstants)),this, SLOT(Slot_onReadyStateChange(ReadyStateConstants))); connect(wmp, SIGNAL(PositionChange(double, double)),this, SLOT(Slot_onPositionChange(double, double))); this->openButton = new QPushButton(tr("&Open")); connect(openButton, SIGNAL(clicked()), this, SLOT(Slot_openFile())); this->playPauseButton = new QPushButton(tr("&Play")); connect(playPauseButton, SIGNAL(clicked()), wmp, SLOT(Play())); this->stopButton = new QPushButton(tr("&Stop")); connect(stopButton, SIGNAL(clicked()), wmp, SLOT(Stop())); this->seekSlider = new QSlider(Qt::Horizontal, this); seekSlider->setEnabled(false); connect(seekSlider, SIGNAL(valueChanged(int)),this, SLOT(Slot_sliderValueChanged(int))); connect(seekSlider, SIGNAL(sliderPressed()),wmp, SLOT(Pause())); QHBoxLayout *buttonLayout = new QHBoxLayout; buttonLayout->addWidget(openButton); buttonLayout->addWidget(playPauseButton); buttonLayout->addWidget(stopButton); QVBoxLayout *mainLayout = new QVBoxLayout(this); mainLayout->addWidget(wmp); mainLayout->addLayout(buttonLayout); mainLayout->addWidget(seekSlider); this->setLayout(mainLayout); }
简单KTV
播放
没有处理视频文件
C#+WinForm视频
播放
器(AxWindows
MediaPlayer
) C# 源代码
C# 源代码 功能:
使用
Windows Media Player
播放
音乐,视频,支持 WAV、MID、MP3、
MPG
、AVI、ASF、WMV、RM、RMVB等文件。 技术:C# + WinForm 版本:Microsoft Visual Studio 2008 上开发 实现功能: 1.选择文件
播放
2.设置
播放
器的属性 3.批量添加文件 4.批量将列表中的文件加到
播放
器列表 5.支持歌词
显示
6.本程序支持Windows Media Player中所有能
播放
的文件格式。 插件: 必须安装 RealoneED.exe 让windows
MediaPlayer
支持RMRMVB文件
控件
1,453
社区成员
41,351
社区内容
发帖
与我相关
我的任务
控件
VB 控件
复制链接
扫一扫
分享
社区描述
VB 控件
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章