Log in

View Full Version : fps of mp4


jay_jay
9th June 2006, 14:08
i used directshow to open mp4 files.but it is asking frame rate
of video.how can i know it.

hanfrunz
9th June 2006, 14:22
if you have the lenghts of the the sound and the number of frames you can calculate it.

example: sound is ten seconds, framecount is 250f then the framerate is 250/10 = 25fps

to get the framerate open the file with any framerate you like and use the info() filter:

directshosource("file.avi",fps=1).info()

hanfrunz

redfordxx
9th June 2006, 21:32
http://forum.doom9.org/showthread.php?p=751367#post751367
There is something