PDA

View Full Version : Script error: there is no function named "mpegsource" (while encoding)


NLight95
28th August 2008, 03:58
I receive the following error when encoding a DVD (Death Wish 5) using DVD-RB 1.28.2 in Vista 64. Both RB and CCE appear to be working fine. I even re-installed RB but still get the same error.

Script error: there is no function named "mpeg2source" (D:\Z\D2VAVSIV010010002001, line 5)

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:01
#------------------
mpeg2source("D:\Z\D2VAVS\V01.D2V")
Loadplugin("c:\other\plugins\LoadPluginEx2.dll")
Loadplugin("c:\other\plugins\Dustv5.dll")
Converttoyuy2().Pixiedust(2).Converttoyv12()
trim(0,4583)
ConvertToYUY2(interlaced=true)
AudioDub(BlankClip())


REBUILDER.INI

[Options]
Mode=1
OneClick=0
ReduceOpt=0
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
EncoderMinimized=1
RemoveDTS=1
HC_Quality=3
HC_Matrix=1
SkinVersion=12
AudioDub=1
QuEncodeType=0
iDCT=0
GOP=0
DCPrec=0
MainMatrix=0-High_Max (Paramount_Dreamworks)
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
ProCoder_Quality=4
DVD_Label=DEATH WISH 5
DVD_Name=DEATH WISH 5.ISO
MovieOnly=0
HalfD1=0000
Convert_16_9=0000
DisableInterlace=0000
ConvertToYUY2=1
Skin=Teck Original
CCE=4
closed_captions=1
Encode_Menus=0
ForceEncode=1
AVSFilter01=Loadplugin("c:\other\plugins\LoadPluginEx2.dll")
AVSFilter02=Loadplugin("c:\other\plugins\Dustv5.dll")
AVSFilter03=Converttoyuy2().Pixiedust(2).Converttoyv12()
Encode_Processes=2
TargetSizeMode=0
TargetSectors=4173000
HighMatrix=Same as Main Feature
MedHighMatrix=Same as Main Feature
MedMatrix=Same as Main Feature

[Paths]
QuEnc=C:\Program Files\DVD-RB PRO\Encoders\QuEnc\QuEnc.exe
ReJig=C:\Program Files\DVD-RB PRO\Encoders\ReJig\ReJig.exe
HC=C:\Program Files\DVD-RB PRO\Encoders\HC Encoder\HCbatch.EXE
FFMPEG=C:\Program Files\DVD-RB PRO\Encoders\FFMpeg\ffmpeg.exe
ProCoder=C:\Program Files\DVD-RB PRO\Encoders\EclPro\EclPro.exe
DECOMB=C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll
NICAUDIO=C:\Program Files\AviSynth 2.5\plugins\nicaudio.dll
MPEG2DEC=C:\Program Files\DVD-RB PRO\DGDecode.dll
Source=D:\EDITING\DEATH WISH 5\VIDEO_TS\
Working=D:\Z\
Output=D:\EDITING\

[Audio]
Selected=111
Remapping=

[Subpictures]
Selected=1111

[CCEOptions]
VBR_bias=25
Quality_prec=16
eclPasses=2

tebasuna51
28th August 2008, 10:11
Script error: there is no function named "mpeg2source" (D:\Z\D2VAVSIV010010002001, line 5)[/COLOR]

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:01
#------------------
mpeg2source("D:\Z\D2VAVS\V01.D2V")
Loadplugin("c:\other\plugins\LoadPluginEx2.dll")
Loadplugin("c:\other\plugins\Dustv5.dll")
Converttoyuy2().Pixiedust(2).Converttoyv12()
trim(0,4583)
ConvertToYUY2(interlaced=true)
AudioDub(BlankClip())

...

DECOMB=C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll
NICAUDIO=C:\Program Files\AviSynth 2.5\plugins\nicaudio.dll
MPEG2DEC=C:\Program Files\DVD-RB PRO\DGDecode.dll

...

mpeg2source is a function from DGDecode.dll.

AviSynth only load plugins automatically from 'C:\Program Files\AviSynth 2.5\plugins\'. Seems you have DGDecode.dll in another folder. You can do:

1) Put a DGDecode.dll copy in 'C:\Program Files\AviSynth 2.5\plugins\' folder.

If don't work you can try a explicit load with:

2) A new line in your .avs file, before mpeg2source, like:

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:01
#------------------
Loadplugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
mpeg2source("D:\Z\D2VAVS\V01.D2V")
...

NLight95
30th August 2008, 06:43
Actually it was an oversight on my part.

If you look at my REBUILDER.INI file you'll see that the paths I use are C:\Program Files\ instead of what should be used under Vista 64, C:\Program Files (x86)\. I corrected the paths and now DVD-RB works fine.