Current time: 09-19-2019, 08:22 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help in finding ffmpeg for Private Instance install
04-17-2014, 12:26 PM
Post: #1
Need help in finding ffmpeg for Private Instance install
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


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
04-24-2014, 03:43 AM
Post: #2
RE: Need help in finding ffmpeg for Private Instance install
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
Find all posts by this user
Quote this message in a reply
04-25-2014, 04:09 AM (This post was last modified: 04-25-2014 04:15 AM by Raza.)
Post: #3
RE: Need help in finding ffmpeg for Private Instance install
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
Find all posts by this user
Quote this message in a reply
04-29-2014, 05:11 AM
Post: #4
RE: Need help in finding ffmpeg for Private Instance install
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).
Visit this user's website Find all posts by this user
Quote this message in a reply
04-29-2014, 10:46 AM
Post: #5
RE: Need help in finding ffmpeg for Private Instance install
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)