• 大小: 14.15MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-02
  • 语言: 其他
  • 标签: ffmpeg  h264  

资源简介

这是Qt的工程,建议使用Qt Creator 打开 从零开始学习音视频编程技术(41) H.264播放器 FFMPEG的版本是2.5.2 记得将ffmpeg/bin目录下的dll文件拷贝到编译生成的exe所在的目录下,否则会无法运行。 关于代码的解释 请参考: http://blog.yundiantech.com/?log=blog&id=39

资源截图

代码片段和文件信息

/**
 * 叶海辉
 * QQ群121376426
 * http://blog.yundiantech.com/
 */
#include “mainwindow.h“
#include 

#include 

int main(int argc char *argv[])
{
    QApplication a(argc argv);

    QTextCodec *codec = QTextCodec::codecForName(“GBK“);
    QTextCodec::setCodecForLocale(codec);

    MainWindow w;
    w.show();

    return a.exec();
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-18 14:52  H264Player\
     文件      754351  2015-03-31 22:23  H264Player\data.h264
     目录           0  2018-05-17 15:07  H264Player\ffmpeg\
     目录           0  2018-05-17 15:07  H264Player\ffmpeg\bin\
     文件    19646464  2014-12-31 06:21  H264Player\ffmpeg\bin\avcodec-56.dll
     文件     1367552  2014-12-31 06:21  H264Player\ffmpeg\bin\avdevice-56.dll
     文件     2314752  2014-12-31 06:21  H264Player\ffmpeg\bin\avfilter-5.dll
     文件     5839360  2014-12-31 06:21  H264Player\ffmpeg\bin\avformat-56.dll
     文件      452096  2014-12-31 06:21  H264Player\ffmpeg\bin\avutil-54.dll
     文件      324608  2014-12-31 06:21  H264Player\ffmpeg\bin\ffmpeg.exe
     文件      475136  2014-12-31 06:21  H264Player\ffmpeg\bin\ffplay.exe
     文件      152576  2014-12-31 06:21  H264Player\ffmpeg\bin\ffprobe.exe
     文件      121344  2014-12-31 06:21  H264Player\ffmpeg\bin\postproc-53.dll
     文件     1187840  2014-03-08 12:39  H264Player\ffmpeg\bin\SDL2.dll
     文件      270336  2014-12-31 06:21  H264Player\ffmpeg\bin\swresample-1.dll
     文件      446976  2014-12-31 06:21  H264Player\ffmpeg\bin\swscale-3.dll
     目录           0  2018-05-17 15:07  H264Player\ffmpeg\include\
     目录           0  2018-05-17 15:07  H264Player\ffmpeg\include\libavcodec\
     文件      179819  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\avcodec.h
     文件        3111  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\avfft.h
     文件        3764  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\dv_profile.h
     文件        2358  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\dxva2.h
     文件       10623  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\old_codec_ids.h
     文件        4007  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\vaapi.h
     文件        5437  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\vda.h
     文件        7094  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\vdpau.h
     文件        6340  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\version.h
     文件        2317  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\vorbis_parser.h
     文件        6062  2014-12-31 06:21  H264Player\ffmpeg\include\libavcodec\xvmc.h
     目录           0  2018-05-17 15:07  H264Player\ffmpeg\include\libavdevice\
     文件       16642  2014-12-31 06:21  H264Player\ffmpeg\include\libavdevice\avdevice.h
............此处省略125个文件信息

评论

共有 条评论