Output buffer too small in latest lame 3.98.2

Steve Hellyer phasetwo at mac.com
Tue Oct 13 15:11:14 PDT 2009


Wondering if there is a way in Macports to request particular version  
of a port when installing?
I am running Snow Leopard 10.6.1 and have Mac Ports 1.8.1 and it is  
working fine.  I installed ports ffmpeg +lame.  Both compiled and  
installed without error.

Turns out there is a problem with latest Lame package 3.98.2 with  
ffmpeg as produces buffer errors...

FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
   configuration: --prefix=/opt/local --disable-vhook --enable-gpl -- 
enable-postproc --enable-swscale --enable-avfilter --enable-avfilter- 
lavf --enable-libmp3lame --enable-libvorbis --enable-libtheora -- 
enable-libdirac --enable-libschroedinger --enable-libfaac --enable- 
libfaad --enable-libxvid --enable-libx264 --mandir=/opt/local/share/ 
man --enable-shared --enable-pthreads --cc=/usr/bin/gcc-4.2 -- 
arch=x86_64
   libavutil     49.15. 0 / 49.15. 0
   libavcodec    52.20. 0 / 52.20. 0
   libavformat   52.31. 0 / 52.31. 0
   libavdevice   52. 1. 0 / 52. 1. 0
   libavfilter    1. 4. 0 /  1. 4. 0
   libswscale     1. 7. 1 /  1. 7. 1
   libpostproc   51. 2. 0 / 51. 2. 0
   built on Oct 13 2009 15:53:36, gcc: 4.2.1 (Apple Inc. build 5646)
Input #0, au, from '/Users/shellyer/Desktop/ 
voice_message_2009-10-13_9-19-34.au':
   Duration: N/A, bitrate: N/A
     Stream #0.0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Output #0, mp3, to '/Users/shellyer/Desktop/ 
voice_message_2009-10-13_9-19-34.mp3':
     Stream #0.0: Audio: libmp3lame, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
   Stream #0.0 -> #0.0
Press [q] to stop encoding
[libmp3lame @ 0x101812800]lame: output buffer too small (buffer index:  
8064, free bytes: 1728)
Audio encoding failed

Some investigation suggest that going back to 3.97 version lame  
removes this problem.
http://drupal.org/node/376012

So wondering if it possible to ask for an older version.  I have  
uninstalled ffmpeg and lame and tried to install lame 3.97 using

sudo port install lame at 3.97

but I am still getting the 3.98.2 version from MacPorts using above  
method.

Appreciate the advice.

Steve



More information about the macports-users mailing list