自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

转载 ffmpeg Windows下采集摄像头一帧数据,并保存为bmp图片

转载:http://blog.csdn.net/sloan6/article/details/8191059这里请注意,在编译ffmpeg时,不要使用--disable-devices选项。使用--enable-encoder=rawvideo --enable-decoder=rawvideo启用rawvideo codec。代码如下:

2014-11-27 16:26:17 527

转载 ffmpeg API录制rtsp视频流(ffmpeg版本:0.6.1版本)

原文:http://blog.csdn.net/sloan6/article/details/8190638这里在录制时,并没有进行转码,只是相当于把rtsp视频直接保存到一个文件中。[cpp] view plaincopyprint?#include     #ifdef __cplusplus  extern "C" {  #

2014-11-27 16:23:49 514

转载 ffmpeg接口函数介绍(续2)

1 AVPackettypedef struct AVPacket { /** * Presentation timestamp in AVStream->time_base units; the time at which * the decompressed packet will be presented to the user. * C

2014-11-27 16:19:54 1132

转载 ffmpeg接口函数介绍(续1)

1 avcodec_find_decoder()/** * Find a registered decoder with a matching codec ID. * * @param id CodecID of the requested decoder * @return A decoder if one was found, NULL otherwise.

2014-11-27 16:14:43 348

转载 ffmpeg接口函数介绍(ffmpeg版本为:0.8.6)

头文件引入方法: 1 extern "C" 2 { 3 4 #include "libavcodec/avcodec.h" 5 #include "libavformat/avformat.h" 6 #include "libavutil/avutil.h" 7 #include "libavutil/mem.h" 8 #include "libavutil/fifo.h" 9

2014-11-27 16:04:36 422

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除