[Ffmpeg-devel] avcodec_open failed on some codecs

François Revol revol
Wed May 4 00:17:23 CEST 2005


> On 5/3/05, Fran?ois Revol <revol at free.fr> wrote:
> > > It's okay on some codecs, but failed on others. Since there is no
> > > problem to find the decoder by avcodec_find_decoder, could you 
> > > tell
> > > me
> > > what's the possible reason?
> > >
> > 
> > Some codecs expect you to fill in the context with meaningful data,
> > specially extradata.
> > 
> > Fran?ois.
> > 
> > 
> 
> Is there a way to know what extra data is required for the specific 
> codec?
> 

Read the fine libavformat source.

Fran?ois.





More information about the ffmpeg-devel mailing list