使用FFMPEG解码视频之保存成图片
Windows10下Qt5.12引用FFMPEG2.5.2 64位的例子。使用FFMPEG解码视频之保存成图片
Windows10下Qt5.12引用FFMPEG2.5.2 64位的例子。使用FFMPEG解码视频之保存成图片
Windows10下Qt5.12引用FFMPEG2.5.2 64位的例子,打印输出FFMPEG的版本号,只是成功引用了ffmpeg,并没有实际应用。
This is a FFmpeg Win64 shared build by Kyle Schwarz. Zeranoe's FFmpeg Builds Home Page: <http://ffmpeg.zeranoe.com/builds/> This build was compiled on: Dec 30 2014, at: 17:29:04 FFmpeg version: 2.5.2 libavutil 54. 15.100 / 54. 15.100 libavcodec 56. 13.100 / 56. 13.100 libavformat 56. 15.102 / 56. 15.102 libavdevice 56. 3.100 / 56. 3.100 libavfilter 5. 2.103 / 5. 2.103 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 This FFmpeg build was configured with: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib This build was compiled with the following external libraries: bzip2 1.0.6 <http://bzip.org/> Fontconfig 2.11.91 <http://freedesktop.org/wiki/Software/fontconfig> Frei0r 20130909-git-10d8360 <http://frei0r.dyne.org/> GnuTLS 3.2.20 <http://gnutls.org/> libiconv 1.14 <http://gnu.org/software/libiconv/> libass 0.12.0 <http://code.google.com/p/libass/> libbluray 0.6.2 <http://videolan.org/developers/libbluray.html> libbs2b 3.1.0 <http://bs2b.sourceforge.net/> libcaca 0.99.beta18 <http://caca.zoy.org/wiki/libcaca> FreeType 2.5.4 <http://freetype.sourceforge.net/> Game Music Emu 0.6.0 <http://code.google.com/p/game-music-emu/> GSM 1.0.13-4 <http://packages.debian.org/source/squeeze/libgsm> iLBC 20141214-git-ef04ebe <https://github.com/dekkers/libilbc/> Modplug-XMMS 0.8.8.5 <http://modplug-xmms.sourceforge.net/> LAME 3.99.5 <http://lame.sourceforge.net/> OpenCORE AMR 0.1.3 <http://sourceforge.net/projects/opencore-amr/> OpenJPEG 1.5.2 <http://www.openjpeg.org/> Opus 1.1 <http://opus-codec.org/> RTMPDump 20140707-git-a1900c3 <http://rtmpdump.mplayerhq.hu/> Schroedinger 1.0.11 <http://diracvideo.org/> libsoxr 0.1.1 <http://sourceforge.net/projects/soxr/> Speex 1.2rc2 <http://speex.org/> Theora 1.1.1 <http://theora.org/> TwoLAME 0.3.13 <http://twolame.org/> vid.stab 0.98 <http://public.hronopik.de/vid.stab/> VisualOn AAC 0.1.3 <https://github.com/mstorsjo/vo-aacenc> VisualOn AMR-WB 0.1.2 <https://github.com/mstorsjo/vo-amrwbenc> Vorbis 1.3.4 <http://vorbis.com/> vpx 1.3.0 <http://webmproject.org/> WavPack 4.70.0 <http://wavpack.com/> WebP 0.4.2 <https://developers.google.com/speed/webp/> x264 20141220-git-40bb568 <http://videolan.org/developers/x264.html> x265 1.4 <http://x265.org/> XAVS svn-r55 <http://xavs.sourceforge.net/> Xvid 1.3.3 <http://xvid.org/> XZ Utils 5.2.0 <http://tukaani.org/xz> zlib 1.2.8 <http://zlib.net/> The source code for this FFmpeg build can be found at: <http://ffmpeg.zeranoe.com/builds/source/> This build was compiled on Debian 8.0 (64-bit): <http://www.debian.org/> GCC 4.9.2 was used to compile this FFmpeg build: <http://gcc.gnu.org/> This build was compiled using the MinGW-w64 toolchain: <http://mingw-w64.sourceforge.net/> Licenses for each library can be found in the 'licenses' folder.
This is a FFmpeg Win64 shared build by Kyle Schwarz. Zeranoe's FFmpeg Builds Home Page: This build was compiled on: Dec 30 2014, at: 17:29:04 FFmpeg version: 2.5.2 libavutil 54. 15.100 / 54. 15.100 libavcodec 56. 13.100 / 56. 13.100 libavformat 56. 15.102 / 56. 15.102 libavdevice 56. 3.100 / 56. 3.100 libavfilter 5. 2.103 / 5. 2.103 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 This FFmpeg build was configured with: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib This build was compiled with the following external libraries: bzip2 1.0.6 <http://bzip.org/> Fontconfig 2.11.91 <http://freedesktop.org/wiki/Software/fontconfig> Frei0r 20130909-git-10d8360 <http://frei0r.dyne.org/> GnuTLS 3.2.20 <http://gnutls.org/> libiconv 1.14 <http://gnu.org/software/libiconv/> libass 0.12.0 <http://code.google.com/p/libass/> libbluray 0.6.2 <http://videolan.org/developers/libbluray.html> libbs2b 3.1.0 <http://bs2b.sourceforge.net/> libcaca 0.99.beta18 <http://caca.zoy.org/wiki/libcaca> FreeType 2.5.4 <http://freetype.sourceforge.net/> Game Music Emu 0.6.0 <http://code.google.com/p/game-music-emu/> GSM 1.0.13-4 <http://packages.debian.org/source/squeeze/libgsm> iLBC 20141214-git-ef04ebe <https://github.com/dekkers/libilbc/> Modplug-XMMS 0.8.8.5 <http://modplug-xmms.sourceforge.net/> LAME 3.99.5 <http://lame.sourceforge.net/> OpenCORE AMR 0.1.3 <http://sourceforge.net/projects/opencore-amr/> OpenJPEG 1.5.2 <http://www.openjpeg.org/> Opus 1.1 <http://opus-codec.org/> RTMPDump 20140707-git-a1900c3 <http://rtmpdump.mplayerhq.hu/> Schroedinger 1.0.11 <http://diracvideo.org/> libsoxr 0.1.1 <http://sourceforge.net/projects/soxr/> Speex 1.2rc2 <http://speex.org/> Theora 1.1.1 <http://theora.org/> TwoLAME 0.3.13 <http://twolame.org/> vid.stab 0.98 <http://public.hronopik.de/vid.stab/> VisualOn AAC 0.1.3 <https://github.com/mstorsjo/vo-aacenc> VisualOn AMR-WB 0.1.2 <https://github.com/mstorsjo/vo-amrwbenc> Vorbis 1.3.4 <http://vorbis.com/> vpx 1.3.0 <http://webmproject.org/> WavPack 4.70.0 <http://wavpack.com/> WebP 0.4.2 <https://developers.google.com/speed/webp/> x264 20141220-git-40bb568 <http://videolan.org/developers/x264.html> x265 1.4 <http://x265.org/> XAVS svn-r55 <http://xavs.sourceforge.net/> Xvid 1.3.3 <http://xvid.org/> XZ Utils 5.2.0 <http://tukaani.org/xz> zlib 1.2.8 <http://zlib.net/> The source code for this FFmpeg build can be found at: <http://ffmpeg.zeranoe.com/builds/source/> This build was compiled on Debian 8.0 (64-bit): <http://www.debian.org/> GCC 4.9.2 was used to compile this FFmpeg build: <http://gcc.gnu.org/> This build was compiled using the MinGW-w64 toolchain: <http://mingw-w64.sourceforge.net/> Licenses for each library can be found in the 'licenses' folder.
泛型编程 异常类 线性表 数组 单链表 智能指针 循环链表 双向链表 内核链表 栈和队列 字符串 递归 排序 树 二叉树 图 BFS DFS Prim kruskal Dijkstra Floyd
本文档包含源代码,可执行程序,和打包好的可执行程序,IoT平台北向应用证书使用指南,华为IoT平台北向API参考。在源代码中的readme.txt,记录了本人学习的过程和遇到的问题。大家可以交流下载。
qt+mingw64+windows10+ffmpeg2.5.2 64位+rtsp保证编译可用 1.ui界面 labvideo1 通道1 labvideo2 通道2 labvideo3 通道3 labImage 截图显示 通道12使用水平布局 通道3和截图显示使用水平布局 整体使用垂直布局 2.qffmpeg.h qffmpeg.cpp的实现 是一个视频解码的过程 具体可参考 https://www.cnblogs.com/wangguchangqing/p/5734998.html https://www.cnblogs.com/wangguchangqing/p/5744941.html 通过上面两篇博客可以了解ffmpeg(本次需要用到的API)。 建议先学习以下博客 从零开始学习音视频编程技术,本人因项目需要只需要处理视频,建议大家学习前6章,基本够用了做一个流媒体播放器 http://blog.yundiantech.com/?log=blog&id=4 前12节音视频概念。 第三节开发环境搭建 第四节ffmpeg的使用 第五节使用FFMPEG解码视频之保存成图片 第六节FFMPEG Qt视频播放器之显示图像
使用QT5开发,界面使用QT ui设计器,参考网上通用代码例程,自己做了修改,可以正常读取HLW8032功率计量芯片的的数据,并在上位机中解析计算,代码中都有注释希望对初入坑的同学有所帮助