上一页 1 ··· 8 9 10 11 12 13 14 下一页
摘要: 基本 打印目标文件的共享库依赖 $ file /usr/bin/ldd /usr/bin/ldd: Bourne-Again shell script, ASCII text executable 举例 $ ldd /bin/ls linux-vdso.so.1 (0x00007ffe613ea00 阅读全文
posted @ 2021-11-14 16:58 flxx 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 可选值包括: Debug:用于在没有优化的情况下,使用带有调试符号构建库或可执行文件 Release:用于构建的优化的库或可执行文件,不包含调试符号 RelWithDebInfo:由于构建较少的优化库或可执行文件,包含调试符号 MinSizeRel:用于不增加目标代码大小的优化方式,来构建或可执行文 阅读全文
posted @ 2021-11-14 12:50 flxx 阅读(6355) 评论(0) 推荐(0) 编辑
摘要: nodiscard:若返回值被舍弃,则鼓励编译器发布警告。 语法 // C++17 [[nodiscard]] [[__nodiscard__]] // C++20 [[nodiscard(字符串字面值)]] [[__nodiscard__(字符串字面值)]] 字符串字面量 - 能用于解释结果不应被 阅读全文
posted @ 2021-11-13 23:38 flxx 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 提取视频 保留封装格式 ffmpeg -i cctv1.flv -an -vcodec copy cctv1_copy.flv $ ffprobe cctv1.flv Input #0, flv, from 'cctv1.flv': Metadata: encoder : Lavf58.20.100 阅读全文
posted @ 2021-11-07 15:21 flxx 阅读(1167) 评论(0) 推荐(0) 编辑
摘要: [toc] ## ffmpeg简介 ```shell Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... G 阅读全文
posted @ 2021-11-07 10:57 flxx 阅读(912) 评论(0) 推荐(0) 编辑
摘要: ffmpeg功能说明:超级好用的音视频编码器 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... Getti 阅读全文
posted @ 2021-11-07 09:46 flxx 阅读(123) 评论(0) 推荐(0) 编辑
摘要: ffplay命令行使用指南 简单的媒体播放器 用法:ffplay [options] input_file 查看官方帮助文档ffplay -h Main options Advanced options AVOptions 播放多媒体文件 播放本地文件 ffplay test.flv ffpaly 阅读全文
posted @ 2021-11-06 21:26 flxx 阅读(1213) 评论(0) 推荐(0) 编辑
摘要: 0. 重中之重 不能抛异常 要异步输出,不能阻塞业务逻辑 性能尽量高 1. 用途 线上查bug 开发阶段功能验证 学习阶段猜测验证 2. 记录时机 状态变更时 数据变更时 异常返回时 检测输入无效时 定时输出程序的内部资源状态(内存池,线程池,连接池) 3. 严重等级规定 critial:必杀技,比 阅读全文
posted @ 2021-11-04 10:04 flxx 阅读(71) 评论(0) 推荐(0) 编辑
摘要: [toc] # 随机数的用途 - 单元测试 - 游戏抽奖 - 仿真及安全 - and so on # 伪随机数:c++产生随机数 ## 生成器(engine):能够产生离散的等可能分布数值 - 如线性同余法(linear_congruential_engine) - 梅森旋转法(meraenne_t 阅读全文
posted @ 2021-11-04 10:01 flxx 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 普通多目录 源码 .. ├── build ├── CMakeLists.txt ├── main.c └── math ├── CMakeLists.txt ├── math_add.c ├── math.h └── math_sub.c 2 directories, 6 files // mat 阅读全文
posted @ 2021-10-30 22:41 flxx 阅读(1169) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 下一页