[Xvid-devel] I set FPS to 120, encode 240 frames, and the video plays back over some 8-10 seconds

Michael Militzer michael at xvid.org
Tue Jun 3 11:14:18 CEST 2014


Hi,

the first questions are: Which program/API do you use to encode your file?
And which program do you use to decode/playback?

Note that framerate information is not only written by the encoder into the
encoded bitstream but container formats (like AVI) have a framerate setting
in their container headers as well. The framerate as written in the
container usually precedes the framerate setting that the encoder wrote into
the bitstream.

In practice this means that if you e.g. write your video into AVI output
but don't set the framerate of the AVI properly, you can specify whatever
framerate you want in Xvid encoder settings but it will have no effect when
playing the file (because the AVI framerate precedes).

Best regards,
Michael


Quoting Robin Colclough <rcc at sentel-advance.com>:

> I´m using the xvid encoder in non-realtime to encode frames, but its  
>  like xvid ignores the FPS I set, and records at the incoming speed.
>
> I set the FPS to 120, then encode 240 frames, i.e, 2 seconds of   
> video, put the playback file is wrong, and runs at around the same   
> speed I sent the frames in.
>
> Why would this happen?
> _______________________________________________
> 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