[Libav-user] nb_streams is not initialized it is always zero

keren christkeren at gmail.com
Wed Feb 12 01:21:44 CET 2014


Carl Eugen Hoyos <cehoyos at ...> writes:

> 
> keren happuch <christkeren <at> ...> writes:
> 
> > I am trying to executed the example program 
> > encoding_decoding.c  example program given in 
> > the ffmpeg folder downloaded from github.
> 
> I may misunderstand but the only supported source 
> for FFmpeg is git://source.ffmpeg.org/ffmpeg.git
> 
> > When I try to execute the program ill get the 
> > following run time error. 
> 
> > The problem: AVFormatContext::nb_streams has zero 
> > value. nb_stream is not initialized. 
> 
> This looks unexpected. How did you compile and how 
> do you call the executable?
> 
> Carl Eugen
> 
> _______________________________________________
> Libav-user mailing list
> Libav-user <at> ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
> 

I compiled the code using gcc and included all the required libraries 
1.libavcodec
2.libavutil
3.libavformat

it is generating the output file. when i try to execute the exe it is 
terminating saying "unsupported codec"


iam using ubuntu version 12.04
and ffmpeg 2.1.3










More information about the Libav-user mailing list