MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Tips and Tricks => Topic started by: atljohnsen on 2019-07-21, 01:27:01

Title: FFMPEG in Centos 7
Post by: atljohnsen on 2019-07-21, 01:27:01
I have in earlier posts in this forum seen requests for help on installing FFmpeg. This issue is not so much directed to Kloxo-MR but many have a need for handling multimedia files on their server, and FFmpeg contains a set of useful audio and video libraries such as libavcodec, libavformat, and libavutil. With FFmpeg, you can convert between various video and audio formats, set sample rates, capture streaming audio/video and resize videos. Especially social community websites benefit from FFmpeg, if for example using JomSocial.
FFmpeg is not available in CentOS 7 core repositories or those distributed with Kloxo-MR. It must therefore be installed using yum from Nux Dextop repository as follows:

The Nux repository depends on the EPEL software repository. If it is not enabled on your system, enable it via SSH (you need SUDO privileges)

#yum install epel-release

Next, import the Repository GPG key and enable the Nux repositories by installing the rpm package:

#rpm -v --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

#rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

Once the repository is enabled, install FFmpeg:

#yum install ffmpeg ffmpeg-devel

Verify the FFmpeg installation by running the ffmpeg -version command:

#ffmpeg -version

That’s it. FFmpeg will be on your CentOS 7. But for third party software like JomSocial to function you would need exec/passthru/shell_exec/system access, so you would need to change that in Kloxo-MR Admin/Advanced PHP settings.

Thanks for an excellent Control Panel - maybe the best. I have donated.