Quantcast KVCD: Need Help with AVS Script - digitalFAQ.com Forums [Archives]
  #1  
03-01-2003, 04:28 PM
diablov90street diablov90street is offline
Free Member
 
Join Date: Mar 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to diablov90street
Im a newb to all of this, but i followed the DivX to KVCD guide, the problem im having trouble is loading the avs script in tmpgenc.
I used this one:

LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\MPEG2DEC.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\LegalClip.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\Sampler.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\DustV5.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\TemporalCleanerOld.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\GripFit_Preview.dll")
avisource("C:\Avi Stuff\Noname.avi")
#ConvertToYUY2()
LegalClip()
GripCrop(528, 480, overscan=2)
GripSize()
SpaceDust()
#TemporalCleaner()
LegalClip()
#Sampler(length=24)

When i try to load it into TMPGEnc it says:

Unrecognized exception!
(C:\Avi Stuff\Movie.avs, line 7)

If you know what im doing wrong please help me.

~~~~~~~~~~~
Diablov90Street
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-01-2003, 04:42 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by diablov90street
Im a newb to all of this, but i followed the DivX to KVCD guide, the problem im having trouble is loading the avs script in tmpgenc.
I used this one:

LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\MPEG2DEC.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\LegalClip.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\Sampler.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\DustV5.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\TemporalCleanerOld.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\GripFit_Preview.dll")
avisource("C:\Avi Stuff\Noname.avi")
#ConvertToYUY2()
LegalClip()
GripCrop(528, 480, overscan=2)
GripSize()
SpaceDust()
#TemporalCleaner()
LegalClip()
#Sampler(length=24)

When i try to load it into TMPGEnc it says:

Unrecognized exception!
(C:\Avi Stuff\Movie.avs, line 7)

If you know what im doing wrong please help me.

~~~~~~~~~~~
Diablov90Street
hi diablov90street,
welcome in forum!

see if the source of your .avi is right:
it's in the "C:\Avi Stuff" and
labeled as "????.avs" ?

see the script:
avisource("C:\Avi Stuff\Noname.avi")

and TMPGEnc want to open:
C:\Avi Stuff\Movie.avs




correct the name of your .avs,
it will work!
Reply With Quote
  #3  
03-01-2003, 04:56 PM
diablov90street diablov90street is offline
Free Member
 
Join Date: Mar 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to diablov90street
hey, this is what i did, i renamed the avs file from Movie.avs to Noname.avs, like my avi file(Noname.avi), but it still doenst work???

~~~~~~~~
Diablov90Street
Reply With Quote
  #4  
03-02-2003, 02:08 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
It doesn´t matter how you name your .avs file, as long as the avisource points to the right file!
Example my .avs file is named KVCD.avs and it looks like this,
LoadPlugin("E:\KVCD Converting\Filters\Mpeg2dec.dll")
LoadPlugin("E:\KVCD Converting\Filters\GripFit_Preview.dll")
LoadPlugin("E:\KVCD Converting\Filters\LegalClip.dll")
LoadPlugin("E:\KVCD Converting\Filters\Sampler.dll")
LoadPlugin("E:\KVCD Converting\Filters\convolution3d")
LoadPlugin("E:\KVCD Converting\Filters\DustV5.dll")
LoadPlugin("E:\KVCD Converting\Filters\TemporalCleaner.dll")
LoadPlugin("E:\KVCD Converting\Filters\DctFilter_YUY2.dll")

avisource("E:\-=[ CACHE ]=-\Reign_of_Fire_(2002).XviD.DMT.ShareReactor.avi")
ConvertToYUY2()
LegalClip()

GripCrop(width=704, height=576, overscan=2)
GripSize(resizer="lanczosresize")

