Hm... Thanks, I'm use flv-container, but how to set VFR? It's mean, that I
need to modify AVCodecContext.time_base before encoding every frames?

On Thu, Sep 16, 2010 at 4:43 PM, Tomas Härdin <[email protected]>wrote:

> On Thu, 2010-09-16 at 13:36 +0400, Kulti wrote:
> > Hi, all.
> >
> > I have a webcam and need to transcode mjpeg to any formats, but sometime
> > webcam lagged and fps fall down. Can ffmpeg atuo fill dropped frames to
> > constantly fps?
>
> Why do you want constant fps? Just use a container that handles VFR
> (avi, flv, mov etc.).
>
> Anyway, assuming the frames are timestamped correctly ffmpeg should
> behave correctly. If not, try forcing constant framerate with -r.
>
> /Tomas
>
> _______________________________________________
> 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

Reply via email to