ffmepg学习
来源:互联网 发布:一机一码视频破解软件 编辑:程序博客网 时间:2024/05/17 22:20
为了统一管理muxer的方便,每个的muxer都封装进一个数据结构AVOutputFormat。
即用AVOutputFormat这个结构体来管理muxer,到时候把这一系列的结构体放入一个链表,要找一个muxer就方便了。
在源代码中搜AVOutputFormat,即可找到mp4相关的编码器源文件。movenc.c/h
AVOutputFormat ff_mp4_muxer = {
.name = "mp4",
.long_name = NULL_IF_CONFIG_SMALL("MP4 (MPEG-4 Part 14)"),
.mime_type = "application/mp4",
.extensions = "mp4",
.priv_data_size = sizeof(MOVMuxContext),
.audio_codec = AV_CODEC_ID_AAC,
.video_codec = CONFIG_LIBX264_ENCODER ?
AV_CODEC_ID_H264 : AV_CODEC_ID_MPEG4,
.write_header = mov_write_header,
.write_packet = mov_write_packet,
.write_trailer = mov_write_trailer,
.flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
.codec_tag = (const AVCodecTag* const []){ ff_mp4_obj_type, 0 },
.priv_class = &mp4_muxer_class,
};
以上转自http://blog.csdn.net/ctroll/article/details/8169396
这里边的video_codec是我想说的,如果配置了x264库,那么视频编码器为h264,否则为mprg-4
- ffmepg学习
- ffmepg学习记录:一编译ffmpeg
- FFMEPG安装
- FFMEPG安装
- FFmepg - 编译
- ffmepg tutorial1
- ffmepg指令
- Ffmepg格式详解
- ffmepg.exe使用
- ffmepg下载地址
- FFMEPG结构说明
- FFmepg 多线程解码历程
- ffmepg开发历程
- ffmepg的一些命令
- php ffmepg.php 扩展
- FFMEPG avs2 解码支持
- opencv ffmepg 播放视频
- ffmepg音频重采样
- spark测试集群搭建
- 获取当前被按下的控件的方法(setTag)、获取控件子视图的方法(viewWithTag)
- 创业,一切从头开始
- 结构型模式之桥接模式
- NSPredicate
- ffmepg学习
- C51 曼彻斯特译码程序
- 安森美用于助听器的高能效的单芯片方案
- NSCharacterSet
- N皇后问题 求解方案数
- iOS开发系列—Objective-C之Foundation框架
- OpenJudge1758 二叉树
- NSSet类型 以及与NSArray区别
- RecyclerView学习