上一页 1 2 3 4 5 6 7 8 ··· 39 下一页
摘要: 安装 cmake-js 时遇到 npm ERR! code EUNSUPPORTEDPROXY 错误 这种一般是代理问题,需要手动设置代理地址,如下: npm config set http-proxy [url][port] #代理地址+端口 npm config set proxy [url][ 阅读全文
posted @ 2024-08-08 17:52 strive-sun 阅读(52) 评论(0) 推荐(0)
摘要: 1. C++ Primer 2. 深入理解 FFmpeg 3. 鸿蒙 sdk 开发 4. LLVM Core Libraries GCC和 LLVM 都是三段式编译的工作原理,分别是前端、优化器和后端。 前端负责解析源代码,检查语法错误,并将其翻译为抽象的语法树; 优化器对这一中间代码进行优化,试图 阅读全文
posted @ 2024-07-30 16:24 strive-sun 阅读(23) 评论(0) 推荐(0)
摘要: 1. 查看 .so 符号表 objdump -T libxxx.so 2. 查看文件大小 ls -lf libxxx.so 3. 查看 .a 架构信息 lipo -detailed_info libxxx.a 4. 安装 cmake.js brew install node https://yves 阅读全文
posted @ 2024-07-30 14:32 strive-sun 阅读(61) 评论(0) 推荐(0)
摘要: 问:为什么需要 avcodec_parameters_copy 复制编码参数 回答: 在使用 FFmpeg 进行媒体文件重打包(remux)时,需要将输入文件中的各个流(音频流、视频流、字幕流等)复制到输出文件中。在这个过程中,avcodec_parameters_copy 函数用于复制输入流的编解 阅读全文
posted @ 2024-06-14 18:37 strive-sun 阅读(35) 评论(0) 推荐(0)
摘要: 解封装涉及到很多接口的调用 AVFormatContext: 初始化格式上下文,由 avfomat_alloc_output_context2(&oc, NULL, NULL, filename) 赋值 作用:用于封装和解封装的核心数据结构是 AVFormatContext,它包含所有关于正在读取或 阅读全文
posted @ 2024-06-14 12:24 strive-sun 阅读(107) 评论(0) 推荐(0)
摘要: HLS、HTTP+FLV 和 DASH 是三种常见的流媒体传输协议,它们在技术实现、使用场景和优缺点方面都有显著的区别。以下是对它们的关系和区别的详细解释,以及当前最流行的流媒体传输协议的讨论。 HLS(HTTP Live Streaming) 开发者: 由 Apple 开发。 工作原理: 将视频切 阅读全文
posted @ 2024-05-31 15:16 strive-sun 阅读(595) 评论(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 阅读(13) 评论(0) 推荐(0)
摘要: 一天一个小“姿势” 问题:如何在远端仓库中添加特定的分支 答:git push upstream v0.1.0 解释:upstream 是远端仓库的地址,v0.1.0 是当前分支的名字,会同步到远端分支(这边是新建一个远端分支) 阅读全文
posted @ 2024-05-22 19:42 strive-sun 阅读(23) 评论(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 阅读(179) 评论(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 阅读(150) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 39 下一页