digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: VirtualDub loadPlugin error (http://www.digitalfaq.com/archives/avisynth/86-avisynth-virtualdub-loadplugin.html)

musicthebee 05-07-2002 07:45 AM

Avisynth: VirtualDub loadPlugin error
 
I am trying to use fitcd to burn an avi file. It generated the follwoing avisynth scriot


LoadPlugin("E:\mpeg2dec.dll")
AviSource("E:\Received Files\The.Lord.Of.The.Rings.The.Fellowship.Of.The. Ring.DVD.SCREENER.CD1.DivX-DVL.avi")
AssumeFrameBased.SeparateFields
BilinearResize(448,111,39,0,562,136).Weave
#TemporalSmoother(2,2)
AddBorders(16,129,16,129)
#Trim(0,132293).FadeOut(150)
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
## If you want this 'fix' permanently, edit the INI-file:
## Under [AVSscript] set the CCEcrashfix-option to
## CCEcrashfix=1


When I try to load in virtualDub it says I dont know anything about loadPlugin. Can someboady please explain what I am doing wrong...


Also I would really appreciate if somebody can explain how to use avisynth on different avi files. I tried all over but still am not very clear. For example if I want to perform all the actions in the script what do I do?


Thanks for help...

kasun000 05-07-2002 08:17 AM

Re: help with avisynth
 
Quote:

Originally Posted by musicthebee
I am trying to use fitcd to burn an avi file. It generated the follwoing avisynth scriot


LoadPlugin("E:\mpeg2dec.dll")
AviSource("E:\Received Files\The.Lord.Of.The.Rings.The.Fellowship.Of.The. Ring.DVD.SCREENER.CD1.DivX-DVL.avi")
AssumeFrameBased.SeparateFields
BilinearResize(448,111,39,0,562,136).Weave
#TemporalSmoother(2,2)
AddBorders(16,129,16,129)
#Trim(0,132293).FadeOut(150)
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
## If you want this 'fix' permanently, edit the INI-file:
## Under [AVSscript] set the CCEcrashfix-option to
## CCEcrashfix=1


When I try to load in virtualDub it says I dont know anything about loadPlugin. Can someboady please explain what I am doing wrong...


Also I would really appreciate if somebody can explain how to use avisynth on different avi files. I tried all over but still am not very clear. For example if I want to perform all the actions in the script what do I do?


Thanks for help...

Here the link, this will help you on avi script of avisynth
http://www.kvcd.net/forum/viewtopic.php?t=11

About the plugin, you need decomb.dll for your avisynth.

kasun000

musicthebee 05-07-2002 08:55 AM

still doesnt work
 
Hi kasun

Thanks for a quick reply. I tried it as you said along with the guide but it still doesnt work. I tried loading the avs in windows media player, virtual dub, tmpgenc but all of them say

" I dont know what LoadPlugin means on line 1"

Any idea. I think I have installed avisynth right into system32...

Thanks

Here is the script:
-------------------
LoadPlugin("c:\avisynth\mpeg2dec.dll")
LoadPlugin("c:\avisynth\decomb.dll")
AviSource("E:\lotr-2.avi")

Telecide(reverse=false,swap=false,firstlast=false, post=true,threshold=15,dthreshold=9,blend=true,chr oma=false,y0=0,y1=0)
Decimate(cycle=5,mode=0,threshold=0)

BilinearResize(448,190,0,1,576,238)
TemporalSmoother(2,2)
AddBorders(16,145,16,145)

kasun000 05-07-2002 09:27 AM

Re: still doesnt work
 
Quote:

Originally Posted by musicthebee
Hi kasun

Thanks for a quick reply. I tried it as you said along with the guide but it still doesnt work. I tried loading the avs in windows media player, virtual dub, tmpgenc but all of them say

" I dont know what LoadPlugin means on line 1"

Any idea. I think I have installed avisynth right into system32...

Thanks

Here is the script:
-------------------
LoadPlugin("c:\avisynth\mpeg2dec.dll")
LoadPlugin("c:\avisynth\decomb.dll")
AviSource("E:\lotr-2.avi")

Telecide(reverse=false,swap=false,firstlast=false, post=true,threshold=15,dthreshold=9,blend=true,chr oma=false,y0=0,y1=0)
Decimate(cycle=5,mode=0,threshold=0)

BilinearResize(448,190,0,1,576,238)
TemporalSmoother(2,2)
AddBorders(16,145,16,145)

Hi musicthebee

You could install in your system32 folder also make sure you have the avisynth.dll in system32 folder.

Is your video source 23.976 fps or 29.976 fps, if it 23.976 take out:

Telecide(reverse=false,swap=false,firstlast=false, post=true,threshold=15,dthreshold=9,blend=true,chr oma=false,y0=0,y1=0)
Decimate(cycle=5,mode=0,threshold=0)

I think that might be your problem

kasun000

musicthebee 05-07-2002 04:57 PM

more questions
 
Thanks Kasun...

I am really glad I found this forum. Very informative and nice people around :-)

