WebPagetest Forums
Need help in finding ffmpeg for Private Instance install - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Need help in finding ffmpeg for Private Instance install (/showthread.php?tid=12922)



Need help in finding ffmpeg for Private Instance install - Raza - 04-17-2014 12:26 PM

I am trying to setup a private instance of WebPagetest on Windows 7 (32-bit) machine. I have installed the ffmpeg package files on my machine. However the install check which I ran to test my private instance, came up with a second instance of ffmpeg missing. I cannot find this second instance of ffmpeg (Yellow marker under System Utilities header in the attached screenshot) which I would like to install to clear the install issues. Can someone help me out here?

I have attached the screenshot after running the install script below.

Thanks!
Raza


RE: Need help in finding ffmpeg for Private Instance install - Raza - 04-24-2014 03:43 AM

Can someone kindly mail me the ffmpeg file in question for a windows 7 32-bit machine. I have PHP version 5.4.7 installed on it?

I will appreciate it very much.

Thanks!
Raza


RE: Need help in finding ffmpeg for Private Instance install - Raza - 04-25-2014 04:09 AM

I looked at the index.php script in the install directory and tried to debug it. This script gives the following command to the system:

C:\ffmpeg -filters ( line # 337: $retStr = exec($command, $output, $result);

The output from the command on my system makes the following variables true in the script:
$fps = true;
$scale = true;
$decimate = true;

However the $ver comes out to be
$ver =N-50911-g9efcfbe instead of '1'

So the test on line 352 fails and $ret becomes false

352: if (intval($ver) == 1 && $fps && $scale && $decimate)

Hence the return value is false:

362: return $ret;

Is this correct? Seems like all the functionality is there but the version number has changed. The output from the command on line 337 puts out the following values for the features above:

ffmpeg version N-50911-g9efcfbe Copyright © 2000-2013 the FFmpeg developers
.....
Filters:
...
decimate V->V Remove near-duplicate frames.
fps V->V Force constant framerate
scale V->V Scale the input video to width:height size and/or convert the image format.
...

Someone please let me know if the version number matters and why are we checking for version 1?

Thanks!
Raza


RE: Need help in finding ffmpeg for Private Instance install - pmeenan - 04-29-2014 05:11 AM

On Windows I usually grab the static builds from here: http://ffmpeg.zeranoe.com/builds/ which looks like what you have and should be fine (I'll see about updating the version check).

We are chacking for version 1 because the decimate filter changed in version 2 and we rely on it's output to be able to de-dupe video frames and still get the timecode of the individual frames (kind of insane that ffmpeg doesn't support that but it doesn't).


RE: Need help in finding ffmpeg for Private Instance install - Raza - 04-29-2014 10:46 AM

As you mentioned, I understand that I have the requisite ffmpeg file installed. I will wait for the update to the index.php script from you and then run index.php file to declare success with this configuration install.

Thanks for your reply!
Raza