ffmpeg detection fixed
2 posts
• Page 1 of 1
ffmpeg detection fixed
Hello,
after I had try to install the right ffmpeg Version I found the error in the zOOm-Code - the detection was wrong.
Here is the right code to show, if ffmpeg is installed on the server:
Open the file /components/com_zoom/lib/toolbox.class.php and change the function
_testFFmpeg() with the following code
Now gone to the joomla backend and save the zOOm configuration, you don't have to change anything, just the path to ffmpeg should be 'auto'.
Done!
Hope it helps you.
Verena
after I had try to install the right ffmpeg Version I found the error in the zOOm-Code - the detection was wrong.
Here is the right code to show, if ffmpeg is installed on the server:
Open the file /components/com_zoom/lib/toolbox.class.php and change the function
_testFFmpeg() with the following code
- Code: Select all
function _testFFmpeg() {
global $output, $status;
$output = array();
@exec('ffmpeg -version', $output, $status);
if (!empty($output[0])) {
if (preg_match("/ffmpeg.*([0-9])/i",$output[0],$matches)) {
return $matches[0];
}
}
unset($output, $status);
}
Now gone to the joomla backend and save the zOOm configuration, you don't have to change anything, just the path to ffmpeg should be 'auto'.
Done!
Hope it helps you.
Verena
- wedeen
- Fresh Boarder

- Posts: 2
- Joined: Wed Feb 17, 2010 12:06 pm
Re: ffmpeg detection fixed
Hi Verena. Thanks a lot. I was also having error in zOOm-Code - and after following your instructions, It is completed and no error found. Thanks dear for helping. 
- rachel12
- Fresh Boarder

- Posts: 1
- Joined: Tue Jan 18, 2011 10:08 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 1 guest