|
last time I used that, you were supposed to set
AVFrame.pict_type=AV_PICTURE_TYPE_I; right before calling avcodec_encode_video2( .. AVFrame .. ) hope that helps .. From: Libav-user [[email protected]] on behalf of qw [[email protected]]
Sent: Wednesday, September 02, 2015 1:34 PM To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. Subject: [SPAM] Re: [Libav-user] force I frame in video coding Hi,
Sorry, I should say more clearly my question.
In general, avcodec_encode_video2() is used to encode each video frame, and video encoder decide which type frame the current frame is coded as. video frame can be coded as I frame, P frame, or B frame decided by video encoder.
But sometimes I want the current frame to be coded as one I frame instead of other type frame decided by video encoder. How to do it using ffmpeg functions?
Thanks!
B.R.
Andrew
At 2015-09-02 17:15:54, "Talgorn François-Xavier" <[email protected]> wrote: Hi,
|
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
