Log in

View Full Version : tool to autodetect vfr video?


SledgeHammer_999
14th August 2009, 01:02
Is there any tool to autodetect if a mkv/mp4/whatever video has variable frame rate(vfr)?

I know that you can detect if a file has a vfr track by looking at the manually extracted timecode. Though I wonder if there is a tool that does this automatically?(ie reading the orig file and telling if it is vfr or cfr)

thewebchat
14th August 2009, 06:56
I know the avdump (http://static.anidb.net/client/avdump.rar) program is capable of doing this. When you call it with syntax "avdump whatever.mkv," if it is VFR, it will print a line "fram: hybrid (vfr)." Now, the main purpose of this tool is to send information to a online database of pirated cartoons, but you don't have to use it for that.

Alternate idea: Write a batch script that calls mkvextract and tcConv. After you convert the extracted timecodes_v2 file to timecodes_v1 format, and if there are any non-comment lines besides "Assume [24,25,30,etc]" then it is VFR.

SledgeHammer_999
14th August 2009, 14:30
ok thanks