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 2024-06-13 14:37  粒子少爷  阅读(3)  评论(0编辑  收藏  举报