Log in

View Full Version : Complicated .AVS Scripts = DVD2SVCD Giving Up To Soon


cw_uk
5th July 2004, 02:31
this is something im begining to run in to all the time now if the script you are using takes a little while to load in to CCE than DVD2SVCD just gives up.. whats really annoying is just after DVD2SVCD gives up the avs file finishes loading. :( is there possibly any way that a delay can be added so that dvd2svcd waits for cce to finish loading the script rather then it expecting an immediate response. :confused:


WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 05/07/2004 02:04:14
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.2 build 1
--------------------------------------------------------
Initializing
- E:\Captures\Not-Relevant.avi
Initializing finished.

--------------------------------------------------------
- 05/07/2004 02:04:16
- Free on drive C: 68473.79 mb
- AUDIO Extraction
--------------------------------------------------------
Undoing Nandubs 1152 BlockAlign value to 1
Redoing Nandubs 1152 BlockAlign value
Audio extraction finished.

--------------------------------------------------------
- 05/07/2004 02:04:26
- Free on drive C: 68437.16 mb
- AUDIO conversion
--------------------------------------------------------

Converting MP2 to WAV. Filename: C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa
Executing MADPlay (mp2 to wav). Commandline:
"C:\Program Files\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"C:\Encoding Folder\Tests\Audio\Encoded_audio_1.mp2.wav" "C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa"
Conversion (mp2 to wav) of C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa finished.


Encoding Audio. Filename: C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Encoding Folder\Tests\Audio\Encoded_audio_1.mp2.wav" -output "C:\ENCODI~1\Tests\Audio\Encoded_audio_1.mp2" -logfile "C:\ENCODI~1\Tests\Audio\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 112 -m s )
Audio conversion of C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa finished.

Audio conversion finished.

--------------------------------------------------------
- 05/07/2004 02:08:23
- Free on drive C: 67924.48 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
Cannot load CCE project file. Retry #1
Cannot load CCE project file. Retry #2
Cannot load CCE project file. Retry #3
Cannot load CCE project file. Retry #4
Error cannot load CCE project file. Giving up.


this is the script im using yes it will load fine on a quick test but try using it to encode :rolleyes:

[AVISYNTH_Divx_Filter]
0=BlindPP(cpu=4)
1=Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)
2=Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
3=GripCrop(^TargetWidth, ^TargetHeight+^BorderTop+^BorderBottom, overscan=^overscan, source_anamorphic=^source_ana, dest_anamorphic=^dest_ana)
4=GripSize(resizer="^resizer")
5=Undot()
6=TemporalSoften(2,7,7,3,2)
7=DCTFilter(1,1,1,1,1,1,0.5,0)
8=GripBorders()
9=function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }
^overscan=1
^source_ana=false
^dest_ana=false
^resizer=LanczosResize

jorel
5th July 2004, 03:08
hy cw_uk :)
this is the Dialhot's script for divx sources, right? it don't seems errors from script. :confused: did you try with another script? happen the same?

cw_uk
5th July 2004, 03:22
Hi jorel nice to see ya over here instead of kvcd forum :).
no theres actually no error with the script its just with the latest version of dvd2svcd what happens is when it loads the script it expects an immediate response from cce where as you know the script takes up from 5-10 secs to load by this time though its allready gave up trying. by introducing frameserving in to the equation i have managed to get it to work but this aint much help for what i wish to do. :(
WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 05/07/2004 03:10:30
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.2 build 1
--------------------------------------------------------
Initializing
- E:\Stuff Still To Sort\XXXXXXXX.avi
Initializing finished.

--------------------------------------------------------
- 05/07/2004 03:10:33
- Free on drive C: 67364.18 mb
- AUDIO Extraction
--------------------------------------------------------
Undoing Nandubs 1152 BlockAlign value to 1
Redoing Nandubs 1152 BlockAlign value
Audio extraction finished.

--------------------------------------------------------
- 05/07/2004 03:10:43
- Free on drive C: 67327.55 mb
- AUDIO conversion
--------------------------------------------------------

Converting MP2 to WAV. Filename: C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa
Executing MADPlay (mp2 to wav). Commandline:
"C:\Program Files\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"C:\Encoding Folder\Tests\Audio\Encoded_audio_1.mp2.wav" "C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa"
Conversion (mp2 to wav) of C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa finished.


Encoding Audio. Filename: C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Encoding Folder\Tests\Audio\Encoded_audio_1.mp2.wav" -output "C:\ENCODI~1\Tests\Audio\Encoded_audio_1.mp2" -logfile "C:\ENCODI~1\Tests\Audio\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 112 -m s )
Audio conversion of C:\Encoding Folder\Tests\Audio\Extracted_audio_1.mpa finished.

Audio conversion finished.

--------------------------------------------------------
- 05/07/2004 03:14:42
- Free on drive C: 66814.84 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Frameserver.
Closing program

Executing Cinema Craft Encoder.
Cannot load CCE project file. Retry #1
Cannot load CCE project file. Retry #2
Cannot load CCE project file. Retry #3
Cannot load CCE project file. Retry #4
StreamSectors: 834285788
AudioSectors: 37123576
VideoPAPO: 12348468
ScanOffsetBytes: 75068
SeqAligningBytes: 4771014
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 779967657.73
Seconds: 2616.15
CalcMPEGStream: 779967657.73
Frames: 62557
CDSize: 800.00
Number of CDs: 1
Cut point 796.00
Variable Settings:
Frames: 62557
Anti Noise Filter: Off
Passes: 5
Image Quality: 17
VAF file creation: On
Video Encoding Mode: One Pass VBR
Q. Factor: 1
Min. bitrate: 300
Max. bitrate: 2230
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("XXXXXXXX",audio=false)
ConvertToYUY2()
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(720, 480+0+0, overscan=1, source_anamorphic=false, dest_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()
function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }
----AVS End----

Pixar2
6th July 2004, 22:07
I can verify the findings. I'm also having problems with scripts like that. Right now I have to feed it some simple script, then close DVD2SVCD and restart the encode with the real script. Thereafter recover DVD2SVCD from muxing (or pulldown...) - not my idea of a good time ;-)

If one could only pause the execution of DVD2SVCD, as possible in D2SRoBa for example, then one could avoid it when a known problem script is used - while looking for a better solution I mean.

cw_uk
6th July 2004, 22:42
it really is a nuiance of an error.. if it wasnt for this holding me up i can use d2sroba and dvd2svcd to convert a whole series of avi's (roughly 22 episodes) without any interaction whatsoever. :(