Well, at least it is in my world :)

Doing some googling on ffmpeg again last night, and then attempting another install on my ubuntu server, which I actually thought just another useless attemp, but I got nice surprise this time, here’s the story :

I was stumble upon this url :

http://desukyu.blogspot.com/2007_05_01_archive.html

an Indonesian blog with nice step by step instruction on how to install ffmpeg in Ubuntu Dapper. The result I got was just barely working ffmpeg… This is useless… I want my amr and aac codecs !!! …

Then I notice one of the step mention a url that finally lead to this url :
enable-mp3-and-amr-support-in-ffmpeg-ubuntudebian

It was an old one, which I saw and try to follow before, but no luck… Anyway, what the heck… I’d try again… and again, no luck, it’s working but no amr and / or aac… Hmm, I saw that there’s one thing I haven’t try, install from precompiled binary… yep, there it is.

I remove old ffmpeg ( apt-get remove ffmpeg ), then download the precompiled binary from here

Install…
dpkg -i ffmpeg_0.cvs20050918-5ubuntu1_i386.deb

then wala !! amr_nb and aac pops out in supported codecs formats … sweet !!

I’m not sure if the precompiled package comes with all necessary dependencies, or it was result of the steps I previously taken, but the stuff works, and that is all I need :)

Feeling turbocharged :) I move on to find a way to install ffmpeg in my mac, and here’s what I found…

http://www.ffmpegx.com/download

Yeah, I know, it’s a GUI software, but hang on… The GUI is just front end for many other back end programs, and one of them, the big part of it, is good old ffmpeg. So, I figure it must be there somewhere to be utilized via command line. After another googling while waiting for the 30Mb download, I’ve found another enlightenment :

http://codex.gallery2.org/Gallery2:Modules:ffmpeg#Usage

Which says :

if you are using Mac OS X for development/test/webserver and you have Gallery2 installed on it, use the steps listed below to get and install the ffmpeg binary and to configure the ffmpeg Gallery2 module:

  1. Download ffmpeg [1]
  2. Open the .dmg package
  3. Control-click on ffmpegX.app and select “Show Package Contents”
  4. Find Contents/Resources/ffmpeg
  5. Copy ffmpeg to somewhere like /usr/local/bin
  6. … ( the rest is irrelevant to my need :)

Installed ffmpegX, find the ffmpeg binary and copy to /usr/local/bin… check

run ffmpeg -formats … sweeet !!! amr_nb, amr_wb, aac nicely sit there :)

run a couple of tests converts from and to 3gp, mp4 and flv, everything worked… video ok, audio ok, it simply works like a charm.

Oh the joy of open source :)

Okay, I need to sleep, suddenly got a headache… just realized the sun is rising, it was 6 am, another all nighter, but nice one…