Mac OS X and ffmpeg port

Posted by Jake Good
on Jun 26, 07

So you’ve got yourself a sweet new MacBook Pro… and you want to do some video transcoding…



…You go out and install MacPorts



…You type ‘sudo port install ffmpeg‘…



…And you get a big fat ERROR…



WTF?



…Type ‘sudo port uninstall ffmpeg && sudo port clean ffmpeg‘… (if you have an older version)



…Type ‘sudo port install ffmpeg +lame +libogg +vorbis +theora +faac +faad +xvid +x264 +a52 +dts’…



What the heck? It will go through and install a bunch of common libraries and codecs… and it works



‘Nuff said. kthxbai

Comments

Leave a response

  1. justinJun 25 07 @ 08:34PM

    Thanks Jake! The port install flag combination you provided saved me a lot of time. I tried a number of different combinations as I needed aac and vorbis and kept getting compile errors. Now if could just get ices2 installed… During the configure of ices2 it claims that that OggVorbis is not v1.0 or above. Looks like I’ll need to compile from source. I come from a Linux background and am still relatively new to OSX, but have found that using yum or apt-get is more supported and way easier to use on Linux. Just my 2 cents. Thanks again!

  2. Jake GoodJun 25 07 @ 08:34PM

    Thanks Justin! It took me a while to figure things out.. as the port was being a PITA…



    Hopefully you can figure out your OggVorbis dependency problem…

  3. IsaacJun 25 07 @ 08:34PM

    Thanks for writing this stuff down, I was having trouble getting it installed!

  4. mattJun 25 07 @ 08:34PM

    Good tip, thanks.

Comment