ffmpeg
古戎烽烟
脑袋被猪拱了
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
AVFormatContext
AVFormatContext是包含码流参数较多的结构体,最为基本的一个结构体,是一个流多媒文件的基本抽象;描述了媒体文件、流文件 的构成和基本信息;其中:nb_streams 和streams 所表示AVStream结构体指针数组包含了所有的内嵌媒体流的描述;iformat 和oformat只想对应的demuxer 和muxer;pb指向控制底层数据读写的AVIOContext结构;start_原创 2015-06-18 17:01:07 · 1304 阅读 · 0 评论 -
AVIOContext
ffmpeg原创 2015-06-18 10:47:07 · 652 阅读 · 0 评论 -
AVStream AVCodecContext AVCodec
AVStream 表示成一个流媒体,每个AVStream对应一个AVCodecContext,存储该音视频流使用解码器的相关数据,每个AVCodecContext中对应一个AVCodec 包含该音视频的解码器,每种解码器都对应一种AVCodec;(h264 mpeg2 AAC mp3)typedef struct AVStream { int index; /**< stream原创 2015-06-18 15:28:17 · 15776 阅读 · 0 评论 -
ffmpeg 结构体之间的关系
FFMPEG中结构体很多。最关键的结构体可以分成以下几类:a) 解协议(http,rtsp,rtmp,mms)AVIOContext,URLProtocol,URLContext主要存储视音频使用的协议的类型以及状态。URLProtocol存储输入视音频使用的封装格式。每种协议都对应一个URLProtocol结构。(注意:FFMPEG中文件也被当做一种协议“f转载 2015-06-18 21:35:58 · 505 阅读 · 0 评论 -
FFplay 播放器
Ffplay播放器原理: ffplay可以分为多个模块文件; Source filter 读文件模块可以分为3层;最底层的是file 、pipe、tcp、udp、http等具体的本体文件或网络协议;(ffplay把file当做协议);中间抽象层用URLContext结构来统一表示底层具体的本地文件或网络协议,相关操作只是简单地中转一下调用底层具体文件或协议支撑函数;最上层AVI转载 2015-06-19 09:56:57 · 1506 阅读 · 0 评论 -
AVpacket AVframe
来自http://blog.csdn.net/leixiaohua1020/article/details/14214577的博客AVFrame:( This structure describes decoded (raw) audio or video data. AVFrame must be allocated using av_frame_alloc(). Note that原创 2015-06-18 20:49:48 · 2261 阅读 · 0 评论 -
avformat_find_stream_info
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options){//avformat_find_stream_info int i, count, ret = 0, j; int64_t read_size; AVStream *st; AVPacket pkt1, *pkt;转载 2015-06-19 15:50:25 · 1260 阅读 · 0 评论 -
整理ffmpeg 细节分析;
int ffio_fdopen(AVIOContext **s, URLContext *h){ uint8_t *buffer; int buffer_size, max_packet_size; max_packet_size = h->max_packet_size; if (max_packet_size) { buffer_size =转载 2015-06-23 19:54:09 · 685 阅读 · 0 评论
分享