Sunday, 25 January 2015 10:16


ffmpeg detection fixed

zOOm Media Gallery for Joomla 1.5

ffmpeg detection fixed

Postby wedeen » Wed Feb 17, 2010 12:11 pm

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'.


Hope it helps you.
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Wed Feb 17, 2010 12:06 pm

Re: ffmpeg detection fixed

Postby rachel12 » Tue Jan 18, 2011 10:15 am

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. :)
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Tue Jan 18, 2011 10:08 am

Return to zOOm

Who is online

Users browsing this forum: No registered users and 1 guest