How To Install Flvtool2 On Windows

Search for jobs related to Flvtool2 windows installing or hire on the world's largest freelancing marketplace with 14m+ jobs. It's free to sign up and bid on jobs. While trying to install flvtool2 on CentOS 5.4. Installing flvtool2 on cPanel Server. 1 GB Windows VPS @ $23 / Month.

I've searched and googled but I could not find much in the way of installing, setting up and testing ffmpeg/flvtool2 on Windows when it is to be used with PHP for a website.
Can one of you who's already done this help me, please

Linux uses a system of shared libraries, similar to Windows dlls, for the efficient use of space and resources, and modularity. Gem install flvtool2. To install Flvtool2, you need to have Ruby installed (Please look at our other article on how to install Ruby). After you have Ruby installed, do the following via putty. This video tutorial shows how to install Clipbucket V 2.6 on a Windows Apache HTTP server. It does NOT include the directions for installing FFMPEG, MP4BOX, or FLVTOOL2.

Flvtool2
I am putting together a website that will let users upload small videos so they can be streamed on the website but I can't get a particular script to work. It does not even recognize the paths to ffmpeg or flvtool2.
The server is Windows 2003 R2 running Apache 2.20 and PHP 5.3.8. I found the correct binaries of ffmpeg and flvtool2 and I have installed them. I also installed ffmpeg-php and loaded the extension.
Below is a screencap of phpinfo():
The paths below are correct and also come from phpinfo():
C:ffmpegbin;C:flvtool2bin;C:ffmpegffmpeg-php
If I use the following script to test ffmpeg, it works:
<?php
$ffmpegpath
= 'ffmpeg.exe';
$input = '1.mp4';
$output = '1.jpg';
if (
make_jpg($input, $output)){
echo
'success';
}else{
echo
'bah!';
}
function
make_jpg($input, $output, $fromdurasec='01') {
global
$ffmpegpath;
if(!
file_exists($input)) return false;
$command = '$ffmpegpath -i $input -an -ss 00:00:$fromdurasec -r 1 -vframes 1 -f mjpeg -y $output';
@
exec( $command, $ret );
if(!
file_exists($output)) return false;
if(
filesize($output)0) return false;
return
true;
}
?>
How to install flvtool2 on windowsCan someone please provide me with a different, simple PHP test script with debugging that will test both ffmpeg and flvtool2?
I don't know PHP or ffmpeg/flvtool2 well enough to write it myself. I've already tried but it did not work and I don't know if it's because something is wrong with my installation or the coding. I need something that's proven to work.
The problem I have with the video sharing script I want to use is that the script does seem to like the path to ffmpeg or flvtool2 so I can't even get past the first step to setting it up.
Here's a screencap of the first setup step of the video script:
Before I enter the paths:
After I enter the correct paths:
Here's the code for that part of the script:
<?php
$page
= 'admin_install_vid';
include
'admin_header.php';
if(!isset(
$_GET['ffmpeg_path']) OR !isset($_GET['flvtool2_path']))
{
// show form
if(in_array('exec', explode(',', ini_get('disable_functions'))))
{
// exec is disabled on this server
$smarty->assign('result', 'The php function 'exec' [<a href='http://www.php.net/manual/en/function.exec.php' target='_blank'>http://www.php.net/manual/en/function.exec.php</a>] is disabled on this server.<br><br>Please enable this function by editing the 'disable_functions' variable in your php.ini file');
}
}
else
{
// verify that ffmpeg is installed
$ffmpeg_path = escapeshellcmd(strip_tags($_GET['ffmpeg_path']));
$is = false;
$result = null;
exec($ffmpeg_path.' -version', $result);
if(empty(
$result) !isset($result[0]) !strstr($result[0], 'FFmpeg'))
{
$is = false;
$smarty->assign('result', 'The FFmpeg installation could not be found. Try again.');
}
else
{
$is = true;
}
// verify that ffmpeg is installed
$flvtool2_path = escapeshellcmd(strip_tags($_GET['flvtool2_path']));
$result = null;
exec($flvtool2_path.' -H', $result2);
if(empty(
$result2) !isset($result2[0]) !strstr($result2[0], 'FLVTool2'))
{
$is = false;
$smarty->assign('result2', 'The FLVTool2 installation could not be found. Try again.');
}
else
{
$is = true;
}
}
if (
$is true) { $smarty->assign('is', 'Your server has got all All-in-one Video Plugin requirements.'); }
$smarty->assign('flvtool2_path', $flvtool2_path);
$smarty->assign('ffmpeg_path', $ffmpeg_path);
include
'admin_footer.php';
?>
I don't know how to debug. Also, the flvtool2 package I downloaded contains 'C:/flvtool2/bin/flvtool2' and 'C:/flvtool2/flvtool2.exe'. Which am I supposed to use?
I've tried specifying both files for the flvtool2 path but it makes no difference.
Active6 years, 8 months ago

Help me with my Clip Bucket !Error, I am using Xamp server on Windows 8 RT
The error is below:Prechecking

Clipbucket requires following modules in order to work properly, we are performing some initial search to find modules. Click here for why we need these modules PHP

Notice: Undefined variable: php_ver in C:xampphtdocsClipbucketcb_installmodesprecheck.php on line 11 FFMPEG

Brass Quintet & Solo Trumpets Trumpet Feature. Composed by Eugene Bozza (1905-1991). Alphonse leduc.

Notice: Undefined variable: ffmpeg_ver in C:xampphtdocsClipbucketcb_installmodesprecheck.php on line 14 FLVtool2

Notice: Undefined variable: flvtool2_ver in C:xampphtdocsClipbucketcb_installmodesprecheck.php on line 17 MP4Box

Notice: Undefined variable: mp4boxver in C:xampphtdocsClipbucketcb_installmodesprecheck.php on line 21 cURL

Notice: Undefined variable: curlver in C:xampphtdocsClipbucketcb_installmodesprecheck.php on line 24 PHPShield

Notice: Undefined variable: phpshield in C:xampphtdocsClipbucketcb_installmodesprecheck.php on line 27

Thank you guys..will need serious help

Canadian Luke
18.5k33 gold badges97 silver badges153 bronze badges
EricEric

1 Answer

Firstly I rather doubt you're running it on windows RT - windows RT won't run unsigned code, and anything not on the microsoft market.

As for the errors, it basically means that you're missing software that Clipbucket relies on. You need to download and install these somewhere that XAMPP is aware of.

If you were on a linux system, this would be a simple matter of installing most of these off a package manager. On windows, it involves finding or compiling these, and likely putting these in a folder you've added to path.

Journeyman Geek

How To Install Flvtool2 On Windows

How To Install New Construction Windows

Journeyman Geek

Install Windows 7 On Windows 10 Computer

115k45 gold badges225 silver badges382 bronze badges

How To Install House Windows Yourself

Not the answer you're looking for? Browse other questions tagged xampp or ask your own question.