View Full Version : Looking for a tool that ...
mikeathome
28th January 2003, 17:30
... reports the number of video frames (full frames). Input streams mpv, m2v, vob (!).
As commandline tool.
neone knows of such a tool, or a workarround with any kind of scripting ?
mike
auenf
29th January 2003, 14:05
flask mpeg used to display something like that, but maybe only if you played the clip thru. i cant remember, its been a while.
Enf...
mikeathome
29th January 2003, 14:55
Hi,
I found something, VirtualDub Scripting Function:
// $script
declare framesAVS;
declare framerate;
VirtualDub.Open("d:\\tmp\\temp.avs", 0, 0);
framerate=VirtualDub.video.GetFrameRate(0);
framesAVS=VirtualDub.video.GetRange(0);
Sylia.dprint(framerate);
Sylia.dprint(framesAVS);
VirtualDub.Close();
// $endjob
With the special VirtualDub version it works as well with VOB input, tested = ok !
This way you could easily compare how many frames are missing by comparing the script output from opening a VOB with the AVS. You could even calculate the difference with the script !
Unfortunately the output gets printed to the debug output device whatever that is (stderr, I guess). I don't know how to redirect that to the standard output (stdout) to redirect into a file.
I emailed Donald regarding this...
mike
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.