On Tue, 04 Dec 2012 14:37:33 +0100, Arash Shafiei <[email protected]> wrote: > Hi, > > When we use avconv sometimes it duplicates frames to achieve a specified > frame-rate. > > I would like to know at which layer this is implemented. Is this > internal to libavcodec which automatically duplicates frames when it > does not receives enough data or it's the user of libavcodec which takes > care of it? > In other word, is avcodec_encode_video which encodes a video frame in > charge of duplicating or the user of avcodec_encode_video? > > PS: The same for dropping frames. >
It is done in libavfilter, in the fps filter (libavfilter/vf_fps.c). -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
