PDA

View Full Version : besweet/dvd2svcd 106 b3 problem


xrv1138
3rd February 2002, 00:12
have already posted the start of this in:
http://forum.doom9.org/showthread.php?s=&threadid=15690
but wanted to start a dedicated thread

2 machines
1st encoding a pal dvd
2nd encoding an ntsc dvd using convert ntsc to pal

1st has encoded no problems
2nd had a besweet error (besweet has encountered an error... xp msg) at end of besweet run before cce run
i cancelled the error message and the cce encode continued ok
tho i cancelled it as i did not want to do a full run with any errors

troubleshooting:
restarted the encode with reboot, new rip
same error
restarted the encode with convert ntsc to pal unticked
error did not occur
reinstalled 106 build 2
error did not occur
reinstalled 106 build 3 with convert on
error occurred
reinstalled 106 build 2 copied the besweet directory and uninstalled dvd2svcd. reinstalled 106 build 3, replaced the besweet directory with that from build 2.
error did not occur

conclusion is that in doing an ntsc to pal conversion there is some error possibly in the 1.11 version of besweet that was not in the version bundled with build2 of dvd2svcd.

any ideas or logs you want posted ?
i can use an ntsc encode but wuld rather stick to all pal for my setup...

xrv1138
3rd February 2002, 01:11
further trouble shooting in progress...

xrv1138
3rd February 2002, 04:10
the problem happens on both of my machines with the same dvd
with the old besweet i have no problems on either machine

it does not happen to all of my ntsc dvds about 50 % seem to do it.
but its the same on both machines
the error does not occur with the older besweet version
there are no logfiles written for besweet
the crash at the end of its run prevents the file from being written
so i cannot post a sound log.
any ideas anyone ?
what has changed from the last version of besweet to 1.11 which could cause this ?

xrv1138
3rd February 2002, 04:15
oh
and if anyone else has the alien legacy dvd set in ntsc
could you try and run an encode (alien or alien3) without downsampling
you can cancel the encode if cce starts its bit ok
so it doesnt take long to check
but pse do a full movie process not just a chapter or two.
thnx if anyone can back me up on this.

this is a little frustrating as 106 build2 works for everything for me, no crashes or errors anywhere...
so whatever has changed since then is causing me a little grief :(

DSPguru
3rd February 2002, 04:40
thank you for all the info, i will look for it whenever i have time.

Dg.

dvd2svcd
3rd February 2002, 08:25
xrv: Could you post the "Encoded_Audio1.log" file here?

xrv1138
3rd February 2002, 08:38
dvd2svcd
the besweet failure happens at the very end of its process
then the windows xp message pops up
which i cancel
then cce starts
the audio logfile is empty (is an empty text file)
so i guess besweet never completes this part when the failures occur
i presume that the file is written at the completion of the besweet run

i have just run 2 more ntsc to pal conersions attempts and cut the last 2 chapters off to see if the ends of the movies were causing the problems.
both have failed at the same point
but watching the besweet dos window i see that the transcode appears to complete then besweet seems to fail at whatever it is trying to do next (maybe write the logfile i dont know)
anyway, both log files are still blank

DSPguru
3rd February 2002, 16:46
what was the commandline ?

xrv1138
3rd February 2002, 17:55
Executing BeSweet. Commandline:
"D:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "G:\dvd project\Extracted_audio_1.ac3" -output "G:\DVDPRO~1\Encoded_audio_1.mp2" -logfile "G:\DVDPRO~1\Encoded_audio_1.log" ) -azid( -L -3db -c normal ) -ota( -g max -d 15 -r 960 1001 ) -2lame( -e -b 192 -m s )

hope that helps.

dvd2svcd
3rd February 2002, 18:01
Would you mind trying this line instead (manually in the command prompt)



"D:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "G:\dvd project\Extracted_audio_1.ac3" -output "G:\DVDPRO~1\Encoded_audio_1.mp2" ) -azid( -L -3db -c normal ) -ota( -g max ) -2lame( -e -b 192 -m s )

and see if that fails too. And look for maybe a CRC error, or something like that. As you can see I removed the logfile and some settings in the -ota options.

xrv1138
3rd February 2002, 19:31
will try that in about 10 hours,
at work at the mo...

xrv1138
4th February 2002, 04:23
ok
tried the original input for besweet in dos
failed as per the original post with no crc errors or anything shown

then tried your command line input
transcoding completed with no problems at all.
any ideas of what else to try ?

waddi
4th February 2002, 09:07
XRV1138,

Got the same problem you had a few days ago.
I was doing a ntsc to pal conversion and the Besweet caused an error after it finished.
Clicked OK and the CCE started. I cancelled the encode, checked the mp2 file and played OK. No Besweet logs.
I resumed the encode and everything completed fine.

xrv1138
4th February 2002, 09:18
waddi thanks
at least that confirms some sort of error here
hate being the only one with a problem ;-)

