[Libav-user] force I frame in video coding
applemax82 at 163.com
Wed Sep 2 12:34:34 CEST 2015
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?
At 2015-09-02 17:15:54, "Talgorn François-Xavier" <fxtalgorn-at-yahoo.fr at ffmpeg.org> wrote:
You request seems odd to me since if you encode P or B frames as I frame you will get... P or B frame, hence partial image.
I've never done this, I can't tell you how to do this, sorry.
Le 2 sept. 2015 à 10:33, qw <applemax82 at 163.com> a écrit :
In general, avcodec_encode_video2() is used to encode each video frame. How to force encoder code current frame as I frame?
Libav-user mailing list
Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user