I wanted to convert some youtube footage to mp3 by using the Firefox addon DownloadHelper together with ffmpeg.
Ok, installed ffmpeg on OS X using MacPorts:
sudo port install ffmpeg +gpl +lame +x264 +xvid
Tried to convert a file. Got this error:
[libmp3lame @ 0x1804600]lame: output buffer too small (buffer index: 8360, free bytes: 1432)
Turns out this is a known bug with version 3.98.2 of libmp3lame, which, incidentally is the latest version on MacPorts.
I tried version 3.98 and it seems to work.
This guide tells how to install an older version of a port.
To save you some trouble, these are the steps I took to make it work:
cd /tmp curl -O http://trac.macports.org/export/38059/trunk/dports/audio/lame/Portfile sudo port install
Voila! ffmpeg can now generate mp3s without errors.
Advertisement
Posted by Chuck on November 19, 2009 at 18:01
Thanks, worked like a charm!
Posted by divineforest on December 16, 2009 at 10:22
Thanks! It just works!
Posted by Ert Dredge on October 16, 2011 at 03:56
Thanks. I’m sure upgrading to Lion would fix me up, too, but this was quick and fixed me right up.