AVFormatContext结构体
来源:互联网 发布:淘宝客服退款流程 编辑:程序博客网 时间:2024/06/10 18:08
在使用FFMPEG进行开发的时候,AVFormatContext是一个贯穿始终的数据结构,很多函数都要用到它作为参数。它是FFMPEG解封装(flv,mp4,rmvb,avi)功能的结构体。下面看几个主要变量的作用(在这里考虑解码的情况):
struct AVInputFormat *iformat:输入数据的封装格式
AVIOContext *pb:输入数据的缓存
unsigned int nb_streams:视音频流的个数
AVStream **streams:视音频流
char filename[1024]:文件名
int64_t duration:时长(单位:微秒us,转换为秒需要除以1000000)
int bit_rate:比特率(单位bps,转换为kbps需要除以1000)
AVDictionary *metadata:元数据
0 0
- AVFormatContext结构体
- AVFormatContext结构体
- FFmpeg中结构体AVFormatContext
- FFMPEG结构体分析:AVFormatContext
- FFMPEG结构体分析:AVFormatContext
- FFMPEG结构体分析:AVFormatContext
- FFMPEG结构体分析:AVFormatContext
- FFMPEG结构体分析 AVFormatContext
- FFMPEG结构体分析:AVFormatContext
- AVFormatContext结构体源码解析
- FFMPEG结构体分析:AVFormatContext
- FFMPEG结构体分析:AVFormatContext
- ffmpeg之AVFormatContext结构体
- FFMPEG结构体分析:AVFormatContext
- FFMPEG结构体分析:AVFormatContext
- FFMPeg代码分析:AVFormatContext结构体
- FFMPeg代码分析:AVFormatContext结构体
- Ffmpeg结构体——AVFormatContext
- linux进程调度方法(SCHED_OTHER,SCHED_FIFO,SCHED_RR)
- 好段落句子摘抄
- 早研
- hdu 2114 Calculate S(n)
- JSON JAONP
- AVFormatContext结构体
- RedHat 系列 Linux 安装后,建立嵌入式开发环境
- linux+apache+rsync+tomcat实现访问发布分离
- mybatis插入数据返回当前插入数据的id
- NOIP2009(4)道路游戏
- suricata 3.1 源码分析11
- 浅谈mysql主从复制的高可用解决方案
- APP项目产品经理从头需要做什么
- CentOS下架设VNC服务器