12 2021 档案
摘要:#ifndef PCH_H #define PCH_H extern "C" { #include "libavutil/opt.h" #include "libavutil/channel_layout.h" #include "libavutil/common.h" #include "liba
阅读全文
摘要:#ifndef PCH_H #define PCH_H extern "C" { #include "libavutil/opt.h" #include "libavutil/channel_layout.h" #include "libavutil/common.h" #include "liba
阅读全文
摘要:#ifndef PCH_H #define PCH_H extern "C" { #include "libavutil/opt.h" #include "libavutil/channel_layout.h" #include "libavutil/common.h" #include "liba
阅读全文
摘要:#ifndef PCH_H #define PCH_H extern "C" { #include "libavutil/opt.h" #include "libavutil/channel_layout.h" #include "libavutil/common.h" #include "liba
阅读全文
摘要:一、在QT下使用C11的函数 1 #pragma once 2 //C11的方法 3 #include <thread> // std::thread, std::this_thread::sleep_for 4 #include <chrono> // std::chrono::seconds 5
阅读全文
摘要:来自:https://blog.csdn.net/weixin_41882459/article/details/111060429 1.下载需要安装的qt creator版本,我下载的是:5.12版本,网址:download.qt.io/archive/qt/5.12/5.12.0/ 2.开始安装
阅读全文
摘要:https://blog.csdn.net/zhangpengzp/article/details/88632455 源文解解比较详细,不再复制。代码列出。 #pragma once #include <QWidget> #include "ui_SimpleCamera.h" class Simp
阅读全文
摘要:https://blog.csdn.net/aqiasi007/article/details/100994012 #pragma once #include <QWidget> #include "ui_PlayerSDL.h" #include <QLabel> #include <QDebug
阅读全文
摘要:开发环境:MinGW+QT5.9+FFMPEG20190212+SDL2.0.9 一、开发环境搭建 (1)下载工具 在https://ffmpeg.zeranoe.com/builds/下载对应版本。链接方式有三种, Static:这个版本只包含了ffmpeg.exe、ffplay.exe、ffpr
阅读全文
摘要:#pragma once #include <QThread> #include <QImage> class VideoPlayer :public QThread { Q_OBJECT public: VideoPlayer(); ~VideoPlayer(); void run(); priv
阅读全文
摘要:原文出自:https://mp.weixin.qq.com/s/z1LXwRVPlDqxn_p3DIFOag #include <iostream> #include <stdio.h> #include <Windows.h> using namespace std; extern "C" { #
阅读全文