View Full Version : AVI 2 SCVD bug
jansb000
2nd January 2003, 15:50
When converting AVI to SVCD using DVD2SVCD I have noticed that the extracted audio is saved as a WAV file ("Encoded_Audio_1.wav") while BBMPEG expects an MP2 ("Encoded_Audio_1.mp2") file.
My workaround now is to manually convert the wav file to mpa (using Ulead Audio Editor), rename the mpa to mp2 and then use the recover function from DVD2SCVD to start the multiplexing step again.
onesoul
3rd January 2003, 02:48
What version of dvd2svcd you have?
The latest dvd2svcd 1.1.0 build 1c fixes this using Madplay to convert.
Cheers
jansb000
4th January 2003, 12:10
I have dvd2svcd 1.1.0 build 1c.
For my next project I will capture the LOG and post it here for more information.
markrb
9th January 2003, 19:18
Known issue. It will be fixed soon. There was a mistake when madplay was added. It doesn't always work.
Mark
jchristl
18th June 2005, 00:37
Has this been resolved? I recently had this same issue crop up when converting an AVI. There was an "Encoded_Audio_1.mp2.wav" in the directory, and bbMPEG complained about missing a "Encoded_Audio_1.mp2" file.
Nick
18th June 2005, 10:15
Firstly, welcome to the forum.
Nice work with the search engine to try and find a solution for yourself. The effort is appreciated.
This particular issue was sorted years ago. Yours must be something different. In the sticky index, there is a guide to making a good post. Give it a read and use the info to give a detailed problem report and we'll see what the problem is.
jchristl
18th June 2005, 23:56
Okay, here's my logfile and my findings...
WNASPI32.DLL 4.6.0.1021
The original video framerate of 29.750 is not supported. The framerate will be adjusted!
--------------------------------------------------------
- 6/18/2005 12:15:45 PM
- AVI to SVCD Conversion
- AVI2DVD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
- C:\work\Tv_Capture_Part_1.avi
Initializing finished.
--------------------------------------------------------
- 6/18/2005 12:15:48 PM
- Free on drive C: 84747.07 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.
--------------------------------------------------------
- 6/18/2005 12:16:05 PM
- Free on drive C: 84707.25 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 6/18/2005 12:16:07 PM
- Free on drive C: 84707.25 mb
- AUDIO conversion
--------------------------------------------------------
Converting MP2 to WAV. Filename: C:\work\Extracted_audio_1.mpa
Executing MADPlay (mp2 to wav). Commandline:
"C:\Program Files\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"C:\work\Encoded_audio_1.mp2.wav" "C:\work\Extracted_audio_1.mpa"
Conversion (mp2 to wav) of C:\work\Extracted_audio_1.mpa finished.
Encoding Audio. Filename: C:\work\Extracted_audio_1.mpa
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\work\Encoded_audio_1.mp2.wav" -output "C:\work\Encoded_audio_1.mp2" -logfile "C:\work\Encoded_audio_1.log" ) -ota( -g max -r 29750 29970 ) -shibatch( --rate 48000 ) -2lame( -e -b 192 -m s )
Audio conversion of C:\work\Extracted_audio_1.mpa finished.
Audio conversion finished.
--------------------------------------------------------
- 6/18/2005 12:17:08 PM
- Free on drive C: 84267.31 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
- Encoding C:\work\AviSynth_Script_file.avs
StreamSectors: 4666096988
AudioSectors: 63194208
VideoPAPO: 71301420
ScanOffsetBytes: 70020
SeqAligningBytes: 4450160
DVDBytes: 9040360
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 4518040816.00
Seconds: 2597.93
CalcMPEGStream: 4518040816.00
Frames: 77800
CDSize: 4464.00
Number of CDs: 1
Cut point 4460.00
Max. Bitrate: 8000
Avg. Bitrate: 7200.00
Min. Bitrate: 800
Executing TMPGEnc. Commandline:
"C:\Documents and Settings\Joe\My Documents\My Downloads\DVD Tools\TMPGenc\TmpGenc\TMPGEnc.exe" "C:\work\TMPGEnc_Project_file.tpr" /Encode /Close
Video Encoding finished.
--------------------------------------------------------
- 6/18/2005 3:38:34 PM
- Free on drive C: 81892.39 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 6/18/2005 3:38:36 PM
- Free on drive C: 81892.38 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 6/18/2005 3:38:39 PM
- Free on drive C: 81892.38 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 6/18/2005 3:38:41 PM
- Free on drive C: 81892.38 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 5
Executing bbMPEG.
Variable Settings:
Movie offset: 5 seconds
Cut point: 4460 mb
Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "C:\work\bbMPEG_Muxed_File.mpg"
<<<--- ERROR OCCURS HERE --->>>
Multiplexing and cutting finished.
Image creation finished.
--------------------------------------------------------
- 6/18/2005 5:48:36 PM
- Free on drive C: 81892.35 mb
- Conversion done!
--------------------------------------------------------
Here's my Encoded_audio_1.log
BeSweet v1.5b26 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 : 06/18/05 , 12:16:07.
C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input C:\work\Encoded_audio_1.mp2.wav -output C:\work\Encoded_audio_1.mp2 -logfile C:\work\Encoded_audio_1.log ) -ota( -g max -r 29750 29970 ) -shibatch( --rate 48000 ) -2lame( -e -b 192 -m s )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\work\Encoded_audio_1.mp2.wav
[00:00:00:000] | Output: C:\work\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
My SVCDInfo.txt
GENERAL INFO
- Source: AVI (DIV3)
- Movie Offset: 5 sec
- CD Overlap seconds: No
- Startup delays: Video: 180 ms Audio 1: 180 msAudio 2: 180 ms
- Video format: NTSC
- Length: 00:43:15
- CD Images: 0
IMDB INFO:
Movie title:
User rating:
Directed by:
Writing credits:
Genre:
Tagline:
Plot outline:
VIDEO INFO:
- Encoder: TMPGEnc 2.521.58.169
- Rate Control Mode: 2pass variable bitrate (VBR)
- Max. bitrate: 8000
- Avg. bitrate: 7200
- Min. bitrate: 800
- Motion search prec.: Highest quality (very slow)
- Field order: Yes
- DC component prec.: 8 bits
- Output YUV as YCbCr: No
- Floating point DCT: Yes
- No motion search: True
- Soften block noise: No
- iDCT Algorithm:
- NTSC Field Operation:
- Deinterlace: None
- Pulldown: No
- Width: 720
- Height: 480
- Matrix:
Intra:
8 16 19 22 26 27 29 34
16 16 22 24 27 29 34 37
19 22 26 27 29 34 34 38
22 22 26 27 29 34 37 40
22 26 27 29 32 35 40 48
26 27 29 32 35 40 48 58
26 27 29 34 38 46 56 69
27 29 35 38 46 56 69 83
Non-Intra:
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
AVISYNTH SCRIPT:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("C:\work\Tv_Cap~1.AVI",audio=false)
ConvertToYUY2()
AssumeFPS(29.970,True)
Import("C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs")
LanczosResize(540,480)
AddBorders(90,0,90,0)
ConvertToRGB24()
AUDIO INFO:
- Audiostreams:
- Audio 1 Language: Unspecified
- Audio 1 Bitrate: 192
- Audio 1 Sample freq: 48000
- Audio 1 Mode: Stereo
- Audio 1 Besweet: "C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\work\Encoded_audio_1.mp2.wav" -output "C:\work\Encoded_audio_1.mp2" -logfile "C:\work\Encoded_audio_1.log" ) -ota( -g max -r 29750 29970 ) -shibatch( --rate 48000 ) -2lame( -e -b 192 -m s )
SUBTITLE INFO:
- Subtitlestreams: 0
- Type:
- Sub. 1 Language:
- Sub. 2 Language:
- Sub. 3 Language:
- Sub. 4 Language:
AUTHORING INFO:
- CD Image program:
My thoughts are BeSweet doesn't seem to be outputing an Encoded_audio_1.mp2 file.
I have:
Extracted_audio_1.mpa
Encoded_audio_1.mp2.wav
... in my directory, but no Encoded_audio_1.mp2.
My solutions that I had found was:
1. shorten the directory path. I did shorten it to C:\work\ but that didn't help.
2. Go with BeSweet 1.4
am I getting close?
Nick
19th June 2005, 10:30
Probably not ;)
You are certainly correct that BeSweet is not creating an encoded audio file.
The bundled version is fine - I don't think an upgrade would help. I suspect the problem lies with the extraction process.
Keep the files from the original project and set a new default folder in the DVD2SVCD misc tab. Now try the following:
1) In the audio tab you have two options for avi audio extraction - internal routines and VFW. Whichever one you are using, try the other.
2) If that doesn't create an encoded audio file, try the trick with VDubMod in the "AVI2... fails at some point" sticky at the top of this forum.
3) If you are still struggling, try using the audio processing tools in VDubMod to extract the audio as a WAV file, then add this WAV file to the AVI and disable the original audio. Resave the AVI and convert from this.
In each case, stop the process as soon as video encoding starts. Once you find a method which gets you a proper encoded audio file, copy it to the original project folder and recover the original project (misc tab) from Muxing and Cutting.
Hope this helps
Nick
<edit> PS - Now THAT'S how to post a problem. Nice one! </edit>
ChickenMan
19th June 2005, 14:14
I have found if the extracted/original audio is at some odd sampling freq that is NOT 44.1 or 48khz, then BeSweet crumples and does not convert the WAV file through to MP2. DVD2SVCD just simply checks to see BeSweet end and assumes all is well and continues.
Can you post what GSPOT says about the audio in the AVI ?
I'd just manually load the generated WAV file into Goldwave, convert it to 48khz, normalize it and save out as an MP2 file with the name of "Encoded_Audio_1.mp2", then Recover DVD2SVCD from the Cut & Mux stage.
jchristl
19th June 2005, 16:20
The second step worked. I had to use VirtualDub, since I couldn't find an Audio tab in VirtualDubMod. I followed dddog's post and it worked fine.
Here's my before and after GSpot information.
Original ---
Codec: 0x0055(MP3) ID'd as MPEG-1 Layer 3
Bitrate: 128 kb/s (64/ch, stereo) CBR
Fs: 44100 Hz
Converted ---
Codec: PCM Audio
Bitrate: 1536 kb/s (768/ch, stereo)
Fs: 48000 Hz
As I saw this work for me, I was wondering if BeSweet had certain issues with weird audio...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.