![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发
jqzw
这个作者很懒,什么都没留下…
展开
-
x264编译,dll
今天终于把x264的lib重新包装成了dll,提供初始化,编码,销毁三个对外接口,调用方便。接下来跟前些天新搞的directshow采集视频结合起来,把编码数据发送到server,然后客户端利用原来我从ffmpeg中提取的h264解码器来解码。先把整个流程串起来,然后再去分析x264以及ffmpeg。另外ffmpeg中的libavcodec也好好研究一下,很有价值的。原创 2008-10-30 21:48:00 · 883 阅读 · 1 评论 -
编译ffmpeg--转载
1:dllwrap -mno-cygwin --target=i386-mingw32 --def libavcodec.def -o libavcodec.dll libavcodec/allcodecs.o libavcodec/mem.o libavcodec/common.o libavcodec/utils.o libavcodec/mpegvideo.o libavcodec/h263转载 2008-10-30 21:27:00 · 784 阅读 · 0 评论 -
unresolved external symbol "public: virtual __thiscall...错误
在VC编程中,经常遇到error LNK2001编译错误。一般把相应的库函数加载进去就可以了。另外最近在编译x264库的时候,由于是重新自己组织的代码,很多asm汇编函数的编译选项并没有增加对汇编的支持,使得编译的时候根本不编译asm,致使在使用lib的时候出现找不到某个函数的实体的错误。今天在编译一个程序的时候,却遇到了这样一个怪情况:某个自己写的dll,debug编译没问题,被别的原创 2008-11-10 22:20:00 · 11319 阅读 · 8 评论 -
LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrt.lib(MSVCR71.dll) 错误
LIBC.LIB Single-threaded, static link /ML LIBCMT.LIB Multithreaded, static link /MT _MT MSVCRT.LIB Multithreaded, dynamic link (import library for MSVCR71.DLL). Be aware that if you use the Standard C原创 2008-11-11 12:07:00 · 1814 阅读 · 0 评论 -
x264编码IDR帧
在common.c中x264_param_default函数中设置param->i_keyint_max = 30; 最大关键帧间隔param->i_keyint_min = 10; 最小关键帧间隔在slicetype.c中void x264_slicetype_decide( x264_t *h )函数中 /* Limit GOP size */if( frm->i_frame - h原创 2008-12-05 13:56:00 · 2029 阅读 · 0 评论 -
Perl的串口操作Win32::SerialPort
use Win32::SerialPort ; //引用SeriallPort模块 $PORTNAME = "COM7"; //设置串口号,大于9时候必须要加 "\\\\.\\COM17" my $ob = Win32::SerialPort->new($PORTNAME) || die "open com failed"; print "open com success\n"原创 2012-01-04 20:28:52 · 2004 阅读 · 0 评论 -
终于搞懂x264里面的slicetype判断
终于搞懂了,不容易啊 现在回头想想,其实也不难 理解,多跑几遍程序就知道怎么回事了,关键在于动手调试,光看是没用的!原创 2013-01-21 17:06:26 · 375 阅读 · 0 评论 -
造福android 开发
The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb is correctly located at 'D:\android-2.2-windows\tools\adb.exe' and can be exec原创 2013-05-21 13:21:44 · 308 阅读 · 0 评论