Got a little bit further but now I got a "invalid floating point operation".
What I did is extracted a vbrmp3 from a avi-file. Because BeSweet has troubles with dealing with a vbrmp3 file I decoded the wav with madplay. Then I tried the conversion to mpa with BeSweet.exe with the same commands as described in my first post. It worked fine.
The logfile output is:
BeSweet v1.5b1 by DSPguru.
--------------------------
Using Shibatch.dll v0.2 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <
http://www.cdex.n3.net>.
Logging start : 05/08/03 , 16:29:03.
BeSweet.exe -core( -input test.wav -output test.mpa -logfile besweetexe.log ) -ota( -r 960 1001 -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m s )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : test.wav
[00:00:00:000] | Output: test.mpa
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Overall Track Gain: 1.499dB
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +-------- FRC --------
[00:00:00:000] | Source Frame-Rate: 960
[00:00:00:000] | Dest. Frame-Rate: 1001
[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:45:58:293] Conversion Completed !
[01:45:58:293] Actual Avg. Bitrate : 214kbps
[00:17:31:000] <-- Transcoding Duration
Logging ends : 05/08/03 , 16:46:34.
Then I tried it using your dll and with mpainput and the log file output is:
BeSweet v1.5b6 by DSPguru.
--------------------------
Using hip.dll v1.13 by Myers Carpenter <myers@users.sf.net>
Using Shibatch.dll v0.2 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <
http://www.cdex.n3.net>.
Logging start : 05/08/03 , 18:13:00.
BeSweet.dll -core( -input mpainput -output Test.mp2 -logfile Test.txt ) -ota( -r 960 1001 -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m s )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : mpainput
[00:00:00:000] | Output: Test.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +-------- FRC --------
[00:00:00:000] | Source Frame-Rate: 960
[00:00:00:000] | Dest. Frame-Rate: 1001
[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] +---------------------
[00:00:00:036] Stream error : Sync found after 428 bytes
[00:00:00:072] Stream error : Sync found after 632 bytes
[00:00:00:108] Stream error : Sync found after 119 bytes
[00:00:00:134] Stream error : Sync found after 451 bytes
[00:00:00:170] Stream error : Sync found after 1153 bytes
[00:00:00:222] Stream error : Sync found after 176 bytes
[00:00:00:258] Stream error : Sync found after 242 bytes
[00:00:00:282] Stream error : Sync found after 322 bytes
[00:00:00:308] Stream error : Sync found after 261 bytes
[00:00:00:344] Stream error : Sync found after 417 bytes
[00:00:00:370] Stream error : Sync found after 28 bytes
[00:00:00:394] Stream error : Sync found after 406 bytes
[00:00:00:420] Stream error : Sync found after 20 bytes
[00:00:00:444] Stream error : Sync found after 210 bytes
[00:00:00:468] Stream error : Sync found after 64 bytes
[00:00:00:494] Stream error : Sync found after 316 bytes
[00:00:00:518] Stream error : Sync found after 6 bytes
[00:00:00:544] Stream error : Sync found after 41 bytes
[00:00:00:580] Stream error : Sync found after 3 bytes
[00:00:00:607] Stream error : Sync found after 624 bytes
[00:00:00:633] Stream error : Sync found after 173 bytes
[00:00:00:669] Stream error : Sync found after 119 bytes
[00:00:00:705] Stream error : Sync found after 271 bytes
[00:00:00:729] Stream error : Sync found after 51 bytes
[00:00:00:755] Stream error : Sync found after 70 bytes
[00:00:00:781] Stream error : Sync found after 251 bytes
[00:00:00:807] Stream error : Sync found after 196 bytes
[00:00:00:833] Stream error : Sync found after 536 bytes
[00:00:00:869] Stream error : Sync found after 1122 bytes
[00:00:00:893] Stream error : Sync found after 523 bytes
[00:00:00:919] Stream error : Sync found after 544 bytes
[00:00:00:945] Stream error : Sync found after 544 bytes
[00:00:00:969] Stream error : Sync found after 10 bytes
[00:00:00:993] Stream error : Sync found after 219 bytes
[00:00:01:029] Stream error : Sync found after 22 bytes
[00:00:01:053] Stream error : Sync found after 564 bytes
[00:00:01:089] Stream error : Sync found after 379 bytes
[00:00:01:116] Stream error : Sync found after 147 bytes
[00:00:01:142] Stream error : Sync found after 888 bytes
[00:00:01:168] Stream error : Sync found after 557 bytes
[00:00:01:194] Stream error : Sync found after 10 bytes
[00:00:01:230] Stream error : Sync found after 692 bytes
[00:00:01:266] Stream error : Sync found after 94 bytes
[00:00:01:328] Stream error : Sync found after 23 bytes
[00:00:01:352] Stream error : Sync found after 1079 bytes
[00:00:01:378] Stream error : Sync found after 76 bytes
[00:00:01:402] Stream error : Sync found after 154 bytes
[00:00:01:428] Stream error : Sync found after 4 bytes
[00:00:01:452] Stream error : Sync found after 343 bytes
[00:00:01:478] Stream error : Sync found after 231 bytes
[00:00:01:505] Stream error : Sync found after 161 bytes
[00:00:01:541] Stream error : Sync found after 644 bytes
[00:00:01:565] Stream error : Sync found after 724 bytes
[00:00:01:589] Stream error : Sync found after 376 bytes
[00:00:01:613] Stream error : Sync found after 1419 bytes
[00:00:01:685] Stream error : Sync found after 687 bytes
[00:00:01:721] Stream error : Sync found after 1402 bytes
[00:00:01:747] Stream error : Sync found after 657 bytes
[00:00:01:783] Stream error : Sync found after 1255 bytes
[00:00:01:807] Stream error : Sync found after 48 bytes
[00:00:01:843] Stream error : Sync found after 599 bytes
[00:00:01:903] Stream error : Sync found after 317 bytes
[00:00:01:939] Stream error : Sync found after 1004 bytes
[00:00:01:975] Stream error : Sync found after 238 bytes
[00:00:02:011] Stream error : Sync found after 983 bytes
[00:00:02:035] Stream error : Sync found after 34 bytes
[00:00:02:071] Stream error : Sync found after 20 bytes
[00:00:02:095] Stream error : Sync found after 36 bytes
[00:00:02:131] Stream error : Sync found after 910 bytes
[00:00:02:167] Stream error : Sync found after 431 bytes
[00:00:02:203] Stream error : Sync found after 1029 bytes
[00:00:02:265] Stream error : Sync found after 580 bytes
[00:00
at this point I got a invalid floating point operation.
Maybe the size of the buffer is wrong. I give mpabursts a buffer of 2048 bytes. The Bs_info record the function mpabursts returns says [00:00:2048:000] peak: 0,00. It looks that the bs_info.seconds is giving back the size of the buffer.