LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2010, 11:46 PM   #1
awww
Member
 
Registered: Nov 2010
Posts: 38

Rep: Reputation: Disabled
Installing ffmpeg problems


i have been tryin to install ffmpeg for the longest and it seems to not be installing can anyone tell me what im doing wrong my set up is a centos server





login as: root
root@'s password:
Last login: Tue Nov 2 20:44:18 2010 from
[root@ ~]# yum install ffmpeg
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: www3.atomicorp.com
* rpmforge: ftp-stud.fht-esslingen.de
11493 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ffmpeg.x86_64 0:0.5.2-2.el5.rf set to be updated
--> Processing Dependency: libpostproc.so.51(LIBPOSTPROC_51)(64bit) for package: ffmpeg
--> Processing Dependency: libpostproc.so.51()(64bit) for package: ffmpeg
--> Running transaction check
---> Package ffmpeg-libpostproc.x86_64 0:0.5.2-2.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ffmpeg x86_64 0.5.2-2.el5.rf rpmforge 2.4 M
Installing for dependencies:
ffmpeg-libpostproc x86_64 0.5.2-2.el5.rf rpmforge 36 k

Transaction Summary
================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)

Total download size: 2.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): ffmpeg-libpostproc-0.5.2-2.el5.rf.x86_64.rpm | 36 kB 00:00
(2/2): ffmpeg-0.5.2-2.el5.rf.x86_64.rpm | 2.4 MB 00:02
--------------------------------------------------------------------------------
Total 778 kB/s | 2.4 MB 00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ffmpeg-libpostproc 1/2
Installing : ffmpeg 2/2
Error unpacking rpm package ffmpeg-0.5.2-2.el5.rf.x86_64
error: unpacking of archive failed on file /usr/bin/ffmpeg: cpio: rename

Dependency Installed:
ffmpeg-libpostproc.x86_64 0:0.5.2-2.el5.rf

Failed:
ffmpeg.x86_64 0:0.5.2-2.el5.rf

Complete!
[root@e2180-22530 ~]# update ffmpeg
-bash: update: command not found
[root@e2180-22530 ~]# yum update ffmpeg
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: www3.atomicorp.com
* rpmforge: ftp-stud.fht-esslingen.de
11493 packages excluded due to repository priority protections
Setting up Update Process
Package(s) ffmpeg available, but not installed.
No Packages marked for Update
[root@e2180-22530 ~]# ffmpeg -version
-bash: ffmpeg: command not found
[root@e2180-22530 ~]# yum install ffmpeg
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: www3.atomicorp.com
* rpmforge: ftp-stud.fht-esslingen.de
addons | 951 B 00:00
atomic | 1.9 kB 00:00
base | 2.1 kB 00:00
centosplus | 1.9 kB 00:00
dag | 1.1 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.1 kB 00:00
update | 1.9 kB 00:00
11493 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ffmpeg.x86_64 0:0.5.2-2.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ffmpeg x86_64 0.5.2-2.el5.rf rpmforge 2.4 M

Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 2.4 M
Is this ok [y/N]: y
Downloading Packages:
ffmpeg-0.5.2-2.el5.rf.x86_64.rpm | 2.4 MB 00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ffmpeg 1/1
Error unpacking rpm package ffmpeg-0.5.2-2.el5.rf.x86_64
error: unpacking of archive failed on file /usr/bin/ffmpeg: cpio: rename

Failed:
ffmpeg.x86_64 0:0.5.2-2.el5.rf

Complete!
[root@ ~]# ffmpeg -version
-bash: ffmpeg: command not found
[root@e2180-22530 ~]# nano -w /etc/yum.repos.d/dag.repo.
[root@e2180-22530 ~]# wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
--2010-11-02 21:37:50-- http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
Resolving dag.wieers.com... 62.213.193.149
Connecting to dag.wieers.com|62.213.193.149|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://apt.sw.be/RPM-GPG-KEY.dag.txt [following]
--2010-11-02 21:37:50-- http://apt.sw.be/RPM-GPG-KEY.dag.txt
Resolving apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1672 (1.6K) [text/plain]
Saving to: `RPM-GPG-KEY.dag.txt'

100%[======================================>] 1,672 --.-K/s in 0s

2010-11-02 21:37:51 (145 MB/s) - `RPM-GPG-KEY.dag.txt' saved [1672/1672]