mergechroma(blur(1.5)
mergeluma(blur(0.2))
SpaceDust()
TemporalCleaner()
Convolution3d(preset="movieHQ")
DctFilter(1,1,1,1,1,1,0.5,0)

GripBorders()
LegalClip()
#Sampler(length=24)
Reply With Quote
  #5  
03-02-2003, 02:26 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ CheronAph and diablov90street ,

CheronAph wrote:
"It doesn´t matter how you name your .avs file, as long as the avisource points to the right file!"

yes, of course...

but i was wrote:
"see if the source of your .avi is right:
it's in the "C:\Avi Stuff" and
labeled as "????.avs" ? "

read again my first post here!


thanks.
Reply With Quote
  #6  
03-02-2003, 02:47 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Oh, sorry
Reply With Quote
  #7  
03-02-2003, 02:55 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by CheronAph
Oh, sorry
no problems friend.

hey, your avatar remember me the film " it "of Stephen King.

so scare.....change to a blonde!
Reply With Quote
  #8  
03-02-2003, 10:37 AM
diablov90street diablov90street is offline
Free Member
 
Join Date: Mar 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to diablov90street
Hey, sorry about the misunderstanding, but i checked the source and it was right, i talked to black prince and asked him if it matters that the avi file that i had was captured from my camera. And he said that it does matter. When i load it up in Virtual Dub it says:

Warning: Type 1 DV file detected. Type 1 DV files have video and audio combined into one stream, and virtualdub currently cannot extract the audio. Only the video stream will be available.

Then i captured it as a Type-2 DV file, and it worked fine, only when i put it in the script and loaded the script in TMPGEnc, it gave me this:

LegalClip: Source must YUY2
(C:\Avi Stuff\Default.avs, line 9)

And i used this script:

LoadPlugin("C:\Avi Stuff\Filters\MPEG2DEC\MPEG2DEC.dll")
LoadPlugin("C:\Avi Stuff\Filters\LegalClip\LegalClip.dll")
LoadPlugin("C:\Avi Stuff\Filters\Sampler\Sampler.dll")
LoadPlugin("C:\Avi Stuff\Filters\DustV5\DustV5.dll")
LoadPlugin("C:\Avi Stuff\Filters\Temporal Cleaner\TemporalCleanerOld.dll")
LoadPlugin("C:\Avi Stuff\Filters\GripFit\GripFit_Preview.dll")
avisource("C:\pdwork\Default.avi")
#ConvertToYUY2()
LegalClip()
GripCrop(528, 480, overscan=2)
GripSize()
SpaceDust()
#TemporalCleaner()
LegalClip()
#Sampler(length=24)

~~~~~~~~~~~~~~
Diablov90Street
Reply With Quote
  #9  
03-02-2003, 10:52 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

one more "goal" for black prince!

diablov90street, as i see in your new script,with a help of black prince,
you change the source of your .avi :
was:
avisource("C:\Avi Stuff\Noname.avi")

and now is:
avisource("C:\pdwork\Default.avi")

......
it's all working now?
Reply With Quote
  #10  
03-02-2003, 04:18 PM
diablov90street diablov90street is offline
Free Member
 
Join Date: Mar 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to diablov90street
Nope, it just says:

LegalClip: Source must YUY2
(C:\Avi Stuff\Default.avs, line 9)

~~~~~~~~~
Diablov90Street
Reply With Quote
  #11  
03-02-2003, 04:21 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Change the line #ConvertToYUY2() to read:
ConvertToYUY2()

That is, remove the '#'

-kwag
Reply With Quote
  #12  
03-02-2003, 10:09 PM
diablov90street diablov90street is offline
Free Member
 
Join Date: Mar 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to diablov90street
ok, i removed #, from it and when i load it up it just gives me a green screen???

~~~~~~~~~~
Diablov90Street
Reply With Quote
  #13  
03-02-2003, 10:13 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by diablov90street
ok, i removed #, from it and when i load it up it just gives me a green screen???

~~~~~~~~~~
Diablov90Street
Is the green screen in your standalone DVD player, or on your computer monitor?
Reply With Quote
  #14  
03-02-2003, 10:26 PM
diablov90street diablov90street is offline
Free Member
 
Join Date: Mar 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to diablov90street
It's on my computer screen and when i load it up in TMPGEnc.

~~~~~~~
Diablov90Street
Reply With Quote
  #15  
03-02-2003, 10:42 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
The the problem is definitely a DV CODEC problem. Have you tried opening regular .d2vs and avi files
Reply With Quote
  #16  
03-02-2003, 11:19 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
The the problem is definitely a DV CODEC problem. Have you tried opening regular .d2vs and avi files
"bingo"
Reply With Quote
  #17  
03-06-2003, 05:38 PM
diablov90street diablov90street is offline
Free Member
 
Join Date: Mar 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to diablov90street
Yeah, ive tried it and it works great, but do you know how to Convert DV to KVCD, possibly widescreen.

~~~~~~~
Diablov90Street
Reply With Quote
  #18  
03-06-2003, 06:12 PM
alfredini alfredini is offline
Free Member
 
Join Date: Dec 2002
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by diablov90street
ok, i removed #, from it and when i load it up it just gives me a green screen???
Quote:
Originally Posted by kwag
The the problem is definitely a DV CODEC problem. Have you tried opening regular .d2vs and avi files
I have the same problem with the green screen. The movie (avi) works fine with all software players. But if i use avisynth u can only see a green screen. I have tried the script without any filters too. Noway. The only thing that works is: DirectShowSource("Source")
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Script AVS: Recodificando MPEG-1 - o que otimizar no script? danpos Conversão e Codificação de Vídeo (Português) 7 08-29-2004 03:28 AM
Optimal script or simple resize script? bigggt Avisynth Scripting 2 06-22-2004 08:17 PM
KVCD: Optimal script or ma script? vdk_au Video Encoding and Conversion 3 01-29-2004 07:29 AM
new KVCD script candidate for optimal script! Dialhot Video Encoding and Conversion 12 10-11-2003 02:09 PM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM

Thread Tools



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