Dynadot โ€” .com Transfer

Willing to pay someone to fix this

Spaceship Spaceship
Watch

Maximus_

Established Member
Impact
2
I got a youtube clone script of someone on DP but getting error when trying to upload videos. The script requires FFMPEG installed and FFPMPEG+php. I verified with the host the path to ffmpeg

The error is:

Fatal error: Cannot instantiate non-existent class: ffmpeg_movie in /home/xxxtenet/public_html/upload.php on line 83.


line 83 in upload php is { $mov = new ffmpeg_movie($ff);


The site url is xxxtube.net
You can use user: czar
pass: 123456 to log in and try it.

Willing to give away any script on www.phppod.com for fixing this issue

Please help

Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
It's looking for the ffmpeg class and not finding it. See if there are options in your youtube clone script that ask you for a path to the ffmpeg-php file containting the class. Make sure that filename is correct.

ffmpeg-php also has requirements of:
* ffmpeg-0.4.9_pre1 or higher.
* php-4.3.0 or higher
* gd-2.0 or higher (the version of GD bundled with PHP works too)

make sure this is all good too. But for the moment the problem is the script is definatly not finding an included file.


I would be able to help out better if I had access to your script.
The script your using may assume that the ffmpeg-php extension has been set to auto-load in the php.ini file. If this is the case the following infront of some of the scripts files would make it work:

PHP:
<?php
$extension = "ffmpeg";
$extension_soname = $extension . "." . PHP_SHLIB_SUFFIX;
$extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname;

// load extension
if(!extension_loaded($extension)) {
    dl($extension_soname) or die("Can't load extension $extension_fullname\n");
}
?>
 
Last edited:
0
•••
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back