ffmpeg(9) mpegts_read_header
来源:互联网 发布:文明 太空 mac 中文 编辑:程序博客网 时间:2024/04/30 08:26
1.
mpegts_open_section_filter(ts, SDT_PID, sdt_cb, ts, 1);
mpegts_open_section_filter(ts, PAT_PID, pat_cb, ts, 1);
注册section filters
PAT表的PID固定是0x0000, SDT表的PID固定是0x0011
这两条语句的作用就是在
mpegts_open_section_filter ---> mpegts_open_filter中向MpegTSContext的数据成员
/** filters for various streams specified by PMT + for the PAT and PMT */
MpegTSFilter *pids[NB_PID_MAX];
注册两个filters,在此处是section filter
ts->pids[pid] = filter;
2.
handle_packets(ts, s->probesize / ts->raw_packet_size);
/**
* Maximum size of the data read from input for determining
* the input container format.
* Demuxing only, set by the caller before avformat_open_input().
*/
s->probesize
ts->raw_packet_size则是在这条语句之前通过
ts->raw_packet_size = get_packet_size(buf, len);
获取的;
ret = read_packet(s, packet, ts->raw_packet_size, &data);
if (ret != 0)
break;
- ffmpeg(9) mpegts_read_header
- ffmpeg(10) mpegts_read_header part 2
- FFmpeg 0.4.9
- FFmpeg 0.4.9应用
- FFMPEG: 0.4.9
- FFmpeg
- FFMPEG
- ffmpeg
- ffmpeg
- ffmpeg
- FFmpeg
- ffmpeg
- ffmpeg
- ffmpeg
- ffmpeg
- FFmpeg
- ffmpeg
- ffmpeg
- 《软件调试的艺术》笔记--停下来环顾程序
- HDU-#2089不要62(数位DP)
- OpenGL入门【1 快速入门】
- 你是我的眼
- kset_register
- ffmpeg(9) mpegts_read_header
- date将秒数转换成日期的字符串表达形式
- Java SE 学习笔记 第八记
- ExecuteNonQuery与ExecuteScalar的区别
- yiee分恿瞬孟奔期惹zhantan
- 大话计算机中的流水作业
- linux 环境变量设置方法总结(PATH/LD_LIBRARY_PATH)
- 寻找最长有效括号对(leetcode)
- 怎样快速学习一门新技术