Forum archive - get FPS value from mediainfo into a bat script

http://www.supermediastore.com/



Forum Archive Home -> Programming -> get FPS value from mediainfo into a bat script



get FPS value from mediainfo into a bat script

ricardouk posted 2009 Oct 24 12:40
Hi everyone!

Im doing a semi automatic conversion script and ive stopeed at the bit where i need to get the FPS value from a file on to the script.

Is there any easy way of doing this, i need the fps because it seems mp4 box needs that value to mux 264+aac into mp4 container, im using mencoder...ive read that mencoder can also "read" the fps from a file, mediainfo can also read that value.

Any suggestions?



ikk posted 2009 Nov 10 09:27
use -identify switch, but not with mencoder, with mplayer.
mplayer will print some output to stdout.
:

ID_VIDEO_FPS=23.976




Login/Register to our forum to be able to post here.








DVDFab DVD to DVD lets you backup DVDs to DVDr, AVI or MP4 for portable devices. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics