[Ffmpeg-devel] problem with nb_streams

Eric Fernandez egf05
Mon Jun 19 14:25:29 CEST 2006


Hi,

I have a problem detecting the nb of streams in an mpeg file, using 
latest SVN of ffmpeg.
With version 4.9, I was opening  my MPEG file with  av_open_input_file() 
and retrieved stream info using av_find_stream_info().
Then:
pFormatContext->nb_streams
contained the number of streams in my file.

Using latest SVN, pFormatContext->nb_streams contains a 9-figure number! 
dump_format() correctly displays the streams in my file though.

Do I do something wrong ? Or has the stream info retrieval changed ?

Thanks
Eric




More information about the ffmpeg-devel mailing list