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

Tags: , , , , ,

44 Responses to “Installing ffmpeg on Fedora Core 10”

  1. Steve Tucker Says:

    Thanks a million, this TIP save me loads of time.

  2. Svetoslav Marinov Says:

    That's great! I am glad that it saved you some time.
    Slavi

  3. Jens Says:

    It rocks thanks :-)

  4. Svetoslav Marinov Says:

    Cool. :D

  5. Brad Wood Says:

    You're a lifesaver - that just saved me an entire night! Thank you!

  6. Svetoslav Marinov Says:

    Thanks :D

  7. Pranav Says:

    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?

  8. Svetoslav Marinov Says:

    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.

  9. bajeboy Says:

    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

  10. Svetoslav Marinov Says:

    Could you look for mirrors in the config files ?

  11. bajeboy Says:

    Hi Svetoslav,

    I actually got it to work,

    Thanks a million

  12. Svetoslav Marinov Says:

    Nice to hear that! :D

  13. M Says:

    Thanks a lot.. it indead saved me some time

  14. Svetoslav Marinov Says:

    I am glad it did!
    Thanks for commenting.
    Nice email by the way ;)

  15. Ben Kim Says:

    Thanks a million.

  16. Monirul Islam Says:

    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?

  17. Svetoslav Marinov Says:

    No problem!

  18. Svetoslav Marinov Says:

    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

  19. NS Says:

    Svetoslav, your blog entry is a life-saver. Thanks a bunch for posting this piece of info.

  20. Wes Says:

    Thanks! I'd been trying to install this for ages and getting nowhere fast!

    Wes

  21. Svetoslav Marinov Says:

    Thanks for commenting.

  22. Svetoslav Marinov Says:

    Thanks for your nice words!
    I am glad my blog helps people.

  23. Donny Says:

    Working smoothly on my FC11 box. Thank you very much for the guide.

  24. Svetoslav Marinov Says:

    I am it has worked Donny.
    No problem.

  25. David L Says:

    That is such a cool wy of yumming it!

  26. Umesh Says:

    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

  27. Svetoslav Marinov Says:

    that is weird.
    My tip is for fedora 10.
    Maybe there are some small differences there.

  28. Svetoslav Marinov Says:

    Yep.

  29. Mike Poole Says:

    Excellent tip. Saved hours. Brilliant!

  30. Svetoslav Marinov Says:

    Thanks Mike

  31. Bo Diechmann Says:

    You rock !!!
    that just worked perfectly :-)

    Thanks

  32. danpaluska Says:

    ok. this worked for me on fedora 11.

    thanks!

  33. harry Says:

    След няколкочасово лутане се натъкнах на краткия ти и точен 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

    Това е от мен :)

  34. AO Says:

    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!

  35. Pranav Says:

    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.

  36. eggmann Says:

    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 :)

  37. david Nahmias Says:

    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

  38. hairmare Says:

    you just saved me from compiling my own ffmpeg, thanks for this no nonsense tutorial.

  39. John Says:

    It looks like atrpms is not maintaining f10 repos anymore.

  40. Svetoslav Marinov Says:

    yes, probably that's the case

  41. Svetoslav Marinov Says:

    no problem. thanks for the comment!

  42. Svetoslav Marinov Says:

    I don't think Fedora 8 is supported anymore. maybe you can compile ffmpeg from source ?

  43. Svetoslav Marinov Says:

    I love to see such comments :)

  44. Svetoslav Marinov Says:

    You're very welcome.

Leave a Reply