View Full Version : Frames per Second Analyzer
aba101280
27th December 2009, 12:55
Hi,
I'm looking for a small (command line) tool that can analyze the frames per Second in Blu-Ray and give it back.
I want to use that for fitting the refresh rate. In the moment I do it with Reclock which works bun has sometimes errors. Besides I have to stop the playback switch the refresh rate and then have to resume. Would be better to analyze it before then switch the refresh rate and then start the playback.
Of course tools like EAC3to can so this but I did not find a way to bring this automated in a script yet.
If someone has an idea would be happy to hear it
Regards,
Alex
rack04
27th December 2009, 15:55
Echo DirectShowSource("%INPUT_VIDEO%")>"%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs"
Echo WriteFile("%SOURCE_FOLDER%\%SOURCE_FILENAME%-framerate.txt","FrameRate")>>"%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs"
Echo Trim(0,-1)>>"%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs"
"%FFMPEG_PATH%" -i "%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs" 2> "%SOURCE_FOLDER%\%SOURCE_FILENAME%-ffmpeg.txt"
type "%SOURCE_FOLDER%\%SOURCE_FILENAME%-framerate.txt">"%SOURCE_FOLDER%\%SOURCE_FILENAME%-framerate.tmp"
set /p SOURCE_FRAMERATE=<"%SOURCE_FOLDER%\%SOURCE_FILENAME%-framerate.tmp"
Using this I get SOURCE_FRAMERATE=23.976044
aba101280
27th January 2010, 17:20
Hello,
I found a way to get the information out of the videofiles withe the help of MediaInfo. This works perfectly for almost all Codecs.
As I also want to use it for Blu-Rays I have the problem that the information cannot be read by mediainfo because of decryption. For DVDs it's no problem cause MediaInfo can readout the framerate of the IFO Files but I did not find any possibility for Blu-Rays.
Does anybody here know if there's a file in the Blu-Ray structure that contains the framerate Information and can be read?
Thank you and Regards,
Alex
roozhou
27th January 2010, 18:29
@rack04
fps from DSS is inaccurate.
@aba101280
MediaInfo may also return false fps since it only analyses container and codec headers.
A better way:
Play the video in MPC-HC with VMR7/9 or EVR, enable statistics (Ctrl + 4) and real fps is shown in the panel.
kieranrk
27th January 2010, 19:26
@aba101280
MediaInfo may also return false fps since it only analyses container and codec headers.
Blu-ray is fixed framerate.
aba101280
27th January 2010, 19:38
Hi,
Blu-ray is fixed framerate.
Unfortunately not. The common is 23,976, but there are some documentations, concerts with 30,000 fps and also some (few) with 25,000 (e.g. German concerts).
Bdinfo can readout the framerate from Blu-Ray even if it's decrypted. It reads it out form the clpi data. (Thanks Madshi).
I'm just a hobby programmer and so do not understand the code of Bdinfo. Who ever can do that please send me a short message. I'm very interested in this function....
Regards,
Alex
pandy
29th January 2010, 11:28
Hi,
Unfortunately not. The common is 23,976, but there are some documentations, concerts with 30,000 fps and also some (few) with 25,000 (e.g. German concerts).
And? it is still fixed - there is no variable framerate - video output is always fixed framerate ie 24000.0/1001.0, 24.0, 25.0 etc
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.