Re: I set FPS to 120, encode 240 frames, and the video plays back over some 8-10 seconds
Elio Blanca <[email protected]> Tue, 03 Jun 2014 11:25:29 +0200
| Newsgroups | gmane.comp.video.xvid.devel |
|---|---|
| Message-ID | <[email protected]> |
Further, I would suggest some useful free tools that can tell you many deta= ils about the resulting = stream, such as "mplayer" (it is a command line tool, better results with `= mplayer -identify = video_stream_name'), "avidemux" and "media player classic - home cinema", a= ny of them can report = which frame rate has been set in the container header in order to clarify w= here the error lies. Il 03/06/2014 11:14, Michael Militzer ha scritto: > 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 t= he > encoded bitstream but container formats (like AVI) have a framerate setti= ng > in their container headers as well. The framerate as written in the > container usually precedes the framerate setting that the encoder wrote i= nto > 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 wh= en > 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 >> >> > > > > > _______________________________________________ > Xvid-devel mailing list > [email protected] > http://list.xvid.org/mailman/listinfo/xvid-devel >