上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: char readbuf[64];int data_size =(readbuf[7]<<24)|(readbuf[4]<<16)|(readbuf[5]<<8)| readbuf[6];int data_size =(readbuf[7]<<24)+(readbuf[4]<<16)+(readbu... 阅读全文
posted @ 2014-07-10 11:16 mlj318 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: 1、编译库https://bitbucket.org/multicoreware/x265/src/tip/build/README.txt?at=default2、无法定位程序输入点x265_encoder_open_7于libx265.dll问题使用自己编译的x265动态库与ffmpeg中也用了... 阅读全文
posted @ 2014-07-02 12:59 mlj318 阅读(929) 评论(0) 推荐(0) 编辑
摘要: 1 #ifndef _CAPTURESCREEN_H 2 #define _CAPTURESCREEN_H 3 4 #include 5 class CaptureScreen 6 { 7 public: 8 CaptureScreen() 9 {};10 ~Capt... 阅读全文
posted @ 2014-06-24 17:25 mlj318 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: char* CCameraDS::QueryFrame() { long evCode, size = 0; #if CALLBACKMODE static double lastSampleTime=0; if( lastSampleTime == cbInfo.dblSampleTime) re 阅读全文
posted @ 2014-06-11 18:26 mlj318 阅读(3584) 评论(0) 推荐(0) 编辑
摘要: x265: ffmpeg -f dshow -video_size 352x288 -framerate 30 -pixel_format yuyv422 -i video="USB2.0 Camera" -vf "format=pix_fmts=yuv420p,scale=352:288" -vc 阅读全文
posted @ 2014-06-11 11:36 mlj318 阅读(2509) 评论(0) 推荐(0) 编辑
摘要: enc_ctx->profile =FF_PROFILE_H264_MAIN ; enc_ctx->time_base.den = 24; enc_ctx->time_base.num = 1; enc_ctx->gop_size = 8; /* emit one intra frame ... 阅读全文
posted @ 2014-06-05 14:57 mlj318 阅读(4773) 评论(0) 推荐(0) 编辑
摘要: compressSlice 中一开始的entropy coder 设置: // set entropy coder if( m_pcCfg->getUseSBACRD() ) { m_pcSbacCoder->init( m_pcBinCABAC ); m_pcEntropyCoder->setEn 阅读全文
posted @ 2013-08-22 16:36 mlj318 阅读(814) 评论(0) 推荐(0) 编辑
摘要: LZ77算法基本过程 http://jpkc.zust.edu.cn/2007/dmt/course/MMT03_05_2.htm LZ77压缩算法详解 http://wenku.baidu.com/view/c4ee642bcfc789eb172dc8f5.html 输入待字典编码的CU, Cop 阅读全文
posted @ 2013-08-22 16:32 mlj318 阅读(915) 评论(0) 推荐(0) 编辑
摘要: ret = avcodec_encode_video2(c, &pkt, frame, &got_output); 编码开始后,等过了30多帧才会得到码流,got_output才有输出,之后就是每编码一帧都有输出。 导致接收端解码延迟了好几秒。 办法: Low Latency libx264 off 阅读全文
posted @ 2013-05-09 13:15 mlj318 阅读(7476) 评论(0) 推荐(0) 编辑
摘要: c->profile =FF_PROFILE_H264_MAIN ; FFmpeg and x264 Encoding Guide 参数说明:http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide preset 与编码速度和质量相关 av_opt_s 阅读全文
posted @ 2013-05-09 12:57 mlj318 阅读(10743) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页