摘要:
设计思路 采集参数设置 开始/停止采集 编码参数设置和销毁 图像处理 完整例子代码 参考 设计思路 使用AVCaptureSession创建采集会话,获取图像数据后通过VideoToolBox进行编码。 采集参数设置 AVCaptureSession需要AVCaptureDeviceInput作为输
阅读全文
posted @ 2021-12-31 14:03
gongluck
阅读(411)
推荐(0)
摘要:
"https://gongluck.netlify.com/"
阅读全文
posted @ 2020-04-10 21:47
gongluck
阅读(232)
推荐(0)
摘要:
思路 libvlc解码转码出RGBA和播放音频,再将RGBA量化为黑(' ')白(' ')两个颜色并输出到屏幕。 效果视频 "https://www.bilibili.com/video/BV1N64y1u7BD" 代码仓库 "https://github.com/gongluck/Characte
阅读全文
posted @ 2020-04-05 14:02
gongluck
阅读(524)
推荐(0)
摘要:
生成目录: 缓存目录: 调试目录: 这样文件就都按项目和平台区分好了。
阅读全文
posted @ 2020-03-25 09:18
gongluck
阅读(393)
推荐(0)
摘要:
代码地址 "https://github.com/gongluck/Code snippet/tree/master/cpp/code%20conversion" 需求 编码转换在实际开发中经常遇到,通常是ANSI、Unicode和Utf 8之间相互转换。实现也有很多种,有查表法、使用C++11、使
阅读全文
posted @ 2020-03-24 09:54
gongluck
阅读(2837)
推荐(0)
摘要:
代码地址 "https://github.com/gongluck/Code snippet/tree/master/cpp/config" 需求 开发中,读取配置文件信息必不可少。Windows平台有现成的API可用,也很方便。但是一旦项目迁移到Linux平台下,原先在Windows平台下的代码就
阅读全文
posted @ 2020-03-24 09:40
gongluck
阅读(1427)
推荐(0)
摘要:
前言 一直听闻QML无比强大好用,工作中需要扣一个同时播放视频的Demo,所以就趁这个机会研究了一下。 效果图和源码 "源码仓库" 主要设计 主页面QML 程序窗口共有4个播放器,最下层有1个,剩下3个作为子控件放在其上方。 播放器QML 使用QML提供的MediaPlayer和VideoOutpu
阅读全文
posted @ 2020-03-03 15:57
gongluck
阅读(2872)
推荐(0)
摘要:
这周五,就是昨天,部门走了3个人。他们是“被离职”的,从被通知到走人,只过了一周左右。一开始经理和他们谈的时候,说有没有赔偿不能确定,然后到周四左右,上面的人可能是等急了,才说年终奖和“N+1”二选一(™谁会选年终奖啊,今年年终奖有没有1都不知道)。所以他们三个人都答应了,光速走人了。 其实他们真的
阅读全文
posted @ 2020-01-18 11:04
gongluck
阅读(404)
推荐(0)
摘要:
Github https://github.com/gongluck/FFmpeg4.0 study/tree/master/Cff C++ // 采集系统声音 void test_systemsound() { bool ret = false; std::string err; CDemux d
阅读全文
posted @ 2019-07-06 15:53
gongluck
阅读(1270)
推荐(0)
摘要:
Github https://github.com/gongluck/FFmpeg4.0 study/tree/master/Cff C++ // 采集桌面 void test_desktop() { bool ret = false; std::string err; CDemux demux;
阅读全文
posted @ 2019-07-06 15:51
gongluck
阅读(1390)
推荐(0)
摘要:
Github https://github.com/gongluck/FFmpeg4.0 study/tree/master/Cff CDemux.h CDemux.cpp C++ / Copyright(c) 2019 All rights reserved. 文件名称: CDemux.cpp 简
阅读全文
posted @ 2019-07-06 15:49
gongluck
阅读(817)
推荐(0)
摘要:
Github https://github.com/gongluck/SDL2 study/tree/master/Csdl2 Csdl2.h Csdl2.cpp 测试 C++ include "Csdl2.h" include include include define TESTCHECKRET
阅读全文
posted @ 2019-06-21 19:19
gongluck
阅读(617)
推荐(0)
摘要:
Github https://github.com/gongluck/FFmpeg4.0 study/tree/master/Cff CSwr.h CSwr.cpp 测试
阅读全文
posted @ 2019-06-14 15:59
gongluck
阅读(654)
推荐(0)
摘要:
Github https://github.com/gongluck/FFmpeg4.0 study/tree/master/Cff CSws.h CSws.cpp 测试
阅读全文
posted @ 2019-06-14 10:58
gongluck
阅读(536)
推荐(0)
摘要:
Github https://github.com/gongluck/FFmpeg4.0 study/tree/master/Cff CDecode.h CDecode.cpp 测试
阅读全文
posted @ 2019-06-13 16:19
gongluck
阅读(963)
推荐(0)
摘要:
https://blog.csdn.net/yu_lei_/article/details/83218744
阅读全文
posted @ 2019-05-29 17:03
gongluck
阅读(589)
推荐(0)
摘要:
0、下载TDM、msys和yasm 1、安装TDM GCC 64 2、安装msys到TDM GCC的安装目录中 3、将 加到msys.bat的第一行中 4、复制yasm 1.3.0 win64.exe(重命名为yasm.exe)到msys的bin目录下 5、重命名msys的bin目录下的link.e
阅读全文
posted @ 2019-05-20 19:12
gongluck
阅读(3455)
推荐(0)
摘要:
Github https://github.com/gongluck/FFmpeg4.0 study/blob/master/official%20example/my_example.cpp
阅读全文
posted @ 2019-05-07 20:44
gongluck
阅读(2042)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git C++ //第14章 探索虚拟内存.cpp: 定义应用程序的入口点。 // include "stdafx.h" include "第14章 探索虚拟内存.h" int APIEN
阅读全文
posted @ 2018-08-18 16:12
gongluck
阅读(214)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-07-19 16:02
gongluck
阅读(140)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-07-19 14:12
gongluck
阅读(291)
推荐(1)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-07-19 14:11
gongluck
阅读(322)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git C++ //第10章 同步设备IO与异步设备IO.cpp: 定义应用程序的入口点。 // include "stdafx.h" include "第10章 同步设备IO与异步设备I
阅读全文
posted @ 2018-07-19 13:36
gongluck
阅读(450)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git C++ //第9章 用内核对象进行线程同步.cpp: 定义应用程序的入口点。 // include "stdafx.h" include "第9章 用内核对象进行线程同步.h" i
阅读全文
posted @ 2018-07-19 13:34
gongluck
阅读(221)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git C++ //第8章 用户模式下的线程同步.cpp: 定义应用程序的入口点。 // include "stdafx.h" include "第8章 用户模式下的线程同步.h" LON
阅读全文
posted @ 2018-06-24 16:04
gongluck
阅读(220)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-06-13 10:11
gongluck
阅读(322)
推荐(0)
摘要:
GitHub https://github.com/gongluck/Opencv3.4 study.git C++ include "opencv2/opencv.hpp" using namespace cv; pragma comment(lib, "opencv_calib3d340d.li
阅读全文
posted @ 2018-06-09 21:06
gongluck
阅读(2050)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-06-08 16:13
gongluck
阅读(193)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-06-08 16:11
gongluck
阅读(257)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git C++ //第4章 进程.cpp: 定义应用程序的入口点。 // include "stdafx.h" include "第4章 进程.h" include pragma warn
阅读全文
posted @ 2018-06-08 16:09
gongluck
阅读(329)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-06-08 16:06
gongluck
阅读(162)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-05-23 23:05
gongluck
阅读(204)
推荐(0)
摘要:
Github https://github.com/gongluck/Windows Core Program.git
阅读全文
posted @ 2018-05-23 22:58
gongluck
阅读(408)
推荐(0)
摘要:
Github https://github.com/gongluck/Opencv3.4 study.git
阅读全文
posted @ 2018-05-23 22:55
gongluck
阅读(366)
推荐(1)
摘要:
下载安装CMake 下载Opencv源码 打开CMake,设置源码路径和生成路径,点击Configure选择要生成的版本。(这里要多次Configure,直到所有红色消失!) 勾选BUILD_opencv_world的话,表示只生成一个库文件(集合起来)。点击Generate开始生成工程项目。 点击
阅读全文
posted @ 2018-05-12 23:30
gongluck
阅读(401)
推荐(0)
摘要:
Github https://github.com/gongluck/FFmpeg4.0 study.git C++ include using namespace std; extern "C" { include "libavformat/avformat.h" include "libavut
阅读全文
posted @ 2018-05-12 13:38
gongluck
阅读(1291)
推荐(0)
摘要:
Github: https://github.com/gongluck/FFmpeg4.0 study.git C++ include using namespace std; extern "C" { include "libavformat/avformat.h" include "libavu
阅读全文
posted @ 2018-05-12 00:25
gongluck
阅读(720)
推荐(0)
摘要:
下载源码 从GitHub上下载: https://github.com/j0sh/crtmpserver.git 编译安装 运行
阅读全文
posted @ 2018-05-10 19:00
gongluck
阅读(679)
推荐(0)
摘要:
综合应用 —— 名片管理系统 目标 综合应用已经学习过的知识点: 变量 流程控制 函数 模块 开发 名片管理系统 系统需求 1. 程序启动,显示名片管理系统欢迎界面,并显示功能菜单 2. 用户用数字选择不同的功能 3. 根据功能选择,执行不同的功能 4. 用户名片需要记录用户的 姓名 、 电话 、
阅读全文
posted @ 2018-04-21 21:06
gongluck
阅读(465)
推荐(0)
摘要:
高级变量类型 目标 列表 元组 字典 字符串 公共方法 变量高级 知识点回顾 Python 中数据类型可以分为 数字型 和 非数字型 数字型 整型 ( ) 浮点型( ) 布尔型( ) 真 `非 0 数` —— 非零即真 假 `0` 复数型 ( ) 主要用于科学计算,例如:平面场问题、波动问题、电感电
阅读全文
posted @ 2018-04-21 21:05
gongluck
阅读(289)
推荐(0)