Status
Not open for further replies.

grvulture

Registered
Nov 4, 2009
4
0
51
Here's how I did it...:

Code:
Step 1: Update the system
sudo yum install epel-release -y
sudo yum update -y

Step 2: Install the Nux Dextop YUM repo
There are no official FFmpeg rpm packages for CentOS for now. Instead, you can use a 3rd-party YUM repo, Nux Dextop, to finish the job.

On CentOS 7, you can install the Nux Dextop YUM repo with the following commands:

sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

For CentOS 6, you need to install another release:

sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

Step 3: Install FFmpeg and FFmpeg development packages
sudo yum install ffmpeg ffmpeg-devel -y

Step 4: Test drive
Confirm the installation of FFmpeg:

ffmpeg
 
Last edited by a moderator:

Nirjonadda

Well-Known Member
May 8, 2013
741
28
78
cPanel Access Level
Root Administrator
Here's how I did it...:

Code:
Step 1: Update the system
sudo yum install epel-release -y
sudo yum update -y

Step 2: Install the Nux Dextop YUM repo
There are no official FFmpeg rpm packages for CentOS for now. Instead, you can use a 3rd-party YUM repo, Nux Dextop, to finish the job.

On CentOS 7, you can install the Nux Dextop YUM repo with the following commands:

sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

For CentOS 6, you need to install another release:

sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

Step 3: Install FFmpeg and FFmpeg development packages
sudo yum install ffmpeg ffmpeg-devel -y

Step 4: Test drive
Confirm the installation of FFmpeg:

ffmpeg
Does this install latest version of FFmpeg and ffmpeg-php extension?
 

durangod

Well-Known Member
May 12, 2012
504
46
78
cPanel Access Level
Website Owner
We are having a really hard time with getting ffmpeg installed and working. I thought maybe we got lucky when we found a dir named usr/local/cpffmpeg with a bunch of libs in it but i guess thats not what we want.

Like others here i always used the autoinstaller but that is broken now as i guess some of the libs are out of date and we failed with mplayer as well when we ran it. And i guess apache4 did not make things better.

So i found this on youtube, the guy shared it on his dropbox and i had a friend mod it and it installs but i cant get videos
to convert. My string sent to FFMPEG is perfect but FFMPEG bombs and i cant find a log file to tell me why its failing on conversion.

So since i got this for free im going to share it here, if anyone can help fix it for everyone so that we all can use it than thats great, its a team effort. We really need FFMPEG we are sunk without it..

Please do what you can with this and help us make it work so that we can convert vids. Thanks :)

I have changed this filename from sh to text so it can be read.

- Removed -
 
Last edited by a moderator:

durangod

Well-Known Member
May 12, 2012
504
46
78
cPanel Access Level
Website Owner
I wonder why my file was removed? It was in text format so it was harmless.
 

durangod

Well-Known Member
May 12, 2012
504
46
78
cPanel Access Level
Website Owner
@Infopro

Forgive me maybe im being stupid here, but that statement says nothing about users of this forum helping each other and it does not ask us to not post code to help each other. It in fact says that cPanel staff cannot assist in any way. We are not asking for your assistance, we are trying to work through this ourselves.

So with that said if you scroll up you will see that others have posted code on how they did it. What is the difference in how i posted that file in text format (harmless) rather than post the whole long file in a code tag on the forum. Please explain your issue with the file exactly. And if i need to just post the code on the page i will.
 

Infopro

Well-Known Member
May 20, 2003
17,090
518
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
You might do better to post that script on webhostingtalk or some other SysAdmin forum for assistance. My main issue with the script you posted is this, from your own forum signature:

Yes it lists me as root admin but i am green-untrained-and clueless!
Take a look at that file and all the additional things it needs to install on your server to work. And it does not work. But it's installed on your server now. Do you have any clue how to remove it safely without making a mess? I'm assuming you don't.

Should the next person looking for this do what you did and install some unknown hacked installer without a clue as well? They can if they like, but it shouldn't come from this forum.

This topic has come up over and over thru the years, this very thread was started over 3 years ago. Scroll to the bottom of this thread to see other similar threads, all ending the same way.

Installing old out of date scripts is a bad idea. You will make a mess of your server.
 
  • Like
Reactions: Anupam SG and rpvw

durangod

Well-Known Member
May 12, 2012
504
46
78
cPanel Access Level
Website Owner
@Infopro

First of all sir, i understand your concern and it is your forum so you can push your weight around all you like if thats what makes your day.

However your reply is not logical at all, it does not look as if you posted the same or similar text to all the other people posting code not do to so because someone might try it. What about them huh!! Why selectively pick on my posted code.

Also i did not write that, i found that online and i had a experienced server tech test it and make sure it would complete the install process and that the libs were updated. Then he went on vacation and is not available. I looked through that file myself and i found nothing of malicous intent. The issue i am having is that ffmpeg is not converting vids, the issue is not the install is not working.

So i thought maybe it was a needed library that just had to be added to the script.

People post code on here all the time, some for some systems and some for others, if you run the wrong thing on the wrong type of server you can break it yes. But as i said that risk comes with the territory. And again i remind you that everyone else that shared their code did not get it removed did they?

Again i understand your concern but you cant possibly protect everyone from everything in an open forum... Some people will make mistakes, thats how we learn. And that script has nothing malicous in it, and nothing that will cause harm. If it did i would not have posted it..

I also clearly stated that it did not work as far as converting vids, so with that said most would skip it over anyway unless they felt like they could fix it.

Again its your forum you can close the thread if you dont want ffmpeg discussed or us helping each other on here. But what i think is that you are singling me out because you had a bad day and your tossing your weight around, as you usually do without cause or justification.

Do as you will... im done with this thread anyway and im not going to let you make my day a downer...
 
Status
Not open for further replies.