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
Thanks a million, this TIP save me loads of time.
That's great! I am glad that it saved you some time.
Slavi
It rocks thanks :-)
Cool. :D
You're a lifesaver - that just saved me an entire night! Thank you!
Thanks :D
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?
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.
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
Could you look for mirrors in the config files ?
Hi Svetoslav,
I actually got it to work,
Thanks a million
Nice to hear that! :D
Thanks a lot.. it indead saved me some time
I am glad it did!
Thanks for commenting.
Nice email by the way ;)
Thanks a million.
No problem!
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?
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
Svetoslav, your blog entry is a life-saver. Thanks a bunch for posting this piece of info.
Thanks for your nice words!
I am glad my blog helps people.
Thanks! I'd been trying to install this for ages and getting nowhere fast!
Wes
Thanks for commenting.
Working smoothly on my FC11 box. Thank you very much for the guide.
I am it has worked Donny.
No problem.
That is such a cool wy of yumming it!
Yep.
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
that is weird.
My tip is for fedora 10.
Maybe there are some small differences there.
Excellent tip. Saved hours. Brilliant!
Thanks Mike
You rock !!!
that just worked perfectly :-)
Thanks
ok. this worked for me on fedora 11.
thanks!
След няколкочасово лутане се натъкнах на краткия ти и точен 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
Това е от мен :)
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!
You're very welcome.
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.
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 :)
I love to see such comments :)
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
I don't think Fedora 8 is supported anymore. maybe you can compile ffmpeg from source ?
you just saved me from compiling my own ffmpeg, thanks for this no nonsense tutorial.
no problem. thanks for the comment!
It looks like atrpms is not maintaining f10 repos anymore.
yes, probably that's the case
I have tried everything to install ffmepg and flvtools on fedora 12 without success.
Your tips did not work, They gave me the error
oaded plugins: presto, refresh-packagekit
Config Error: File contains no section headers.
file: file://///etc/yum.repos.d/atrpms.repo, line: 1
'name=Fedora Core 12 - i386 - ATrpmsn'
[root@localhost tmp]#
Any ideas ??
nope
Thank you, this worked very smooth and easy. Thanks a million
nice
I followed your instructions and got ffmpeg and ffmpeg-devel installed on my Fedora12. Many thanks!
Great!
Absolutely awesome! Works for Fedora Core 12 equally well. I didn't expect any problems due to Fedora version difference but just wanted to share that it worked on 12.
Thanks a mill :)