View Full Version : Encoding a Mono DVD using a plugin?


PeterUK
4th July 2002, 11:50
Hey,

I'm trying to encode a Mono DVD using the BS_M2S.dll plugin but I can't get it to work and still end up with the Mickey Mouse voice effect. Here's what I'm doing:

Start DVD2SVCD as normal

Go into 'Frameserver' and select 'Edit The AviSynth Script File' (which one - edit when DVD2AVI is done or as part of the Video Encoding?)

Then Rip & Convert

Then the Edit AVisunth Script File box pops up:

LoadPlugin("C:\PROGRA~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("C:\PROGRA~1\DVD2SVCD\Movie\DVD2AV~1.D2V")
SimpleResize(480,576)

What do I do with the Mono to Stereo plugin? I have a Mono DVD and I just want to encode it to SVCD.

Any help would be greatly appreciated!

Pete

ux-3
4th July 2002, 14:15
Did you do a search?
I asked about mono DVD before.

PeterUK
4th July 2002, 14:39
Yeah I did do a search and that's how I came across the BS_M2S.dll mono to stereo plugin, but I'm unsure how to use it with DVD2SVCD :(

ux-3
4th July 2002, 17:24
Well, there was a suggestion I found, which is to halt the process, and to manually encode the audio as mono. Then swap for the created file and ready you are. Basically, you would select the bitrate (say 96) select stereo, no fancy extras (will all be deleted anyway) and replace it by a manually created mono at the same bitrate.

I would think that joint stereo should be about as good, so I don't bother but use that. If this is your second audio track, then you have little choice, since DVD2SVCD does not yet allow seperate codings for different audio tracks.

gerti67
4th July 2002, 19:22
Hi PeterUK,

I just saw you already got an answer here:

http://forum.doom9.org/showthread.php?s=&threadid=28221

And it seems you misinterpreted pacohaas' suggestion, you don't have to change something in the Avisynth script, this is just a trick to make the whole process stop so that you can do the mono AC3 conversion with the BeSweet plugin. After that is finished, you can just hit the "OK" button on the Avisynth script window and the process will continue - so the muxing and cutting stage will use the properly converted MP2 instead of a "Micky Mouse" one.

So when the Avisynth script window appears, just let it open and do nothing with it. Now open the "dvd2svcd_log.txt" and search for the BeSweet command line.

It might look like this:

"D:\Programme\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "G:\Conversion\Shrek\Extracted_audio_1.ac3" -output "G:\CONVER~1\Shrek\Encoded_audio_1.mp2" -logfile "G:\CONVER~1\Shrek\Encoded_audio_1.log" ) -azid( -L -3db -c normal -g max ) -2lame( -e -b 192 -m s )

Now just copy it to a DOS window and add this " -plugin( -name BS_M2S.dll -func Simple )" - that's it you have to add it to the BeSweet command line not into the Avisynth script.

Then hit enter and wait till the audio conversion has finished. After that hit the "OK" button at the script window and the conversion should end up fine now.

Hope this helps,
Gerti

PeterUK
4th July 2002, 20:26
A thousand thanks Gerti - it worked a treat! :D

Arianos
11th July 2002, 06:23
My wife bought a Jennifer Kries' Pilates Method (it's toning - relaxing workout etc) set of DVDs. They play OK on the standalone, but the sound is heavily distorted (like coming from an old ham radio) when played on the PCs using Power DVD XP. As they will be used almost entirely on her laptop and they are 1 hour each, I thought of making SVCD backups. The Mickey Mouse sound striked again. The sound is LPCM 1ch, is extracted in "Mickey Mouse" format :) and , of course, is encoded as such.
My wife wants to lose weight fast, but not at this pace!!It's like exercising with the chipmunks :)
I DID a search on LPCM mono sound on DVDs, and the results were disheartening.
I tried all the above mentioned suggestions, to no avail. The only way I could extract a normal sound was by using Smart Ripper, Stream Processing/Demux to extra file, where I got a VOB (sound) file with the correct sounding sound, but had no clue what to do with it. I tried using the Besweet GUI to turn the VOB into mp2, both using the BS_M2S plugin and not, but besweet or 2lame do nothing (no log (0kb), no result). I tried turning the VOB to wav using Graphedit, but I was lost in the graph. Hey, I'm old, ok?. I tried Vob2audio, but it just sits there doing nothing

