MacPorts lame: output buffer too small
I've run into a small problem working with MacPorts ffmpeg port.
Trying to convert a file I get the error:
lame: output buffer too small
Now this isn't a problem with ffmpeg, but more specifically the MacPorts lame port.
As of today, the latest version of lame in MacPorts is v3.98.2. I needed to easily rollback to a previous version of lame, one which worked.
I scoured the MacPorts for the previous version of the lame Portfile. I found one for lame v3.98.0, and decided to give it a try.
Installing Older Port
Inside the command line I had to enter the following:
svn checkout -r 39480 http://svn.macports.org/repository/macports/trunk/dports/audio/lame
This would checkout the revision of lame I wanted. I entered the directory and executed:
cd lame sudo port install
After installation, I gave it a try and everything worked!
Prevent lame From Being Upgraded
Now if you generally update your MacPorts via port upgrade outdated or port -u upgrade, you'll have to becareful.
Running those two commands will upgrade your lame to the current revision, which may break your setup again.
Instead you are required to upgrade your MacPorts like so:
sudo port upgrade outdated and not lame
There you have it! Hope you enjoy your lame!
FreeMind Now Native on Apple Mac OS X 10.6 Snow Leopard
Previously I discussed how FreeMind didn't work on Apple's latest Mac OS X 10.6 Snow Leopard, due to requiring Apple Rosetta and a temporary work around for it.
But don't worry, no work around is required any more! As of this writing, FreeMind v0.9.0 Release Candidate 6 now runs fine on Apple Mac OS X 10.6 Snow Leopard. Go download the latest FreeMind.
The best part is, it loads a hell lot faster. Looks like there is a new splash screen and logo.
Screen and Window Capture on Apple Mac OS X
Apple Mac OS X comes with a screencapture command line tool, which helps us capture both screens and individual windows.
For a detailed list of screencapture's manual don't forget you can run man screencapture
.
For capturing a window with its shadow, and opening it in Preview:
screencapture -PW ~/Desktop/window.png
For capturing a window without it shadow, and opening it in Preview:
screencapture -PoW ~/Desktop/window.png


