Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th August 2008, 03:58   #1  |  Link
NLight95
Registered User
 
NLight95's Avatar
 
Join Date: Jul 2006
Posts: 38
Script error: there is no function named "mpegsource" (while encoding)

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
__________________
LL PC-A77 | Corsair 750TX | Asus Rampage | E8500 | G.Skill 4GB 1066 | HIS 4890 Turbo | SuprTalnt 32GB SSD, WD3000GLFS, WD6400AAKS, ST31500341AS | LG WH10LS30 | X-Fi Titanium | LG W2600H | Win7 x64
NLight95 is offline   Reply With Quote
Old 28th August 2008, 10:11   #2  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Quote:
Originally Posted by NLight95;1176292...

[COLOR="Red"
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:

Code:
#------------------
# 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")
...
tebasuna51 is offline   Reply With Quote
Old 30th August 2008, 06:43   #3  |  Link
NLight95
Registered User
 
NLight95's Avatar
 
Join Date: Jul 2006
Posts: 38
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.
__________________
LL PC-A77 | Corsair 750TX | Asus Rampage | E8500 | G.Skill 4GB 1066 | HIS 4890 Turbo | SuprTalnt 32GB SSD, WD3000GLFS, WD6400AAKS, ST31500341AS | LG WH10LS30 | X-Fi Titanium | LG W2600H | Win7 x64
NLight95 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.