
音视频
iduanbin
Stay hungry. Stay foolish
展开
-
FFmpeg部分函数解析
> 处理音频和视频的基本流程: 基本上来说,处理视频和音频流是很容易的:(瞎扯。。。) 10 从 video.avi 文件中打开视频流 video_stream 20 从视频流中读取包到帧中 30 如果这个帧还不完整,跳到 20 40 对这个帧进行一些操作 50 跳回到 20 1)av_register_all() ffmpeg注册复用器,编码器等的函数av原创 2017-01-14 22:32:40 · 697 阅读 · 0 评论 -
ffmpeg 简单播放器
#include #include #include #include #include #include #include #include struct AVContext{ AVFormatContext* fc; AVCodecContext* acc; AVCodecContext* vcc; int audio_index原创 2017-01-15 22:17:23 · 318 阅读 · 0 评论 -
FFmpeg 视频转化为bmp图片实例解析
本文中的函数详细解析可参照:GO>> 我的博客:FFmpeg部分函数解析 #include #include #include int dstwidth = 0; // 生成目标bmp的宽度 int dstheight = 0; // 生成目标bmp的高度 char bmp_header[54] = { 0 }; // bmp头文件的54个字原创 2017-01-14 22:34:12 · 2321 阅读 · 0 评论