[FFmpeg-user] Error message 'Could not open codec' when running FFMPEG-codec.
David Kempers
davidkempers at gmail.com
Sun Mar 18 20:18:31 CET 2012
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;
More information about the ffmpeg-user
mailing list