文件名称:qt_mplayer
- 所属分类:
- 多媒体编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 6.54mb
- 下载次数:
- 0次
- 提 供 者:
- aja***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
QT+mplayer的一个简单的播放器,支持快进,后退,暂停,单帧播放,音量控制,进度拖动等功能。
windows下播放注意播放参数的设置
// for windows7 vista
QString common = "./mplayer/mplayer.exe -slave -quiet -vo direct3d " + m_fileName + " -wid " + QString::number(reinterpret_cast<qlonglong>(videoWidget->winId()))
// for XP
//QString common = "./mplayer/mplayer.exe -slave -quiet -vo directx:noaccel " + m_fileName + " -wid " + QString::number((ulong)videoWidget->winId()) -The QT interval the mplayer is a simple player, support fast forward, rewind, pause, single fr a me playback, volume control, progress of the drag.
Note playback parameters set playback under Windows
//For windows7 vista
QString common = "./Mplayer/mplayer.exe-slave-quiet-vo direct3d" m_fileName "-
wid "QString :: number (reinterpret_cast <qlonglong> (videoWidget-> winId ()))
//For XP
//A QString common = "./Mplayer/mplayer.exe in-slave-quiet-vo directx: noaccel Turns"
m_fileName "-wid" QString :: number ((ulong) videoWidget-> winId ())
windows下播放注意播放参数的设置
// for windows7 vista
QString common = "./mplayer/mplayer.exe -slave -quiet -vo direct3d " + m_fileName + " -wid " + QString::number(reinterpret_cast<qlonglong>(videoWidget->winId()))
// for XP
//QString common = "./mplayer/mplayer.exe -slave -quiet -vo directx:noaccel " + m_fileName + " -wid " + QString::number((ulong)videoWidget->winId()) -The QT interval the mplayer is a simple player, support fast forward, rewind, pause, single fr a me playback, volume control, progress of the drag.
Note playback parameters set playback under Windows
//For windows7 vista
QString common = "./Mplayer/mplayer.exe-slave-quiet-vo direct3d" m_fileName "-
wid "QString :: number (reinterpret_cast <qlonglong> (videoWidget-> winId ()))
//For XP
//A QString common = "./Mplayer/mplayer.exe in-slave-quiet-vo directx: noaccel Turns"
m_fileName "-wid" QString :: number ((ulong) videoWidget-> winId ())
(系统自动生成,下载前可以参看下载内容)
下载文件列表
qt_mplayer\Debug\BuildLog.htm
..........\qt_mplayer\main.cpp
..........\..........\.player\fonts\conf.avail\10-autohint.conf
..........\..........\.......\.....\..........\10-no-sub-pixel.conf
..........\..........\.......\.....\..........\10-sub-pixel-bgr.conf
..........\..........\.......\.....\..........\10-sub-pixel-rgb.conf
..........\..........\.......\.....\..........\10-sub-pixel-vbgr.conf
..........\..........\.......\.....\..........\10-sub-pixel-vrgb.conf
..........\..........\.......\.....\..........\10-unhinted.conf
..........\..........\.......\.....\..........\20-fix-globaladvance.conf
..........\..........\.......\.....\..........\20-unhint-small-vera.conf
..........\..........\.......\.....\..........\25-unhint-nonlatin.conf
..........\..........\.......\.....\..........\30-metric-aliases.conf
..........\..........\.......\.....\..........\30-urw-aliases.conf
..........\..........\.......\.....\..........\40-nonlatin.conf
..........\..........\.......\.....\..........\45-latin.conf
..........\..........\.......\.....\..........\49-sansserif.conf
..........\..........\.......\.....\..........\50-user.conf
..........\..........\.......\.....\..........\51-local.conf
..........\..........\.......\.....\..........\60-latin.conf
..........\..........\.......\.....\..........\65-fonts-persian.conf
..........\..........\.......\.....\..........\65-khmer.conf
..........\..........\.......\.....\..........\65-nonlatin.conf
..........\..........\.......\.....\..........\69-unifont.conf
..........\..........\.......\.....\..........\70-no-bitmaps.conf
..........\..........\.......\.....\..........\70-yes-bitmaps.conf
..........\..........\.......\.....\..........\80-delicious.conf
..........\..........\.......\.....\..........\90-synthetic.conf
..........\..........\.......\.....\.....d\20-fix-globaladvance.conf
..........\..........\.......\.....\......\20-unhint-small-vera.conf
..........\..........\.......\.....\......\30-metric-aliases.conf
..........\..........\.......\.....\......\30-urw-aliases.conf
..........\..........\.......\.....\......\40-nonlatin.conf
..........\..........\.......\.....\......\45-latin.conf
..........\..........\.......\.....\......\49-sansserif.conf
..........\..........\.......\.....\......\50-user.conf
..........\..........\.......\.....\......\51-local.conf
..........\..........\.......\.....\......\60-latin.conf
..........\..........\.......\.....\......\65-fonts-persian.conf
..........\..........\.......\.....\......\65-nonlatin.conf
..........\..........\.......\.....\......\69-unifont.conf
..........\..........\.......\.....\......\80-delicious.conf
..........\..........\.......\.....\......\90-synthetic.conf
..........\..........\.......\.....\......\README
..........\..........\.......\.....\fonts.conf
..........\..........\.......\.....\fonts.dtd
..........\..........\.......\LICENSE.txt
..........\..........\.......\mplayer\codecs.conf
..........\..........\.......\.......\config
..........\..........\.......\.......\input.conf
..........\..........\.......\.......\subfont.ttf
..........\..........\.......\mplayer.exe
..........\..........\.......\README.txt
..........\..........\qtMplayer.cpp
..........\..........\qtMplayer.h
..........\..........\qt_mplayer.vcproj
..........\..........\qt_mplayer.vcproj.ajaxhe-THINK.ajaxhe.user
..........\qt_mplayer.ncb
..........\qt_mplayer.sln
..........\qt_mplayer.suo
..........\..........\mplayer\fonts\conf.avail
..........\..........\.......\.....\conf.d
..........\..........\GeneratedFiles\Debug
..........\..........\..............\Release
..........\..........\mplayer\codecs
..........\..........\.......\fonts
..........\..........\.......\mplayer
..........\..........\GeneratedFiles
..........\..........\mplayer
..........\..........\Resources
..........\Debug
..........\qt_mplayer
qt_mplayer
..........\qt_mplayer\main.cpp
..........\..........\.player\fonts\conf.avail\10-autohint.conf
..........\..........\.......\.....\..........\10-no-sub-pixel.conf
..........\..........\.......\.....\..........\10-sub-pixel-bgr.conf
..........\..........\.......\.....\..........\10-sub-pixel-rgb.conf
..........\..........\.......\.....\..........\10-sub-pixel-vbgr.conf
..........\..........\.......\.....\..........\10-sub-pixel-vrgb.conf
..........\..........\.......\.....\..........\10-unhinted.conf
..........\..........\.......\.....\..........\20-fix-globaladvance.conf
..........\..........\.......\.....\..........\20-unhint-small-vera.conf
..........\..........\.......\.....\..........\25-unhint-nonlatin.conf
..........\..........\.......\.....\..........\30-metric-aliases.conf
..........\..........\.......\.....\..........\30-urw-aliases.conf
..........\..........\.......\.....\..........\40-nonlatin.conf
..........\..........\.......\.....\..........\45-latin.conf
..........\..........\.......\.....\..........\49-sansserif.conf
..........\..........\.......\.....\..........\50-user.conf
..........\..........\.......\.....\..........\51-local.conf
..........\..........\.......\.....\..........\60-latin.conf
..........\..........\.......\.....\..........\65-fonts-persian.conf
..........\..........\.......\.....\..........\65-khmer.conf
..........\..........\.......\.....\..........\65-nonlatin.conf
..........\..........\.......\.....\..........\69-unifont.conf
..........\..........\.......\.....\..........\70-no-bitmaps.conf
..........\..........\.......\.....\..........\70-yes-bitmaps.conf
..........\..........\.......\.....\..........\80-delicious.conf
..........\..........\.......\.....\..........\90-synthetic.conf
..........\..........\.......\.....\.....d\20-fix-globaladvance.conf
..........\..........\.......\.....\......\20-unhint-small-vera.conf
..........\..........\.......\.....\......\30-metric-aliases.conf
..........\..........\.......\.....\......\30-urw-aliases.conf
..........\..........\.......\.....\......\40-nonlatin.conf
..........\..........\.......\.....\......\45-latin.conf
..........\..........\.......\.....\......\49-sansserif.conf
..........\..........\.......\.....\......\50-user.conf
..........\..........\.......\.....\......\51-local.conf
..........\..........\.......\.....\......\60-latin.conf
..........\..........\.......\.....\......\65-fonts-persian.conf
..........\..........\.......\.....\......\65-nonlatin.conf
..........\..........\.......\.....\......\69-unifont.conf
..........\..........\.......\.....\......\80-delicious.conf
..........\..........\.......\.....\......\90-synthetic.conf
..........\..........\.......\.....\......\README
..........\..........\.......\.....\fonts.conf
..........\..........\.......\.....\fonts.dtd
..........\..........\.......\LICENSE.txt
..........\..........\.......\mplayer\codecs.conf
..........\..........\.......\.......\config
..........\..........\.......\.......\input.conf
..........\..........\.......\.......\subfont.ttf
..........\..........\.......\mplayer.exe
..........\..........\.......\README.txt
..........\..........\qtMplayer.cpp
..........\..........\qtMplayer.h
..........\..........\qt_mplayer.vcproj
..........\..........\qt_mplayer.vcproj.ajaxhe-THINK.ajaxhe.user
..........\qt_mplayer.ncb
..........\qt_mplayer.sln
..........\qt_mplayer.suo
..........\..........\mplayer\fonts\conf.avail
..........\..........\.......\.....\conf.d
..........\..........\GeneratedFiles\Debug
..........\..........\..............\Release
..........\..........\mplayer\codecs
..........\..........\.......\fonts
..........\..........\.......\mplayer
..........\..........\GeneratedFiles
..........\..........\mplayer
..........\..........\Resources
..........\Debug
..........\qt_mplayer
qt_mplayer