[Libav-user] nb_stream always fails

keren happuch christkeren at gmail.com
Tue Feb 4 14:40:58 CET 2014


I'm having trouble with av_find_stream_info(). It always says that the
nb_streams is 0. Why is this?.
Basically, my code consists of the classic arrangement:

av_register_all (),
av_open_input_file () and then
av_find_stream_info ()

av_find_stream_info() doesn't fail, but the nb_streams field of the
AVFormatContext structure is always zero. I've tried different input
mpeg files and an avi file but it always returns '0'.

Anybody got any ideas?. I'm using version 5.1 avformat & avcodec.

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140204/e931cee3/attachment.html>


More information about the Libav-user mailing list