Re: I set FPS to 120, encode 240 frames, and the video plays back over some 8-10 seconds

Michael Militzer <[email protected]> Tue, 03 Jun 2014 11:14:18 +0200
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
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 <[email protected]>:

> I=B4m 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
> [email protected]
> http://list.xvid.org/mailman/listinfo/xvid-devel
>
>