aviad rozenhek pisze: > On Thu, Dec 4, 2008 at 4:21 PM, "Tomasz Litwiński [ Impact Media ]" > <[EMAIL PROTECTED]> wrote: > > >> Hi, >> >> Is there any way to force encoder to create an I-frame (key-frame) in >> specified frame? >> I'm currently encoding frames from memory stream and I would like to >> tell encoder that current frame needs to be key-frame. >> Is there any way to that? >> >> > > maybe not the best way, but I think closing and reopening the codec will do > that. > It sure does, but I don't think it's the best way to go. > also if you are using a specific encoder like x264, it has that capability > built-in > 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.
-- Best regards, Tom Litwinski [Impact Media] [EMAIL PROTECTED] _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
