摘要:
http://stackoverflow.com/questions/9251747/record-rtsp-stream-with-ffmpeg-libavformathttps://github.com/lajos/iFrameExtractorhttp://blog.csdn.net/a2657222/article/category/1152436http://code.google.com/p/mp4v2/ 阅读全文
摘要:
http://www.sharej.com/topic/456382/#;[XVCodecObj.h]#include "stdafx.h"class CXVEncodeObj{private: AVCodec * m_Codec; AVCodecContext *m_CodecCtx; int m_inbufMaxSize; void * m_OutBuffer; AVFrame * m_YUVFrame; AVFrame * m_RGBFrame; SwsContext *m_ConvertCtx;public: CXVEncodeObj(): m_Codec(NULL 阅读全文
摘要:
使用的是FFMpeg SDKv3的库。使用步骤很简单:(不含对象创建/释放)1、初始化2、编码/解码3、释放资源希望熟悉H264的高手提供一下建议设置,公网传输10%的丢包率下,在QCIF的分辨率下我的Bitrate、GOP、MaxBFrames、FrameRate是否合理?BTW:编译不过的问题请自己解决吧[XVCodecObj.h]#include "stdafx.h"class CXVEncodeObj{private: AVCodec * m_Codec; AVCodecContext *m_CodecCtx; int m_inbufMaxSize; void * 阅读全文
摘要:
CFile file[5];BYTE *szTxt[5];int nWidth = 0;int nHeight= 0;int nDataLen=0;int nLen;CString csFileName;for (int fileI = 1; fileI <= 5; fileI ++){ csFileName.Format("e:\\pics\\%d.bmp", fileI); file[fileI - 1].Open(csFileName,CFile::modeRead | CFile::typeBinary); nLen = file[fileI - 1].Get 阅读全文