Installing ffmpeg on Fedora Core 10
If you're new here, you may want to subscribe to my RSS feed.
Thanks for reading my blog!
In a perfect world you'd execute "yum install ffmpeg" and yum will install the dependencies but sometimes it does not work without some extra effort.
Solution
Adding an additional yum repository.
Login as root
[code]
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
[/code]
[code]
# vi /etc/yum.repos.d/atrpms.repo
[/code]
Paste the contents
[code]
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
[/code]
Execute the install command again
[code]
yum install ffmpeg
[/code]
Related:
http://atrpms.net/install.html
Voila.
Do let me know if that quick tip has saved you several hours
February 9th, 2009 at 7:35 am
Thanks a million, this TIP save me loads of time.
February 9th, 2009 at 8:51 pm
That's great! I am glad that it saved you some time.
Slavi
March 3rd, 2009 at 3:35 pm
It rocks thanks
March 10th, 2009 at 5:15 pm
Cool.
April 10th, 2009 at 5:12 am
You're a lifesaver - that just saved me an entire night! Thank you!
April 15th, 2009 at 5:27 pm
Thanks
April 21st, 2009 at 4:13 am
Hello Svetoslav Marinov, Thank you for such a good information with us. Can you give some more info about creating yum repositories and all that kind of stuff?
May 3rd, 2009 at 9:41 am
Hi,
Thank you for posting your comment and question.
I believe there was a line in the yum where you can enable the mirror list.
May 7th, 2009 at 9:34 pm
Sorry but I get this error message, can anyone assist me?
http://dl.atrpms.net/f8-i386/atrpms/stable/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again
Thanks
May 8th, 2009 at 8:28 pm
Could you look for mirrors in the config files ?
May 8th, 2009 at 8:30 pm
Hi Svetoslav,
I actually got it to work,
Thanks a million
May 8th, 2009 at 8:34 pm
Nice to hear that!
May 10th, 2009 at 11:00 am
Thanks a lot.. it indead saved me some time
May 10th, 2009 at 11:52 am
I am glad it did!
Thanks for commenting.
Nice email by the way
May 18th, 2009 at 12:57 am
Thanks a million.
May 19th, 2009 at 9:58 am
Will the above described process install everything mentioned follow?
- FFmpeg-PHP
- Mplayer
- Mencoder
- flv2tool
- LAME MP3 Encoder
If not could you please explain a bit more?
May 19th, 2009 at 5:15 pm
No problem!
May 19th, 2009 at 5:23 pm
Hi,
the command will try to install only ffmpeg and it pre-requisits.
You have to perform separated calls to yum.
e.g.
yum install flv2tool
also you could do is:
yum search SOME_TEXT
June 5th, 2009 at 2:23 pm
Svetoslav, your blog entry is a life-saver. Thanks a bunch for posting this piece of info.
June 16th, 2009 at 9:04 am
Thanks! I'd been trying to install this for ages and getting nowhere fast!
Wes
July 14th, 2009 at 7:27 pm
Thanks for commenting.
July 14th, 2009 at 7:28 pm
Thanks for your nice words!
I am glad my blog helps people.
July 22nd, 2009 at 5:19 am
Working smoothly on my FC11 box. Thank you very much for the guide.
July 22nd, 2009 at 7:10 am
I am it has worked Donny.
No problem.
August 24th, 2009 at 9:47 pm
That is such a cool wy of yumming it!
August 26th, 2009 at 10:32 am
Not working for me in FC9 it says:
http://dl.atrpms.net/f9-i386/atrpms/stable/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again
August 27th, 2009 at 6:46 am
that is weird.
My tip is for fedora 10.
Maybe there are some small differences there.
August 27th, 2009 at 6:48 am
Yep.
October 2nd, 2009 at 7:06 am
Excellent tip. Saved hours. Brilliant!
November 10th, 2009 at 5:46 pm
Thanks Mike
November 12th, 2009 at 5:36 am
You rock !!!
that just worked perfectly
Thanks
November 17th, 2009 at 1:41 pm
ok. this worked for me on fedora 11.
thanks!
November 30th, 2009 at 11:02 am
След няколкочасово лутане се натъкнах на краткия ти и точен guide. Свърши ми страхотна работа, Благодаря!
Ето и моите 5 стинки- инфо , за ffmpeg-php:
Download ffmpeg-php: http://sourceforge.net/project/showfiles.php?group_id=122353&package_id=133626
За да се компилира трябва да се инсталират и devel пакета и зависимостите:
yum install ffmpeg-devel
При компилирането се натъкваш на два проблема, решението, на които намерих тук:
http://www.linuxquestions.org/questions/linux-software-2/ffmpeg-php-configuration-errror-748476/
А именно:
tar xjvf ffmpeg-php-0.6.0.tbz2
cd ffmpeg-php-0.6.0
phpize
Трябва да се редактира малко кода, иначе не работи модула:
vi ffmpeg_frame.c
:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32
:wq!
./configure
make
Получава се грешка, която е резултат на синтактична грешка в кода:
make: *** [ffmpeg_frame.lo] Error 1
Workaround:
cp ffmpeg_frame.loT ffmpeg_frame.lo
make
make install
Това е от мен
January 27th, 2010 at 4:19 pm
I searched so long for a install-guide for installing ffmpeg on Fedora 12. Seems everyone suggests installing ffmpeg to work out-of-the-box. But it did not (yum install ffmpeg => "Package ffmpeg not found", and all sources were active)!
Finally I found your site via Google. Because the article says "... on Fedora Core 10" I didnt have much hope that it would work. But it did! I'm so glad. Thank you so much!
February 8th, 2010 at 11:54 am
hi Svetoslav,
I tried recently I got some errors,
http://dl.atrpms.net/f10-i386/atrpms/stable/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms.
February 20th, 2010 at 9:02 pm
You are the Man!!! This took me hours of finding stuff and compiling on Fedora 9. This works flawlessly with Fedora 12. I am using Playstation Media server and this did the trick for streaming my movies from my Linux box. This took me a total of 10 min, that was including PS3 and Xbox 360 media server testing.
Thank you Thank you you have saved me many hours
February 21st, 2010 at 8:45 pm
Please if anyone can Help.
I am looking to install ffmpeg on fedora 8 64 bit.
if anyone can show me how to install it.
Thank You!
David
March 22nd, 2010 at 10:30 am
you just saved me from compiling my own ffmpeg, thanks for this no nonsense tutorial.
March 25th, 2010 at 10:39 am
It looks like atrpms is not maintaining f10 repos anymore.
May 7th, 2010 at 5:14 pm
yes, probably that's the case
May 7th, 2010 at 5:15 pm
no problem. thanks for the comment!
May 7th, 2010 at 5:19 pm
I don't think Fedora 8 is supported anymore. maybe you can compile ffmpeg from source ?
May 7th, 2010 at 5:19 pm
I love to see such comments
May 7th, 2010 at 5:20 pm
You're very welcome.