On Sat, Dec 6, 2008 at 2:18 AM, Stas Oskin <[EMAIL PROTECTED]> wrote:
> Hi. > >OK. Suppose I use libx264 encoder. How to tell >avcodec_encode_video that > >it has to make this frame I-frame (key-frame)? > >I tried few ideas from which none seemed to make the job done. > > AFAIK there is a special flag for packet.flags memeber, which sets this > frame as a key-frame. > > Check the output_example.c and ffmpeg.c for more info. > if it doesn't help you can encode directly with libx264 and use the i_pict_type member of x264_t struct to instruct x264 which frame type you want > Regards. > > > > > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
