PDA

View Full Version : 2lame/mp2enc confusion


Hawk
10th October 2002, 19:28
Please can someone help me out here

Ive noticed when I specify 2lame in the commandline Mp2ENC pops up when encoding??? Should it not display 2lame??

for example look below...Ive highlighted what i mean + in the GUI it also says MP2ENC in the guides the gui shows 2lame??



example

BeSweet v1.4 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 10/05/02 , 18:41:31.

C:\Programme\DVD2SVCD\BeSweet\BeSweet.exe -core( -input D:\??????\Extracted_audio_1.ac3 -output D:\??????\Encoded_audio_1.mp2 -logfile D:\??????\Encoded_audio_1.log ) -azid( -L -3db -c normal -s surround2 -g max ) -ota( -d -288 ) -2lame( -e -b 192 -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\??????\Extracted_audio_1.ac3
[00:00:00:000] | Output: D:\??????\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:-288] +-------- AZID -------
[00:00:00:-288] | Input Channels Mode: 3/2, Bitrate: 448kbps
[00:00:00:-288] | Output Stereo mode: Dolby Surround 2 compatible
[00:00:00:-288] | Total Gain: 21.428dB, Compression: Normal
[00:00:00:-288] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:-288] | Center mix level: BSI
[00:00:00:-288] | Surround mix level: BSI
[00:00:00:-288] | Dialog normalization: No
[00:00:00:-288] | Rear channels filtering: No
[00:00:00:-288] | Source Sample-Rate: 48.0KHz
[00:00:00:-288 ]+------- MP2ENC ------
[00:00:00:-288] | Bitrate method : CBR
[00:00:00:-288] | MP2 bitrate : 192
[00:00:00:-288] | Channels Mode : Stereo
[00:00:00:-288] | Error Protection: Yes
[00:00:00:-288] +---------------------
[00:06:29:024] Conversion Completed !
[00:06:29:024] Actual Avg. Bitrate : 192kbps
[00:00:59:000] <-- Transcoding Duration
Logging ends : 10/05/02 , 18:42:30.

DSPguru
10th October 2002, 19:56
BeSweet uses mp2enc, aka 2lame <-- written by Albert Faber.
BeSweetGUI supports tooLame <-- written by Mike Cheng.

Hawk
10th October 2002, 20:48
Thanks for the quick reply

One more question, so is the MP2enc in Headac3e also 2 lame?

Hawk

DSPguru
10th October 2002, 20:55
yeap.

there isn't any tooLame.dll release.

DSPguru
22nd February 2003, 13:33
tooLame v0.2k is released under LGPL, so i had created tooLame.dll.
now you can use both with BeSweet v1.5b16 (http://DSPguru.doom9.org/beta.html) :
for mp2enc, use -mp2enc( )
for toolame, use -toolame( )

inner syntax is the same, i guess ;)

tiki4
26th February 2003, 09:50
Hi Dg,

I think I found a little problem with BeSweet 1.5b16 and toolame.dll. Here is the logfile:

BeSweet v1.5b16 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 02/26/03 , 08:09:27.

besweet -core( -input in.ac3 -output h:\out.mp2 -logfile BeSweet.log ) -azid( -n1 -c normal -s surround2 -L -3db --maximize ) -mp2enc( -b 224 -e -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : in.ac3
[00:00:00:000] | Output: h:\out.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 3/2, Bitrate: 448kbps
[00:00:00:000] | Output Stereo mode: Dolby Surround 2 compatible
[00:00:00:000] | Total Gain: 17.320dB, Compression: Normal
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: Yes
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 224
[00:00:00:000] | Channels Mode : Stereo
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[01:34:00:992] Conversion Completed !
[01:34:00:992] Actual Avg. Bitrate : 224kbps
[00:13:46:000] <-- Transcoding Duration
Logging ends : 02/26/03 , 08:23:13.

BeSweet v1.5b16 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using tooLame.dll v0.2k (Feb 22 2003) by Mike Cheng <http://tooLame.sf.net>

Logging start : 02/26/03 , 08:24:13.

besweet -core( -input in.ac3 -output h:\out2.mp2 -logfilea BeSweet.log ) -azid( -n1 -c normal -s surround2 -L -3db --maximize ) -toolame( -b 224 -e -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : in.ac3
[00:00:00:000] | Output: h:\out2.mp2
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 3/2, Bitrate: 448kbps
[00:00:00:000] | Output Stereo mode: Dolby Surround 2 compatible
[00:00:00:000] | Total Gain: 17.320dB, Compression: Normal
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: Yes
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +------ tooLame ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 224
[00:00:00:000] | Channels Mode : Stereo
[00:00:00:000] | Error Protection: No <====
[00:00:00:000] +---------------------
[01:34:00:992] Conversion Completed !
[01:34:00:992] Actual Avg. Bitrate : 223kbps
[00:15:22:000] <-- Transcoding Duration
Logging ends : 02/26/03 , 08:39:35.


I'm not sure, were the problem is, but it seems that the '-e' switch is ignored. This may be a potential problem when muxing the final audio stream for SVCD. I didn't compare both streams quality wise, though.

Regards,

tiki4

DSPguru
26th February 2003, 22:41
hi tiki4,
thank you for paying my attention to this bug! though, i believe this is only a display bug.
please playback the mp2 file encoded with tooLame.dll (eg. with winamp) and see if it indicates crc protection.

tiki4
27th February 2003, 09:01
Thanks Dg,

I didn't know how to find out about CRC is there or not. I'll do as you told.

tiki4