随笔 - 15  文章 - 4  评论 - 1  阅读 - 49869

AVProgram

详细说明

新字段可以添加到末尾并进行较小的版本更新

对现有字段的删除、重新排序和更改需要主要版本更新。 sizeof(AVProgram) 不得在 libav* 之外使用

文件avformat.h第1179行的定义

复制代码
 1 int     id  //文件avformat.h第1180行的定义由av_new_program()av_program_add_stream_index()clear_avprogram()discard_pid()pat_cb()引用
 2  
 3 int     flags //文件avformat.h第1181行的定义
 4  
 5 enum AVDiscard     discard //文件avformat.h第1182行的定义由discard_pid()discard_unused_programs()mpegts_push_data()scte_data_cb()引用
 6                  //selects which program to discard and which to feed to the caller More...
 7  
 8 unsigned int *     stream_index  //文件avformat.h第1183行的定义由av_find_best_stream()av_find_program_from_stream()avformat_match_stream_specifier()discard_unused_programs()mpegts_push_data()stream_cycle_channel()引用
 9  
10 unsigned int     nb_stream_indexes  //文件avformat.h第1184行的定义由av_find_best_stream()av_find_program_from_stream()avformat_match_stream_specifier()clear_avprogram()discard_unused_programs()mpegts_push_data()stream_cycle_channel()引用
11  
12 AVDictionary *     metadata  //文件avformat.h第1185行的定义由ff_metadata_conv_ctx()of_add_metadata()引用
13  
14 int     program_num    //文件avformat.h第1187行的定义
15  
16 int     pmt_pid    //文件avformat.h第1188行的定义
17  
18 int     pcr_pid    //文件avformat.h第1189行的定义由mpegts_push_data()scte_data_cb()引用
19  
20 int     pmt_version  //文件avformat.h第 1190行的定义
21  
22 int64_t     start_time  //文件avformat.h第1199行的定义由update_stream_timings()引用
23  
24 int64_t     end_time    //文件avformat.h第 1200行的定义由update_stream_timings()引用
25  
26 int64_t     pts_wrap_reference  //换行检测参考dts  文件avformat.h第 1202行的定义

27      //reference dts for wrap detection More...
28  
29 int     pts_wrap_behavior  //换行检测时的​​行为文件avformat.h第1203行的定义
30   //behavior on wrap detection More...
复制代码

 

posted on   粒子少爷  阅读(20)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示