摘要: ffmpeg -i test.mp4 ./%06d.png ffmpeg -f image2 -i ./test_result/%06d.jpg -vcodec libx264 -s 1920x1080 -y 20_ppl_result.mp4 阅读全文
posted @ 2021-08-30 10:45 Cristiano-Duan 阅读(372) 评论(0) 推荐(0) 编辑
摘要: issue fix minikube start --image-mirror-country='cn' --image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers' 阅读全文
posted @ 2021-06-11 10:34 Cristiano-Duan 阅读(79) 评论(0) 推荐(0) 编辑
摘要: ls -R `pwd`/*.yuv > path.txt 阅读全文
posted @ 2021-02-03 14:17 Cristiano-Duan 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 1. client侧生成ssh key ssh-keygen -t rsa -b 4096 -C "email@example.com" 2. 将id_rsa.pub的内容复制到server端~/.ssh/authorized_keys文件中 如果~/.ssh/authorized_keys文件不存 阅读全文
posted @ 2021-01-18 15:40 Cristiano-Duan 阅读(113) 评论(0) 推荐(0) 编辑
摘要: awk: line 1: syntax error at or near , 安装gawk即可解决 sudo apt install gawk 阅读全文
posted @ 2021-01-04 14:49 Cristiano-Duan 阅读(1295) 评论(0) 推荐(0) 编辑
摘要: 1. yuv图转为png图 ffmpeg -s 1920x1080 -i decode_249.yuv decode_249.png 2. 查看yuv格式图 ffplay -pixel_format yuv420p -video_size 1920x1080 decode_249.yuv 3. 拉取 阅读全文
posted @ 2020-12-31 11:51 Cristiano-Duan 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 将客户端~/.ssh/id_rsa.pub内容拷贝到server端的~/.ssh/authorized_keys文件中,如果authorized_keys不存在则手动创建 阅读全文
posted @ 2020-12-17 10:14 Cristiano-Duan 阅读(86) 评论(0) 推荐(0) 编辑
摘要: cvnamedWindow用于创建一个窗口,一般和imshow一起使用.但cvnamedWindow是非线程安全的,当多个线程同时显示图像时,cv::namedWindow可能因为资源竞争而崩溃: cannot register existing type 'gdkdevice' cannot re 阅读全文
posted @ 2020-11-30 10:37 Cristiano-Duan 阅读(443) 评论(0) 推荐(0) 编辑
摘要: ./.libs/libgcrypt.so undefined reference to `__warn_memset_zero_len' 源码安装某些库时比如libgcrypt和opencv等,如果出现undefined reference的错误,请检查编译用的gcc版本,gcc4.9和gcc5.4 阅读全文
posted @ 2020-08-04 15:13 Cristiano-Duan 阅读(385) 评论(0) 推荐(0) 编辑
摘要: ld链接器在链接静态库时,如果这些库有依赖关系,那么要注意链接时的顺序。 如果在编译脚本或者CMakeLists.txt中明明已经链接了这些静态库,但是使用链接后的库或者可执行文件时,报undefined reference错误 使用nm -C命令查看链接后的库或可执行文件中的符号时,符号类型为U, 阅读全文
posted @ 2020-07-23 19:28 Cristiano-Duan 阅读(400) 评论(0) 推荐(0) 编辑