Below is the d2s log for the first chapter test encoding I did, and the Besweet log.
===============
--------------------------------------------------------
- 7/11/2002 8:04:35 AM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.0.9 build 3
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 7/11/2002 8:04:40 AM
- Free on drive C: 3086.63 mb
- Internal rip
--------------------------------------------------------
Preparing vobfiles to be ripped:
- E:\VIDEO_TS\VTS_01_1.vob
- E:\VIDEO_TS\VTS_01_2.vob
- E:\VIDEO_TS\VTS_01_3.vob
- E:\VIDEO_TS\VTS_01_4.vob

Ripping: E:\VIDEO_TS\VTS_01_1.vob
Ripping finished. Speed: 2740

--------------------------------------------------------
- 7/11/2002 8:05:09 AM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[C:\Documents and Settings\Petros Remote\Desktop\test gym\DVD2AVI_Project_file] -IF=[C:\Documents and Settings\Petros Remote\Desktop\test gym\VTS_01_1.vob]
Analyzing DVD2AVI Project file
Force Film NOT activated!
Framerate: 29970
DVD2AVI processing done.

--------------------------------------------------------
- 7/11/2002 8:05:18 AM
- Free on drive C: 3014.34 mb
- AUDIO Extraction
--------------------------------------------------------
Found PCM stream id: 0xA0
Filename: C:\Documents and Settings\Petros Remote\Desktop\test gym\Extracted_audio_1.wav
Audio1 delay: -67 ms
Audio extraction finished.

--------------------------------------------------------
- 7/11/2002 8:05:27 AM
- Free on drive C: 3002.98 mb
- AUDIO conversion
--------------------------------------------------------

Converting Audio to MP2. Filename: C:\Documents and Settings\Petros Remote\Desktop\test gym\Extracted_audio_1.wav
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Documents and Settings\Petros Remote\Desktop\test gym\Extracted_audio_1.wav" -output "C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\Encoded_audio_1.mp2" -logfile "C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\Encoded_audio_1.log" ) -ota( -g max -d -67 ) -ssrc( --rate 44100 ) -2lame( -e -b 192 -m s )
Audio conversion of C:\Documents and Settings\Petros Remote\Desktop\test gym\Extracted_audio_1.wav finished.

Audio conversion finished.

--------------------------------------------------------
- 7/11/2002 8:05:52 AM
- Free on drive C: 3001.55 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 834285788
AudioSectors: 3137400
VideoPAPO: 12874932
ScanOffsetBytes: 4458
SeqAligningBytes: 283331
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 817985663.33
Seconds: 128.96
CalcMPEGStream: 817985663.33
Frames: 3715
CDSize: 800.00
Cut point 796.00
Variable Settings:
Frames: 3715
Anti Noise Filter: Off
Passes: 4
Image Quality: 24
VAF file creation: Off
Video Encoding Mode: CBR
Avg. Bitrate: 2400
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\DVD2AV~1.D2V")
BicubicResize(480,480,0,0.60)
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 0.890
Video Encoding finished.

--------------------------------------------------------
- 7/11/2002 8:08:55 AM
- Free on drive C: 2965.97 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 7/11/2002 8:08:58 AM
- Free on drive C: 2965.95 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 7/11/2002 8:09:02 AM
- Free on drive C: 2965.95 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 796 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "C:\Documents and Settings\Petros Remote\Desktop\test gym\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

CD-Image creation finished.

--------------------------------------------------------
- 7/11/2002 8:09:30 AM
- Free on drive C: 2928.80 mb
- SVCD Creation finished!
--------------------------------------------------------
======================
BeSweet v1.4b12 by DSPguru.
--------------------------
Using ssrc.dll v1.28 by Naoki Shibata & Dg (shibatch@geocities.co.jp).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 07/11/02 , 08:05:32.

C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input C:\Documents and Settings\Petros Remote\Desktop\test gym\Extracted_audio_1.wav -output C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\Encoded_audio_1.mp2 -logfile C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\Encoded_audio_1.log ) -ota( -g max -d -67 ) -ssrc( --rate 44100 ) -2lame( -e -b 192 -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Documents and Settings\Petros Remote\Desktop\test gym\Extracted_audio_1.wav
[00:00:00:000] | Output: C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:-67] | Overall Track Gain: 5.2dB
[00:00:00:-67] +-------- SSRC -------
[00:00:00:-67] | Source Sample-Rate: 48.0KHz
[00:00:00:-67] | Dest. Sample-Rate: 44.1KHz
[00:00:00:-67] | Attenuation : 0.0db
[00:00:00:-67] +------- MP2ENC ------
[00:00:00:-67] | Bitrate method : CBR
[00:00:00:-67] | MP2 bitrate : 192
[00:00:00:-67] | Channels Mode : Stereo
[00:00:00:-67] | Error Protection: Yes
[00:00:00:-67] +---------------------
[00:01:01:899] Conversion Completed !
[00:01:01:899] Actual Avg. Bitrate : 192kbps
[00:00:13:000] <-- Transcoding Duration
Logging ends : 07/11/02 , 08:05:45.

