but lame isn't available in etch main I give up.
Thanks anyway! On Mon, Apr 13, 2009 at 5:09 AM, Bob Cox <debian-u...@lists.bobcox.com> wrote: > On Mon, Apr 13, 2009 at 08:18:51 +1000, Adrian Levi (adrian.l...@gmail.com) > wrote: > >> 2009/4/13 Long Wind <longwind2...@gmail.com>: >> > Thank Bob, but your command does not work. >> > >> > Below is output of your command: >> >> > Output #0, mp2, to 'real128.mp3': >> > Stream #0.0: Audio: mp2, 48000 Hz, stereo, 128000 kb/s >> > Stream mapping: >> > Stream #0.0 -> #0.0 >> > [mp2 @ 0xb7ec5f08]bitrate 128000 is not allowed in mp2 >> > Error while opening codec for output stream #0.0 - maybe incorrect >> > parameters such as bit_rate, rate, width or height >> >> Perhaps look for a switch in the man page to force output to mp3 >> rather than mp2? > > Indeed. Note the '--enable-libmp3lame' below: > > $ ffmpeg -ab 128000 -i testfile-320kbps.mp3 testfile-128kbps.mp3 > > FFmpeg version SVN-r18242, Copyright (c) 2000-2009 Fabrice Bellard, et > al. > configuration: --prefix=/usr --extra-cflags=-Wall -g -fPIC -DPIC > --cc=ccache cc --libdir=${prefix}/lib --shlibdir=${prefix}/lib > --bindir=${prefix}/bin --incdir=${prefix}/include/ffmpeg --enable-shared > --enable-libmp3lame --enable-gpl --enable-libfaad > --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads > --enable-libfaac --enable-libxvid --enable-postproc --enable-libamr-nb > --enable-libamr-wb --enable-x11grab --enable-libgsm --enable-libx264 > --enable-libtheora --enable-libdc1394 --enable-nonfree > --disable-stripping --enable-avfilter --enable-libdirac > --disable-decoder=libdirac --enable-libschroedinger > --disable-encoder=libschroedinger --enable-libspeex > --enable-avfilter-lavf --disable-mmx --disable-altivec --disable-armv5te > --disable-armv6 --disable-vis > libavutil 50. 2. 0 / 50. 2. 0 > libavcodec 52.22. 3 / 52.22. 3 > libavformat 52.32. 0 / 52.32. 0 > libavdevice 52. 1. 0 / 52. 1. 0 > libavfilter 0. 5. 0 / 0. 5. 0 > libswscale 0. 7. 1 / 0. 7. 1 > libpostproc 51. 2. 0 / 51. 2. 0 > built on Mar 30 2009 10:47:04, gcc: 4.3.3 > Input #0, mp3, from 'testfile-320kbps.mp3': > Duration: 00:00:39.49, start: 0.000000, bitrate: 320 kb/s > Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s > Output #0, mp3, to 'testfile-128kbps.mp3': > Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s > Stream mapping: > Stream #0.0 -> #0.0 > Press [q] to stop encoding > size= 618kB time=39.55 bitrate= 128.0kbits/s > video:0kB audio:618kB global headers:0kB muxing overhead 0.005057% > > $ ls -la | grep testfile > -rw-r--r-- 1 bob bob 632822 2009-04-13 10:00 testfile-128kbps.mp3 > -rw-r--r-- 1 bob bob 1580929 2009-04-13 09:59 testfile-320kbps.mp3 > > BUT - as noted elsewhere in this thread, simply using the 'lame' command > is easier. I have just tried: > > lame testfile-320kbps.mp3 testfile-128kbps.mp3 > > and it worked exactly the same (but was a bit quicker). > > -- > Bob Cox. Stoke Gifford, near Bristol, UK. > Please reply to the list only. Do NOT send copies directly to me. > Debian on the NSLU2: http://bobcox.com/slug/ > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org