digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Script unsupported? (http://www.digitalfaq.com/archives/avisynth/8540-avisynth-script-unsupported.html)

shanum 03-09-2004 07:48 PM

script unsupported?
 
hi all... i'm stuck... :(

here's my script based on Kwag's scipt. can anybody tell me why TMPGEnc says it cannot open, or is unsupported??

Code:


 ## DLL Section ##
#
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Grip.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\STMedianFilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\unfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\undot\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("C:\Movie Work\POC.d2v")
LanczosResize(528,368,16,0,688,480)
AddBorders(0,56,0,56)
#
undot()
Limiter()
asharp(1, 4)
GripCrop(528,576)
GripSize(resizer="LanczosResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
  return ( f1<f2 ) ? f1 : f2
}
 
#
####

help pls........

kwag 03-09-2004 07:50 PM

Did you install AviSynth 2.5x :?: :?:

Edit: Did you also install ReadAVS.dll :?:

-kwag

Dialhot 03-09-2004 08:08 PM

And did you installed an YV12 codec (as Xvid) ?

bigggt 03-09-2004 08:23 PM

Hi shanum

When i first started doing kvcd's tmpge would open no problem even with errors but i would get red words(telling me my error)

But now if i have any error in the script or misssing .dll's or anything when i open tmpge i get unsuported and it won't open.

Load your script into vdub or WMP and see if it reports an error

Just a suggestion

shanum 03-09-2004 08:25 PM

Quote:

Originally Posted by kwag
Did you install AviSynth 2.5x :?: :?:

Edit: Did you also install ReadAVS.dll :?:

-kwag

i installed avisynth 2.5... as for ReadAVS.dll... i havent.. is that an avisynth filter? or something for TMPGEnc?? where do i find it?

Dialhot 03-09-2004 08:27 PM

Quote:

Originally Posted by shanum
i installed avisynth 2.5... as for ReadAVS.dll... i havent.. is that an avisynth filter? or something for TMPGEnc?? where do i find it?

That is the plugin that allows tmpgenc to load avs.
Do a search on the forum with "readavs AND rar" as pattern.

shanum 03-09-2004 08:29 PM

Quote:

Originally Posted by bigggt
Hi shanum

When i first started doing kvcd's tmpge would open no problem even with errors but i would get red words(telling me my error)

But now if i have any error in the script or misssing .dll's or anything when i open tmpge i get unsuported and it won't open.

Load your script into vdub or WMP and see if it reports an error

Just a suggestion

for WMP > no suitable decpmressor could be found..
for Vdub > couldnt locate decompressor for format YV12...

how do i solve this problem?

thanks in advance

Dialhot 03-09-2004 08:30 PM

Quote:

Originally Posted by bigggt
But now if i have any error in the script or misssing .dll's or anything when i open tmpge i get unsuported and it won't open

Error message are generated in RGB32 and TMPGENC can't display that (it does RGB24 only). This behaviour indicates that you miss a color space convertor that is normally installed with Directx9 (quartz.dll).
But that's nbot really a problem as RGB32 is never used for other things than that and you already found a workaround :-)

bigggt 03-09-2004 08:31 PM

Quote:

Originally Posted by Phil
And did you installed an YV12 codec (as Xvid) ?

Do you have xvid installed

Edit-You know thats funny Phil i was just looking up what codecs i have through avi codec not an hour ago and man i seem to have too many(37 under video codecs) but one says file missing but its MP4S

The same thing happens to me when i use vdub i used to get the error message in red but now i just get a pop up

Thanx for clearing this up and what do i do re install direct X

Dialhot 03-09-2004 08:36 PM

Quote:

Originally Posted by shanum
for Vdub > couldnt locate decompressor for format YV12...

how do i solve this problem?

thanks in advance

Perhaps you can start by READING what we already post here ?
I answered this question at 3.08am !

Dialhot 03-09-2004 08:40 PM

Quote:

Originally Posted by bigggt
The same thing happens to me when i use vdub i used to get the error message in red but now i just get a pop up

This is normal, and it is a new feature of last release of vdub :-)

With this you avoid problems of unreadeable message that we had sometimes when the A/R was wrong.

shanum 03-09-2004 08:42 PM

searched for 'readavs and rar' but no english threads came up... browsed thru the others but couldnt find any links...

i have Xvid codecs installed....

how can i change TMPGEnc to RBG24... i cant load the avs file to start with..

bigggt 03-09-2004 08:45 PM

Thanx buddy :wink:

edit

@ shanum

You can find the readavs file here

http://www.avisynth.org/warpenterprises/

Dialhot 03-09-2004 08:57 PM

Quote:

Originally Posted by shanum
I have Xvid codecs installed....

Tell that to wmp and Vdub so !
I suggest you to reinstall it properly and to configure it to output in YV12.

Quote:

how can i change TMPGEnc to RBG24...
Let's forget this part off my post that was for bigggt and btw taht you clearly didn't understand.

Quote:

i cant load the avs file to start with..
We know ! We understood that already and in case you didn't notice, we are trying to help you ;-)

shanum 03-09-2004 09:51 PM

Quote:

We know ! We understood that already and in case you didn't notice, we are trying to help you ;-)
thanks everybody.. i got TMPGEnc working... sorry if a was being a bit daft but couldnt help it :) really appreciate all the help... u know i might just get the hang of all of this someday :wink:

goodnight peeps..


All times are GMT -5. The time now is 12:48 PM  —  vBulletin © Jelsoft Enterprises Ltd

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