[Ffmpeg-devel] Re: getting the frame-rate

IOhannes M Zmoelnig zmoelnig
Thu Aug 25 17:44:23 CEST 2005

Burkhard Plaum wrote:
> For some formats, the framerate isn't constant, so even if you'll get some
> value for it, it will be meaningless. At least for asf, rm and mov/mp4, 
> there is no other possibility than to use the individual timestamps
> of the frames.

i do not think that this is a valid argument.
most formats do have a constant framerate (i think); those with an 
unknown or variable framerate could return an error-value or an invalid 
framerate (like -1)

what happens if there are formats that do not have a constant image-size 
any more ? will you remove the dimension-information from the API ?? 
(mpeg4 provides arbitrary shapes. whether it also provides a means to 
change this shape in time, i dunno)


More information about the ffmpeg-devel mailing list