PDA

View Full Version : 2 errors I'm getting in DVD2SVCD (avi2svcd)


mordant
18th January 2002, 01:26
Hi, I'm running winXP on an AMD Thunderbird 900 with 256megs of ram.

I'm trying to use avi2svcd to convert a DivX file.

When CCE reaches about 66% on a 3 pass encode I hit this error :

CCE_ENCODED_VIDEO_NTSC.MPV

fexp_close()failed:***could not close the file <C:\Temp\CCE_ENCODED_VIDEO_NTSC.MPV the handle is invalid.

[windows error code : 0x6 6]

If I click OK the encode continues but I get the error where bbMPEG can't find an NTSC file...

Help?

Abend
17th February 2002, 00:14
I was able to solve exactly this problem by replacing AVISource with DirectShowSource in AviSynth script.

LoadPlugin("xxxxxxxxx\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("xxxxxxxxxxx")
AssumeFPS(23.976,True)
BicubicResize(480,480,0.00,0.60)
ResampleAudio(44100)

to:

LoadPlugin("xxxxxxxxx\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
DirectShowSource("xxxxxxxxxxx").FlipVertical
AssumeFPS(23.976,True)
BicubicResize(480,480,0.00,0.60)
ResampleAudio(44100)

I had to add .FlipVertical (note the "." dot) because movie was upside down. Encoding speed also went up from .5xx to 1.0xx RT.

Now is the question to gurus:
There is no free lunch, what am I loosing with this configuration.
CCE problem is solved for me and i've got twice the speed. Where is THE catch :-)

BTW I tried encoding around 30 samples since than and CCE never crashed between passes. For fun i tried to do all things opposite to recommended like setting avg and max bitrate to be the same, encoding only black and white scenes, only subtitles,using CCE with logo etc. Couldn't find bad memory module to stick in my notebook :-)

My config: IBM Thinkpad PIII-850 256Mb.
WindowsXP
DVD2SVCD 1.0.6 b4
CCEsp2.50