evilclive
5th March 2009, 16:45
When I need to change the bit rate of a MP3 file, I've been using
C>besweet -core( -input Source.mp3 -output 00.wav -2ch )
C>lame --cbr -b 128 -h 00.wav Output.mp3
My computer's speed is such that LAME 3.98.2 will encode an hour-long WAV file to MP3:
in 8 minutes at q=2 (with the -h switch)
in 4 minutes at q=3 (the default setting)
in 2 minutes at q=7 (with the -f switch)
Rather than messing about with intermediate WAV files, I'd rather use BeSweet to transcode in a single step.
However:
C>besweet -core( -input Source.mp3 -output 01.mp3 ) -lame( --cbr -b 128 -h )
BeSweet v1.5b30 by DSPguru.
--------------------------
Using hip.dll v1.19 by Myers Carpenter <myers@users.sf.net>
Using lame_enc.dll v1.32 (24/9/2008), Engine 3.98 <http://www.mp3dev.org/>.
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : Source.mp3
[00:00:00:000] | Output: 01.mp3
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[00:59:28:560] Conversion Completed !
[00:59:28:560] Actual Avg. Bitrate : 128kbps
[00:03:51:000] <-- Transcoding Duration
C>besweet -core( -input Source.mp3 -output 02.mp3 ) -lame( --cbr -b 128 -f )
BeSweet v1.5b30 by DSPguru.
--------------------------
Using hip.dll v1.19 by Myers Carpenter <myers@users.sf.net>
Using lame_enc.dll v1.32 (24/9/2008), Engine 3.98 <http://www.mp3dev.org/>.
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : Source.mp3
[00:00:00:000] | Output: 02.mp3
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[00:59:28:560] Conversion Completed !
[00:59:28:560] Actual Avg. Bitrate : 128kbps
[00:03:50:000] <-- Transcoding Duration
The duration of these transcoding operations shows that both were performed at the standard q-value of 3.
C>comp 01.mp3 02.mp3
Comparing 01.mp3 and 02.mp3...
Files compare OK
So how do I pass a "-h" switch to LAME from BeSweet?
C>besweet -core( -input Source.mp3 -output 00.wav -2ch )
C>lame --cbr -b 128 -h 00.wav Output.mp3
My computer's speed is such that LAME 3.98.2 will encode an hour-long WAV file to MP3:
in 8 minutes at q=2 (with the -h switch)
in 4 minutes at q=3 (the default setting)
in 2 minutes at q=7 (with the -f switch)
Rather than messing about with intermediate WAV files, I'd rather use BeSweet to transcode in a single step.
However:
C>besweet -core( -input Source.mp3 -output 01.mp3 ) -lame( --cbr -b 128 -h )
BeSweet v1.5b30 by DSPguru.
--------------------------
Using hip.dll v1.19 by Myers Carpenter <myers@users.sf.net>
Using lame_enc.dll v1.32 (24/9/2008), Engine 3.98 <http://www.mp3dev.org/>.
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : Source.mp3
[00:00:00:000] | Output: 01.mp3
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[00:59:28:560] Conversion Completed !
[00:59:28:560] Actual Avg. Bitrate : 128kbps
[00:03:51:000] <-- Transcoding Duration
C>besweet -core( -input Source.mp3 -output 02.mp3 ) -lame( --cbr -b 128 -f )
BeSweet v1.5b30 by DSPguru.
--------------------------
Using hip.dll v1.19 by Myers Carpenter <myers@users.sf.net>
Using lame_enc.dll v1.32 (24/9/2008), Engine 3.98 <http://www.mp3dev.org/>.
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : Source.mp3
[00:00:00:000] | Output: 02.mp3
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[00:59:28:560] Conversion Completed !
[00:59:28:560] Actual Avg. Bitrate : 128kbps
[00:03:50:000] <-- Transcoding Duration
The duration of these transcoding operations shows that both were performed at the standard q-value of 3.
C>comp 01.mp3 02.mp3
Comparing 01.mp3 and 02.mp3...
Files compare OK
So how do I pass a "-h" switch to LAME from BeSweet?