On Sat, Apr 05, 2008 at 03:36:27PM +0000, Vladimir Eremeev wrote:
> 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?

as soon as the information is seen by the demuxer


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

RTFS


> 
> 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?

yes


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.

Attachment: signature.asc
Description: Digital signature

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

Reply via email to