会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
linux-learn
博客园
首页
新随笔
联系
订阅
管理
2025年12月
ffmpeg移植到arm
摘要: 一、移植x264 1、进入解压后的路径x264-master,执行以下命令:./configure --enable-shared --prefix=/home/ubuntu/work/ffmpeg/_x264_install/ --host=arm-linux-gnueabihf --disabl
阅读全文
posted @ 2025-12-07 14:26 *^VV^*
阅读(3)
评论(0)
推荐(0)
2025年9月
apache修改默认位置
摘要: 1、修改apache2.conf文件 <Directory 自定义目录/xx/xx/xx> Options Indexes FollowSymLinks AllowOverride None Require all granted</Directory> 2、修改sites-available/00
阅读全文
posted @ 2025-09-17 18:48 *^VV^*
阅读(6)
评论(0)
推荐(0)
2025年7月
ESP IDF引入外部资源文件
摘要: 1、将资源文件存入数据分区 1、在分区表创建分区 storage, data, spiffs, , 1M 2、main文件中添加(将 ../data 中的文件存入storage分区) spiffs_create_partition_image(storage ../data FLASH_IN_PRO
阅读全文
posted @ 2025-07-27 08:56 *^VV^*
阅读(61)
评论(0)
推荐(0)
2025年6月
printf输出格式
摘要: %d 十进制有符号整数 %u 十进制无符号整数 %f 浮点数 %s 字符串 %c 单个字符 %p 指针的值 %e 指数形式的浮点数 %x, %X 无符号以十六进制表示的整数 %o 无符号以八进制表示的整数 %g 把输出的值按照 %e 或者 %f 类型中输出长度较小的方式输出 %p 输出地址符 %lu
阅读全文
posted @ 2025-06-27 19:07 *^VV^*
阅读(25)
评论(0)
推荐(0)
2025年5月
ESP32 IDF常用命令
摘要: 1、创建工程 idf.py create-project --path <project name> 2、创建组件 idf.py create-component <component name> 3、设置芯片 idf.py --list-targets //命令查看支持的芯片类型 idf.py s
阅读全文
posted @ 2025-05-10 11:13 *^VV^*
阅读(139)
评论(0)
推荐(0)
2025年1月
mplayer播放标准输入音视频
摘要: 播放标准输入视频 cat ftest.mp4 | mplayer -zoom -x 320 -y 240 -vo x11 -cache 3000 - > /dev/null cat test.mp4 将文件内容输出到标准输出,然后通过管道 | 传递给 mplayer,其中 -zoom -x 320
阅读全文
posted @ 2025-01-16 20:08 *^VV^*
阅读(28)
评论(0)
推荐(0)
压力单位换算
摘要: 1MPa = 1000KPa = 1000000Pa 1bar = 0.1Mpa 1MPa相当于100米水压 1bar相当于10米水压
阅读全文
posted @ 2025-01-08 08:04 *^VV^*
阅读(221)
评论(0)
推荐(0)
简易动态进程池
摘要: /************proto.h********************/ #ifndef __PROTO_H__#define __PROTO_H__ #define FORMAT "%ld\n"#define MINIDLEPROCNUM 5#define MAXIDLEPROCNUM
阅读全文
posted @ 2025-01-07 10:37 *^VV^*
阅读(11)
评论(0)
推荐(0)
2024年12月
vim多文件切换快捷键
摘要: 1、打开多个文件 vim * -p 2、文件切换 g+t依次切换
阅读全文
posted @ 2024-12-26 20:55 *^VV^*
阅读(54)
评论(0)
推荐(0)
2024年11月
C语言跨函数安全跳转(setjmp/longjmp)
摘要: #include <stdio.h>#include <stdlib.h>#include <setjmp.h> static jmp_buf env; void d(void){ fprintf(stdout,"%s\n",__func__); fprintf(stdout,"d end\n");
阅读全文
posted @ 2024-11-12 09:55 *^VV^*
阅读(41)
评论(0)
推荐(0)
下一页
公告