[Xvid-devel] Have XVid working but playback of encodig running too fast

Michael Militzer michael at xvid.org
Tue Jun 19 13:21:11 CEST 2012


Hi,

how are you using the encoder? From your own app via the xvid API?
xvid_encraw? Some other application? Which OS? And which video player
have you used that showed the playback running too fast?

It's hard to comment on your problem without any side information. As
you realized yourself, you need to ensure that a proper framerate is
set. There's the "-framerate" option in xvid_encraw for that (or fincr
and fbase parameters in xvid_enc_create_t programmatically - see xvid.h).

Note that some video players will not respect the framerate settings
unless you mux your video track into a container (AVI, MP4, ...)

Best regards,
Michael


Quoting Rob <robincc at terra.es>:

> Hi,  I’m new to XVid and would really appreciate some help as I   
> couldn’t find the documentation.
> I finally have the encoder working, great quality, but playback runs  
>  too fast.
> I’m not sure how to control FPS rate of recording, I pass the frames  
>  in, but don’t understand the sync mechanism.
> Any help would be really appreciated,
>
> Rob
> _______________________________________________
> Xvid-devel mailing list
> Xvid-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel
>





More information about the Xvid-devel mailing list