A Cool Blog
Science And Technology
Installing FFMpeg on linux for jomsocial video converting.
If you're sure you have ffmpeg installed on your linux box but you're still getting "Could not convert video" messages from your jomsocial cron you may want to check what exactly the output of your ffmpeg is in the linux terminal.
Go to your shell or linux terminal and type >/usr/bin/ffmpeg
You should get a bunch of output if ffmpeg is installed.
The important thing to notice here is the php code inside of jomsocial.
inside of
com_community/libraries/videos.php You'll find the following code.
$hasVersion = JString::strpos( $output, 'FFmpeg version' );
$hasCopyright = JString::strpos( $output, 'the FFmpeg developers' );
return ($hasVersion !== false || $hasCopyright !== false);
This code is checking against the same output you get when you type ffmpeg into the terminal. My linux install was ubuntu 11.10 and my output was a lower case "ffmpeg version" and "the libdev developers" instead of capitalized "FFmpeg developers" and "the FFmpeg developers"
So make sure you check against the actual output of your ffmpeg instead of what jomsocial is checking against.