Finally I got avisynth to work. But got few more questions
I am kinda confused between the functionality of avisynth and tmpgenc.
Once I successfully load my avs file in tmpGEnc what options should I choose to convert it to svcd

Here is what I have done so far:
I used fitcd - loaded my avi and chose svcd and 80 min cd -r with nero. It generated an avs file.

When I load the avs file into tmpgenc what templates/options I need to choose in such a way that
it fits the whole cd...


Thanks

kasun000 05-07-2002 05:34 PM

Re: more questions
 
Quote:

Originally Posted by musicthebee
Thanks Kasun...

I am really glad I found this forum. Very informative and nice people around :-)

Finally I got avisynth to work. But got few more questions
I am kinda confused between the functionality of avisynth and tmpgenc.
Once I successfully load my avs file in tmpGEnc what options should I choose to convert it to svcd

Here is what I have done so far:
I used fitcd - loaded my avi and chose svcd and 80 min cd -r with nero. It generated an avs file.

When I load the avs file into tmpgenc what templates/options I need to choose in such a way that
it fits the whole cd...


Thanks

No Problem musicthebee:

Hmmm just load Kwag's templates and little your audio to 128.
If the file come out more MB, try lower the CQ max bitrate to 2200 -
2100.

kasun000

musicthebee 05-07-2002 08:22 PM

Hi Kasun

Can you suggest me under what conditions should I use the avisynth? Most of my avi files are downloaded from internet? Is it advisible to use avisynth on downloaded mpeg files? If so what avisynth commands need to be used?

Thanks a lot

kasun000 05-07-2002 10:51 PM

Quote:

Originally Posted by musicthebee
Hi Kasun

Can you suggest me under what conditions should I use the avisynth? Most of my avi files are downloaded from internet? Is it advisible to use avisynth on downloaded mpeg files? If so what avisynth commands need to be used?

Thanks a lot

Hi musicthebee:

Well I use avisynth cuz of TemporalSmoother, which fastest internal noise reduction than tmpgenc, If your avi doesn't have much noise blocky you don't have to use avisynth, and there alot option use avisynth which I'm still new at this too. Hmmmm I don't know you could use on mpeg but I think you can. Ain't mpeg already encode with mpeg-1 or 2 so you don't have re-encode the mpeg. For the avisynth filters there alot option but I don't know much about it but here link that might useful for you. If you trouble just with it just post it, Kwag or the other here will help you out.

http://math.berkeley.edu/~benrg/avisynth-reference.html

kasun000

musicthebee 05-07-2002 11:05 PM

btw

avisynth with the script qouted above gives me green clip(green scrreen) on some avi files. Do you know what the reason is?

Thanks

musicthebee 05-08-2002 12:44 AM

green blan screen when running avisynth
 
I think I have problems running the avisynth on my home computer(windows xp). I did exactly the same steps(install the avisynth run .reg file). But all my avi files are showing up as blank green screens...My other computer with windows 2000 seems to be fine...

Any thoughts please?

Thanks

kasun000 05-08-2002 05:35 AM

Hi musicthebee:

I don't know about avisynth testing on windows XP cause I never test it on that system. I only have win98se. You could go to vcdhelp.com for help or search the topic for avisynth on XP. I know there alot topic that mention that before.

kasun000

musicthebee 05-08-2002 02:51 PM

hei kwag
 
Hei Kwag

Tried searching around but didnt find any...

Do you happen to know why I am getting the blank green screen with avisynth?

Thanks

kwag 05-08-2002 02:53 PM

Re: hei kwag
 
Quote:

Originally Posted by musicthebee
Hei Kwag

Tried searching around but didnt find any...

Do you happen to know why I am getting the blank green screen with avisynth?

Thanks

Could it be because your source is RGB?
If it is, you need to use a function called ConvertToYUY2() in your script.

Look for that function's reference in AviSynth's web site. In their reference manual.

kwag

musicthebee 05-08-2002 03:55 PM

that didnt work either
 
I tried that right after my AviSource and its still the same? Could it be dix codec problem? I have another problem that is my virtualdub does not show any video(only the sound). Will try updating to older version of codec and let you know...

Thanks kwag

musicthebee 05-09-2002 10:00 AM

problem solved + question on fitcd
 
Hei Kwag

It was the problem with the divx5 codec. Once I reverted to dix4 it is ok...

About fitcd

I load my avi file and selected the destination as svcd with crop accurate

I want to use the tmpgenc standard svcd template to burn it using the fitcd parameters. So I am inputting different parameters from the fitcd(video and audio bitrates). Since it is giving the max,min,avg bit rates I am trying to use 2pass VBR.

When I input all the parameters the resulting size is still not fit in one cd?

Can you please elobarate which parameters I need to use with standard svcd template? Also do I need to adjust source parameters like (vcd/dvd/svcd)?

So If I understand correctly
The advantage of fitcd is is that it gives the right avisynth script to load the avi file. THe parameters can actually be adjusted ionside tmpgenc (with vbr) to fit in onecd...

Thanks


All times are GMT -5. The time now is 09:14 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.