• 大小: 16.11MB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2023-08-06
  • 语言: 其他
  • 标签: qt  gstreamer  

资源简介

使用Qt5.9.1开发的一个视频播放器,底层使用gstreamer多媒体框架,支持拖动进度,调节音量,暂停,调节音量大小

资源截图

代码片段和文件信息

#include “widget.h“
#include 
#include 

int main(int argc char *argv[])
{
    QApplication a(argc argv);
    gst_init (&argc &argv);
    Widget w;
    w.show();

    return a.exec();
}

#if 0
if (m_pipeline) {
       QGst::StreamVolumePtr svp =
           m_pipeline.dynamicCast();
       if (svp) {
           return svp->volume(QGst::StreamVolumeFormatCubic) * 10;
       }
   }
#endif

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件   18259597  2017-12-02 16:17  QtGsPlayer\Image\cmake-3.10.0-win64-x64.msi

     文件      24612  2016-05-30 19:11  QtGsPlayer\Image\icon_fronware.png

     文件        116  2017-12-02 13:56  QtGsPlayer\image.qrc

     文件        460  2017-12-02 14:11  QtGsPlayer\main.cpp

     文件       7141  2017-06-23 14:32  QtGsPlayer\playercontrols.cpp

     文件       3295  2017-06-23 14:32  QtGsPlayer\playercontrols.h

     文件       1739  2017-12-02 14:56  QtGsPlayer\QtGsPlayer.pro

     文件      43751  2017-12-02 18:13  QtGsPlayer\QtGsPlayer.pro.user

     文件       3184  2017-12-02 09:54  QtGsPlayer\videowidget.cpp

     文件       2445  2017-12-02 09:40  QtGsPlayer\videowidget.h

     文件      25194  2017-12-02 20:14  QtGsPlayer\widget.cpp

     文件       3008  2017-12-02 19:56  QtGsPlayer\widget.h

     目录          0  2017-12-02 18:13  QtGsPlayer\Image

     目录          0  2017-12-02 20:14  QtGsPlayer

----------- ---------  ---------- -----  ----

             18374542                    14


评论

共有 条评论