[FFmpeg-user] Error message 'Could not open codec' when running FFMPEG-codec.

Anders Branderud anders.branderud at gmail.com
Sun Mar 18 20:34:45 CET 2012


I inserted ' c->codec_id = CODEC_ID_MPEG2VIDEO' into the code and the
outcome is the same.

2012/3/18 David Kempers <davidkempers at gmail.com>

> On 18 March 2012 18:52, Anders Branderud <anders.branderud at gmail.com>
> wrote:
>
> > Thanks for the reply!
> > Yes, the other parameters are the same.
> > I did set max_b_frames= 0. However the error message remains after
> > compiling again.
> >
> >
> Looking through the example I can't see if it sets codec_id parameter of
> AVCodecContext. I would add the line:
>
> c->codec_id = CODEC_ID_MPEG2VIDEO;
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 
*Kind regards,*

[Personal blog] Will of the
Creator<http://www.proofexistencegod.com/will-of-god/will-of-god/>  :
Logical
reasons - based on scientific premises - for the existence of a Super
intelligent and Orderly Creator and that He hasn't left His sapient
creatures without an Instruction Manual - Torah ['books of Moses'] - to
ascertain, and aspire to, His purpose.

[Company] Anders Branderud IT Solutions - www.abitsolutions.org


More information about the ffmpeg-user mailing list