=========================

I know it's a tough one, but I'm out of options. If nothing works, I think I try capturing through my WinTV card, but that's the last resort.
TIA.

DSPguru
12th July 2002, 17:55
Originally posted by Arianos
BeSweet v1.4b12 by DSPguru.
--------------------------
Using ssrc.dll v1.28 by Naoki Shibata & Dg (shibatch@geocities.co.jp).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 07/11/02 , 08:05:32.

C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input C:\Documents and Settings\Petros Remote\Desktop\test gym\Extracted_audio_1.wav -output C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\Encoded_audio_1.mp2 -logfile C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\Encoded_audio_1.log ) -ota( -g max -d -67 ) -ssrc( --rate 44100 ) -2lame( -e -b 192 -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Documents and Settings\Petros Remote\Desktop\test gym\Extracted_audio_1.wav
[00:00:00:000] | Output: C:\DOCUME~1\PETROS~4\Desktop\TESTGY~1\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:-67] | Overall Track Gain: 5.2dB
[00:00:00:-67] +-------- SSRC -------
[00:00:00:-67] | Source Sample-Rate: 48.0KHz
[00:00:00:-67] | Dest. Sample-Rate: 44.1KHz
[00:00:00:-67] | Attenuation : 0.0db
[00:00:00:-67] +------- MP2ENC ------
[00:00:00:-67] | Bitrate method : CBR
[00:00:00:-67] | MP2 bitrate : 192
[00:00:00:-67] | Channels Mode : Stereo
[00:00:00:-67] | Error Protection: Yes
[00:00:00:-67] +---------------------
[00:01:01:899] Conversion Completed !
[00:01:01:899] Actual Avg. Bitrate : 192kbps
[00:00:13:000] <-- Transcoding Duration
Logging ends : 07/11/02 , 08:05:45.

=========================you're almost there.
just add -plugin( -name BS_M2S.dll -func Simple ) to your commandline and you're done.

Arianos
12th July 2002, 19:58
Thank you :)
Worked like a dream, made my wife happy, and she made me more happy later on :)...
In the meantime, I had tried other means of converting, including DVDx and Vidomi all with the same results. I wonder what those users do on such occasions....
As I said, I had tried the above mentioned solutions, which gave me no result, and only managed to get a normal sounding vob (sound only) from Smart Ripper. After a restart, smart ripper produced only Mickey Mouse sounding vobs, and the BeSweet Gui worked, but produced 128 kbits sound (My mistake, should have gone to 2Lame window and change to 192 maybe?), which produced mute mpgs after doing a crash recovery.
Something was stuck probably...
Anyway, I mostly wrote this to thank Gerti67 for offering the right on the spot detailed answer (as usual), for us not so familiar with the Command Prompt window, and most of all to thank DSPguru for two things:
1. For making a fantastic plugin that is the only one to my knowledge to deal with mono DVDs. A rare oddity, but one may still find one.
2. For being so polite and patient with me and not striking me, because as it turned out, everything I wanted was:
a. already answered in detail by fellow users. My fault, for not being able to follow their instructions.
b. in the BS_M2S read me file
Sorry, but I discovered the PC after Win95. I was a Mac User before that, so DOS and Command Lines are still a mystical thing to me. Also, I know I may produce a loud laugh from a lot of readers, but I found out just this morning by accident that you can paste something in the command prompt window by right-clicking on it. So don't ask how I did my Besweet testings with all those endless commands till now... :(

DSPguru
12th July 2002, 21:41
Originally posted by Arianos
Sorry, but I discovered the PC after Win95. I was a Mac User before that, so DOS and Command Lines are still a mystical thing to me. Also, I know I may produce a loud laugh from a lot of readers, but I found out just this morning by accident that you can paste something in the command prompt window by right-clicking on it. So don't ask how I did my Besweet testings with all those endless commands till now... :( hehe, you're a cool guy..

kisses to the wife ;)
Dg.