Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > General > Audio encoding

Thread Tools Search this Thread Display Modes
Old 29th January 2004, 04:42   #1  |  Link
Registered User
Join Date: Jan 2004
Posts: 89
Besweet bug - it crashes in shibatch

I have an audio file that came from a MOV music video. I converted
the MOV to an AVI, and extracted the audio to a wav. The audio from
the mov was at 22050, and so is the wav. When trying to convert it to
an mp2 at 44100, besweet crashes in shibatch. But ssrc (v1.29) can
successfully resample it to 44100. The original wav is 185 seconds
(16mb), but a smaller clip (3 seconds, 2656kb) also fails.

This is on an AMD2400+, running XP-SP1. When I try in on a Pentium
running W2K, it just goes into a tight loop using 100% CPU, and never

You can download the WAV file here:

BeSweet v1.5b25 by DSPguru.
Using Shibatch.dll v0.24 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 : 01/26/04 , 21:58:09.

e:BeSweet.exe -core( -input Extr1.wav -output extr1.mp2 -logfile
Extr1.log ) -shibatch( --rate 44100 ) -2lame( -e -b 128 -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : Extr1.wav
[00:00:00:000] | Output: extr1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 22.1KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 128
[00:00:00:000] | Channels Mode : Stereo
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------

Windows error popup box says this:
AppName: besweet.exe AppVer: ModName: shibatch.dll
ModVer: Offset: 0000dd9d
AppName: besweet.exe AppVer: ModName: shibatch.dll
ModVer: Offset: 0000b85c

g:\bugreport>ssrc --rate 44100 extr1.wav extr1-ssrc.wav
Shibatch sampling rate converter version 1.29
frequency : 22050 -> 44100
attenuation : 0dB
bits per sample : 16 -> 16
nchannels : 2
length : 265816 bytes, 3.01379 secs
dither type : none
rayvt is offline   Reply With Quote
Old 31st January 2004, 16:09   #2  |  Link
BeSweet Author
DSPguru's Avatar
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
bug confirmed.
i'm afraid i won't have the time to troubleshoot this in the near future.
DSPguru is offline   Reply With Quote
Old 15th April 2004, 04:00   #3  |  Link
Registered User
Join Date: Aug 2003
Posts: 128
I have the same problem. I use VDub to convert the wav to the desired kHz.
rs008f is offline   Reply With Quote
Old 15th April 2004, 11:30   #4  |  Link
German doom9/Gleitz SuMo
LigH's Avatar
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,650
I guess the reason is that the shibatch.dll is rather optimized for downsampling (48000 => 44100 Hz), whereas ssrc.exe is a full-featured sampling rate converter.
LigH is offline   Reply With Quote
Old 16th April 2004, 16:04   #5  |  Link
Registered User
Join Date: Feb 2004
Posts: 10
I had a different problem with the shibatch.dll. The output to be twice as fast as the input. I was downsampling from 48KHz to 44.1KHz and the input was also mono. When I removed the shibatch parameter with the output.

The thread was moved from the Audio encoding forum to DVD2SVCD forum. It can be viewed here:

Firewave is offline   Reply With Quote
Old 5th November 2004, 23:10   #6  |  Link
Registered User
Join Date: May 2003
Posts: 1
I guess this is *profanity removed by moderation*

Last edited by KpeX; 8th November 2004 at 23:29.
Tiggerpaws is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 10:11.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.