![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
多媒体
sky88866
这个作者很懒,什么都没留下…
展开
-
ffmpeg mp4 转ts 文件
void ts_split() { av_register_all(); const char * strInMediaFile = "d:/ming.mp4"; const char* strOutTsFile = "d:/tsout/ming.m3u8"; AVFormatContext* pInCtx = NULL; avformat_open_input(&pInCtx, strI...原创 2016-09-28 15:45:44 · 6302 阅读 · 0 评论 -
ffmpeg 3.x 版本解码yuv
原创 2018-09-08 19:42:52 · 247 阅读 · 0 评论 -
ffmpeg 代码实现将mp4 mov 信息置于文件头
修改前后对面: 还有其他修改 mov 信息参数 参见:原创 2018-09-09 00:13:27 · 1709 阅读 · 1 评论 -
x264 参数解析
b_aud 参数 表示是否插入 aud 分隔符,大部分播放器没有aud 可正常播放,类flash 播放去需要每次需要一个完整的帧数据,那么把2个AUD之间的数据按照格式打包给播放器就可以了。 libx264 实现: b_repeat_headers 表示是否在每个关键帧前面附带sps/pps 信息 我们来看下sps pps 结构: 我们关注比较...原创 2018-09-07 16:56:55 · 483 阅读 · 0 评论