会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ncist-m
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
下一页
2020年5月11日
ffmpeg 加中文水印不能显示的问题
摘要: 引用资料:https://blog.csdn.net/DeliaPu/article/details/76162489 中文不能显示的原因是没有指定字体库路径。只要把windows上的ttf文件移动到linux上,在程序中指定ttf文件路径和名称就可以使用中文字体了。我使用的ttf是msyh.ttf
阅读全文
posted @ 2020-05-11 10:46 yushimeng
阅读(2007)
评论(0)
推荐(0)
2020年4月28日
ffmpeg 使用小结
摘要: 1.第一种 m_pFrameVideoOut = av_frame_alloc(); m_pFrameVideoOut->format = AV_PIX_FMT_BGR24; m_pFrameVideoOut->width = m_VideoCodecCtx->width; m_pFrameVide
阅读全文
posted @ 2020-04-28 21:33 yushimeng
阅读(611)
评论(0)
推荐(0)
2020年4月4日
windos7下 vs搭建ffmpeg开发环境
摘要: 步骤: 1、ffmpeg下载最新的share版本和dev版本 2、vs新建控制台应用程序,把dev版本的include和lib文件夹拷贝到项目目录下,把share版本的dll全部拷贝到项目目录下 3、配置vs的头文件搜索路径和lib搜索路径 4、编写一个测试文件,编译并运行 注意点: 1、测试文件是
阅读全文
posted @ 2020-04-04 20:23 yushimeng
阅读(264)
评论(0)
推荐(0)
2020年4月3日
记录下centos下 ffmpeg项目编译参数
摘要: 官网下载最新的ffmpeg源文件,直接./confiure --prefix=path_to_install && make && make install ,期间没有什么问题。(但是在最后想生成动态库的时候有问题,暂时不去解决了,静态的先凑合用吧) 但是在写了一个测试文件去测试的时候,总是链接错误
阅读全文
posted @ 2020-04-03 23:38 yushimeng
阅读(388)
评论(0)
推荐(0)
2020年4月2日
windows编译ffmpeg出错记录
摘要: ./configure --toolchain=msvc --enable-cross-compile --arch=x86_64 --extra-ldflags="-static-libgcc" --extra-cflags=-I/usr/include --extra-ldflags=-L/us
阅读全文
posted @ 2020-04-02 22:27 yushimeng
阅读(1078)
评论(0)
推荐(0)
运行时提示build with xxx but running with xxxx
摘要: 问题现象: libpng warning: Application built with libpng-1.6.37 but running with 1.5.13; 原因: 编译时,用的一个版本的库。但是运行的时候用的却是另外一个版本的库。 解决办法: 编译的时候指定通过 -L参数 指向一个版本的
阅读全文
posted @ 2020-04-02 11:21 yushimeng
阅读(1188)
评论(0)
推荐(0)
gcc编译提示未定义的引用
摘要: 问题现象: [root@localhost mico]# gcc test_wrapper.c -L ./ -lqrencode_wrapper -lqrencode.//libqrencode_wrapper.so:对‘png_set_pHYs’未定义的引用.//libqrencode_wrapp
阅读全文
posted @ 2020-04-02 11:19 yushimeng
阅读(4353)
评论(0)
推荐(0)
2020年2月25日
ngx_http_finalize_request的使用
摘要: 情景: 开发了一个http模块,挂在conten-phase阶段, static char * ngx_http_ivms(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) { ngx_http_core_loc_conf_t *clcf; clcf =
阅读全文
posted @ 2020-02-25 18:50 yushimeng
阅读(1229)
评论(0)
推荐(0)
2020年2月12日
nginx http 接收报文的小问题
摘要: 本来包体长度170是没问题的,接收到r->request_body->bufs->buf->pos, 结尾为r->request_body->bufs->buf->last. cgdb过程中发现last - pos = 170 但是不是指向结尾,而是指向了webrtcid字段里面了。 解答: 报文中
阅读全文
posted @ 2020-02-12 14:50 yushimeng
阅读(285)
评论(0)
推荐(0)
2019年12月17日
C在if判断条件中混入?
摘要: #include <stdio.h> int main() { int a=9, b = 0; char *p ; int tmp=0; if(1>0?0:0){ printf("1>0 1\n"); } else { printf("1>0 0\n"); // 1>0 0 } if(1>0?++t
阅读全文
posted @ 2019-12-17 10:36 yushimeng
阅读(182)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
下一页
公告