i was aware that by cancelling the error the encode finished ok as i checked the mp2 file as well.
i dont really like completing an encode after errors tho
as the only way u can tell if the total encode is ok is to watch the full movie, which i dont have time to do straight after an encode

im presently encoding the dvds in ntsc
this also adds 0.2 to the rt speed which is cool
(bit of envy for those who always encode for ntsc :P )
this is gonna give me an excuse to replace my old tv and get a new one methinks

however
there is still a problem that i guess needs fixing
so i am still keen to get to the bottom of it
and will try anything suggested.

DSPguru
4th February 2002, 17:37
Originally posted by xrv1138
ok
tried the original input for besweet in dos
failed as per the original post with no crc errors or anything shown

then tried your command line input
transcoding completed with no problems at all.
any ideas of what else to try ?

there are 3 differences between the two commands :
- -core( -logfile "G:\DVDPRO~1\Encoded_audio_1.log )
- -ota( -d 15 )
- -ota( -r 960 1001 )

since this bug doesn't happen on my computer, i would thank you if you could try to eliminate the problematic switch (or problematic combination - 3!=6 combinations).

more questions :
- which process raised the gpf (crash) ? BeSweet.exe ? ssrc.dll ? azid.dll ?
- you said that the crash always happens at the same point ? what iZ this point ?
- could try inputting BeSweet another ac3 stream and see if the commandline alwaY leads to crash ?


thank you VERY much for helping me on this.

Dg.

xrv1138
4th February 2002, 18:03
i will try the 3! different switches tonite (about 8 hours fm now)

not every ac3 input causes this
as above i have had no crshes with pal to pal
or ntsc to ntsc
tho i will have to test a few more ntsc disks

the crash appears to occur every time at the conclusion of the besweet transcode
as it appears that every time a complete mp2 file is created
if it isnt then only a second or so would be missing such that the file appears t be complete
im not sure which program is running at that stage as i dont understand how your program works in conjunction with the others
and no logfile is presented

more testing tonite :)

kiro
4th February 2002, 18:30
Maybe somebody already pointed...

I did not get the second audio stream.
English is on board, but insted of German just silence.
Do you need my log?

pool
5th February 2002, 01:05
i got the xp error right at the end of besweet too, on a normal ntsc dvd. I just let the whole thing keep going, and I dont think it caused anything bad to happen to the final result.

xrv1138
5th February 2002, 10:15
kiro
you might want to start a new thread on that
seeing as its not really related to this problem
and yes post your log in the new thread :)

and DSPguru i am running those tests now
so should be a couple of hours...

xrv1138
5th February 2002, 13:41
ok
just finished 4 hours of testing:

3 differences between the two commands :
a -core( -logfile "G:\DVDPRO~1\Encoded_audio_1.log )
b -ota( -d 15 )
c -ota( -r 960 1001 )


a,b,c in fail (as we know)
none in ok
a in ok
b in ok
c in ok
a,b in ok
b,c in fail
a,c in ok

attempted another extracted ntsc ac3 file from another working rip which passed the besweet point in its encode with full command line (using a,b,c) result was ok

conclusion: the error only occurs with the combination of b and c (delay and ntsc conversion)
error only occurs on original extracted ac3 file associated with the command line.

hope all of this helps find the problem
more than happy to test more for you if required

in the mean time for others who get this problem
workarounds:
1. cancel error message and continue
2. encode in ntsc, enjoy the new speed increase and buy an ntsc compatible tv (done today ;-) )
needed a good excuse to get rid of my old tv anyway...

DSPguru
5th February 2002, 19:00
i found the bug :D

Originally posted by xrv1138
ok
just finished 4 hours of testing:
you're the man !!!!
in fact, you helped me finding two bugs.

the first one is the otherside of the same bug solved between v1.1 to v1.11 (was with negative delay, now with positive delay).
the positive delay combined with FRC/SSRC leads to wrong assertion of delay.
the second bug lead to the crash itself when tried to handle wrong delay lengthes.

The bugs have now been fixed, and whenever i have time (maybe on a few hours), i will upload v1.2b1 to my site.

Great news to vcd coders with v1.2b1 :
v1.2b1 now supports AIFF output. so all the users wanted to create Mpeg2Multichannel audio soundtrack can easily do : AC3->AIFF with BeSweet and AIFF->M2MC with music (http://www.labdv.com/en/examples/svcd_audio.php#step5)in (http://www.stud.uni-siegen.de/sven.koelsch/mpeg2mc/) or Phillips (http://www.licensing.philips.com/ordering/soft/documents343.html)' pub_enc (http://208.189.26.162/vbb/attachment.php?s=&postid=69971).

xrv1138
5th February 2002, 21:00
DSPguru
i think that u guys working working on these excellent programs deserve the title "the man" :)
glad to have helped.

DSPguru
5th February 2002, 21:42
didn't complete working on the AIFF output, but here's v1.2b1 (http://dspguru.notrace.dk/BeSweetv1.2b1.zip) with the bugfix for the ntsc2pal&delay.