Hi all.

I am writing an application, capturing the MPEG2 Transport Stream from a DVB-S 
card and saving its parts to a file on disk in MPEG Program Stream format 
according to user defined schedule.

Two things about libav* are not clear for me.

1. When is the AVInputFormatContext.programs filled?
during av_open_input_file or during av_find_stream_info?

2. Do libav* functions refresh the information contained in the 
AVInputFormatContext.programs and how often ?

My software is going to work forever and it is not clear for me, how it will do 
if the Program Specific Information (PSI) changes. I mean changes in the 
Program Map Table, the Program Association Table and Service Description table.

av_find_stream_info reads about 5Mb of data.
What does it do with them on finish?
Are these data still available to av_read_frame?


_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to