摘要: 1. C++ Primer 2. 深入理解 FFmpeg 3. 鸿蒙 sdk 开发 4. LLVM Core Libraries GCC和 LLVM 都是三段式编译的工作原理,分别是前端、优化器和后端。 前端负责解析源代码,检查语法错误,并将其翻译为抽象的语法树; 优化器对这一中间代码进行优化,试图 阅读全文
posted @ 2024-07-30 16:24 strive-sun 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 书籍: 现代 C++ 教程 日常查阅资料看到的有用文章链接: C++11新特性总结(相比C++98) C++ 智能指针的正确使用方式 对于智能指针的使用,实际上是对所有权和生命周期的思考,一旦想明白了这两点,那对智能指针的使用也就得心应手了。 https://suzulang.com/try-lib 阅读全文
posted @ 2021-08-23 23:06 strive-sun 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 1. 查看 .so 符号表 objdump -T libxxx.so 2. 查看文件大小 ls -lf libxxx.so 3. 查看 .a 架构信息 lipo -detailed_info libxxx.a 4. 阅读全文
posted @ 2024-07-30 14:31 strive-sun 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 解封装涉及到很多接口的调用 AVFormatContext: 初始化格式上下文,由 avfomat_alloc_output_context2(&oc, NULL, NULL, filename) 赋值 作用:用于封装和解封装的核心数据结构是 AVFormatContext,它包含所有关于正在读取或 阅读全文
posted @ 2024-06-14 12:24 strive-sun 阅读(8) 评论(0) 推荐(0) 编辑
摘要: HLS、HTTP+FLV 和 DASH 是三种常见的流媒体传输协议,它们在技术实现、使用场景和优缺点方面都有显著的区别。以下是对它们的关系和区别的详细解释,以及当前最流行的流媒体传输协议的讨论。 HLS(HTTP Live Streaming) 开发者: 由 Apple 开发。 工作原理: 将视频切 阅读全文
posted @ 2024-05-31 15:16 strive-sun 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 阅读多线程实战第六章第二节时,看到 mutable 关键词的使用,突然忘记它的含义 => https://github.com/xiaoweiChen/CPP-Concurrency-In-Action-2ed-2019/blob/master/content/chapter6/6.2-chines 阅读全文
posted @ 2024-05-23 15:30 strive-sun 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 一天一个小“姿势” 问题:如何在远端仓库中添加特定的分支 答:git push upstream v0.1.0 解释:upstream 是远端仓库的地址,v0.1.0 是当前分支的名字,会同步到远端分支(这边是新建一个远端分支) 阅读全文
posted @ 2024-05-22 19:42 strive-sun 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 在我建议 sentry-native 社区添加 content: gzip 功能,并提交了一个 PR 帮助他们完成后,终于在 v0.7.2 中添加了该功能 https://github.com/getsentry/sentry-native/releases/tag/0.7.2 不过实际中使用与旧版 阅读全文
posted @ 2024-05-22 19:30 strive-sun 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1. 在 Ubuntu 22.04 64位上编译 FFmpeg-0.6.3 时,使用 ./configure 配置时遇到如下错误 ffserver.c: In function ‘rtsp_cmd_describe’: ffserver.c:2987:5: error: implicit decla 阅读全文
posted @ 2024-04-25 18:43 strive-sun 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 教程:https://www.electronjs.org/zh/docs/latest/tutorial/quick-start 系统:Windows 10 工具: PowerShell 文件目录:index.html main.js package.json 和 preload.js 是手动添加 阅读全文
posted @ 2024-03-29 18:59 strive-sun 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1. H.264 和 H.265 区别 参考:https://winddoing.github.io/post/4a8fdf27.html 阅读全文
posted @ 2024-03-14 11:44 strive-sun 阅读(3) 评论(0) 推荐(0) 编辑