Hi..
Ich wollte rm_logo script testen.
Diese beiden Dateien sind im selben Ordner:
logo.bmp
test.avs
Die logo.bmp hab ich mit Paint erstellt, wie beschrieben Logo weiss und der Rest schwarz anmalen.
Im test.avs steht folgendes drin:
Import("F:\programme\Brenner.VirtualCD.Ripper.codec.player\VirtualDubMod_1_5_10_2_All_inclusive\plugins\plugins.avs")mpeg2source("D:\rekord\Rohstream\Immer wieder Jim10.d2v")rm_logo(last,logomask="logo.bmp",loc="br",par=4.0/3.0,mode="both",percent=20,pp=1)#crop(2,2,716,572)#LanczosResize(640,352)
Im Plugins.avs steht folgendes drin:
LoadPlugin("Plugins\DGDecode.dll")LoadPlugin("Plugins\Repair.dll")LoadPlugin("Plugins\RemoveGrain.dll")LoadPlugin("Plugins\fft3dfilter.dll")LoadPlugin("Plugins\medianblur.dll")LoadPlugin("Plugins\AviSynth_C.dll")LoadCPlugin("Plugins\AVSInpaint.dll")LoadPlugin("Plugins\exinpaint.dll")LoadPlugin("Plugins\mt_masktools.dll")LoadPlugin("Plugins\AddGrain.dll")LoadPlugin("Plugins\MaskTools.dll")LoadPlugin("Plugins\TTempSmooth.dll")LoadPlugin("Plugins\SSE3Tools.dll")LoadPlugin("Plugins\decomb.dll")LoadPlugin("Plugins\gradfun2db.dll")LoadPlugin("Plugins\unfilter.dll")LoadPlugin("Plugins\kerneldeint.dll")LoadPlugin("Plugins\UnDot.dll")Import("Plugins\rm_logo.avs")Import("Plugins\delogo.avs")LoadVirtualdubPlugin("F:\programme\Brenner.VirtualCD.Ripper.codec.player\VirtualDubMod_1_5_10_2_All_inclusive\plugins\delogo.vdf","_VD_Delogo",1)
Nun bekomme ich folgende Fehlermeldung wenn ich die test.avs in VDM laden möcht:
Avisynth open failure:
specify a fully qualified directory and logomask name to use
(Plugins\rm_logo.avs, line 96)
(D:\rekord\encoden\Test\test.avs, line 5)
test.avs line 5:
rm_logo(last,logomask="logo.bmp",loc="br",par=4.0/3.0,mode="both",percent=20,pp=1)
rm_logo.avs line 96:
Assert((sl >= 0),"specify a fully qualified directory and logomask name to use")
Das ist wohl komplette funktion von dem befehl:
# seperate out the directory and logo names so we can save a unique ebmp file
sl = logomask.revstr().findstr("\") - 1
Assert((sl >= 0),"specify a fully qualified directory and logomask name to use")
logo_name = (sl < 0 ) ? "" : rightstr(logomask,sl) # name and extension
s2 = logo_name.findstr(".") - 1 # find the length of the extension
logo_name = leftstr(logo_name,s2) # just the name !
Analyse_Name = logo_name + loc + string(percent) + "AnalyzeResult%06d.ebmp"
Alles anzeigen
Jetzt nun die Frage an was liegt das denn?! Kann mir evtl wer helfen?