[root@e2180-22530 ~]# nano RPM-GPG-KEY.dag.txt
[root@e2180-22530 ~]# rpm --import RPM-GPG-KEY.dag.txt
[root@e2180-22530 ~]# yum install ffmpeg
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: www3.atomicorp.com
* rpmforge: ftp-stud.fht-esslingen.de
11493 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ffmpeg.x86_64 0:0.5.2-2.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ffmpeg x86_64 0.5.2-2.el5.rf rpmforge 2.4 M

Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 2.4 M
Is this ok [y/N]: y
Downloading Packages:
ffmpeg-0.5.2-2.el5.rf.x86_64.rpm | 2.4 MB 00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ffmpeg 1/1
Error unpacking rpm package ffmpeg-0.5.2-2.el5.rf.x86_64
error: unpacking of archive failed on file /usr/bin/ffmpeg: cpio: rename

Failed:
ffmpeg.x86_64 0:0.5.2-2.el5.rf

Complete!
[root@e2180-22530 ~]# ffmpeg -version
-bash: ffmpeg: command not found
[root@e2180-22530 ~]# -bash: ffmpeg: command not found
-bash: -bash:: command not found
[root@e2180-22530 ~]#

Last edited by awww; 11-02-2010 at 11:48 PM.
 
Old 11-03-2010, 11:32 AM   #2
module0000
Member
 
Registered: Feb 2010
Location: USA
Distribution: RHEL
Posts: 36

Rep: Reputation: 15
Please post the output of `lsattr /usr/bin/ffmpeg`

That error looks nearly identical to what happens when an RPM tries to update a file with +i set.
 
Old 11-03-2010, 12:33 PM   #3
awww
Member
 
Registered: Nov 2010
Posts: 38

Original Poster
Rep: Reputation: Disabled
yea i thought that to everything is installed correctly but my script will not detect it no matter what i dont know what im doing wrong
 
Old 11-03-2010, 12:35 PM   #4
module0000
Member
 
Registered: Feb 2010
Location: USA
Distribution: RHEL
Posts: 36

Rep: Reputation: 15
Does /usr/bin/ffmpeg exist? If so, try to remove it manually and then reinstall the ffmpeg package.
 
Old 11-03-2010, 12:51 PM   #5
awww
Member
 
Registered: Nov 2010
Posts: 38

Original Poster
Rep: Reputation: Disabled
im going to uninstall it and do it this way http://www.crucialp.com/resources/tu...e-easy-way.php maybe it would work if not ill be back here lol
 
Old 11-03-2010, 02:41 PM   #6
awww
Member
 
Registered: Nov 2010
Posts: 38

Original Poster
Rep: Reputation: Disabled
ok i installed it but none of my scripts are detecting them


http://i52.tinypic.com/2zp0a48.png
 
Old 11-04-2010, 12:22 PM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

From the screenshot looks like ffmpeg-php extension is installed correctly.
Are you sure that your scripts are working?
If you want to test the extension, follow the testing instructions on the ffmpeg-php site:
Quote:
Testing the Installation

* Put the directory test_media and test_ffmpeg.php script under your web root somewhere (put both in the same directory).
* Load test_ffmpeg.php into your browser.

RESULTS: You should get a listing of the methods provided by the ffmpeg-php module as well as some test output from the methods.
Regards
 
1 members found this post helpful.
Old 11-04-2010, 11:25 PM   #8
awww
Member
 
Registered: Nov 2010
Posts: 38

Original Poster
Rep: Reputation: Disabled
Ran Those Tests And everything turned up fine im trying to install clip bucket script BTW and its not detecting it for anything i dont know whats going on.
 
Old 11-05-2010, 02:59 PM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Did you check your web server's logs to see if you have any errors when you're trying to install your software?
Also you can set
Code:
display_errors = On
in php.ini to see if you get errors on screen. Note that you need to restart the web server if you change php.ini

Regards
 
Old 11-09-2010, 04:43 PM   #10
awww
Member
 
Registered: Nov 2010
Posts: 38

Original Poster
Rep: Reputation: Disabled
how do i find the directory i mean its on my server heres my phpinfo.php http://i52.tinypic.com/4lk3zm.png
 
Old 11-09-2010, 05:17 PM   #11
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Could you please enclose that output in [code][/code] tags? Those long lines force the page to stretch horizontally, making it very difficult to follow the thread.
 
Old 11-10-2010, 12:32 AM   #12
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by awww View Post
how do i find the directory i mean its on my server heres my phpinfo.php http://i52.tinypic.com/4lk3zm.png
What directory?
php.in is located in /etc/php.ini and the apache logs are under /var/log/httpd

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help installing ffmpeg, pls l3kris Linux - Server 3 07-28-2010 05:26 AM
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
Problems installing ffmpeg sokar24 Linux - Server 1 01-05-2009 05:01 PM
installing ffmpeg for opencv josemalo Linux - Software 1 02-27-2006 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration