[FFmpeg-user] How to find encoders ?

Imran Khan imranhkhan1989 at gmail.com
Tue Mar 19 09:59:17 CET 2013


remove c->max_b_frames=1 from your code.
where c is AVCodecContext pointer.


On Tue, Mar 19, 2013 at 12:33 PM, tank pranav <akshar_tank at yahoo.com> wrote:

> Hi,
>
> after giving  codec = avcodec_find_encoder(AV_CODEC_ID_H263P);
>
> I am still getting following errors:-
>
> [h263p @ 0x8c8dcc0] b frames not supported by codec
> could not open codec
>
> can any one tell me how to get rid of this errors ?
>
> Pranav.
>
>
> ________________________________
>  From: Imran Khan <imranhkhan1989 at gmail.com>
> To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
> Sent: Tuesday, March 19, 2013 12:06 PM
> Subject: Re: [FFmpeg-user] How to find encoders ?
>
> use AV_CODEC_ID_H263P
>
>
> On Tue, Mar 19, 2013 at 12:01 PM, tank pranav <akshar_tank at yahoo.com>
> wrote:
>
> > Hi,
> >
> >
> > I need flv encoder. When I tried to give
> > codec = avcodec_find_encoder(AV_CODEC_ID_FLV1);
> >
> >
> > but I tried to run it ffmpeg gave an error saying    "could not open
> codec"
> >
> >
> > I have configured my compilation with  .............
> >  ./configure --enable-encoders --disable-yasm
> >
> >
> > and I found flv encoder in the configuration list.
> >
> >
> > how should I proceed further ?
> >
> >
> > Pranav.
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list