digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Bitrates: CQmatic (http://www.digitalfaq.com/archives/encode/7599-bitrates-cqmatic.html)

dazedconfused 01-14-2004 12:04 AM

Hi again Nighthawk,

Carefully read what you yourself have just written in your last 2 posts, and you will see that you've already answered your own question without realizing it. :wink:

Look at the pathname to the .DLL in the error message that TMPG gave you when you tried opening your .avs script....

Now in your 2nd post, look at where you said you have the .DLL located on your PC...

You need to change all of the pathnames in the script so that they will reflect where you have things on your PC, not to where Kwag has them on his PC.

And actually, you don't even need any of the LoadPlugin() lines in your script at all if you installed your filters (.DLLs) into the "plugins" folder of Avisynth (which you said you did). By installing your .DLLs there, they will auto-load for you, making the LoadPlugin lines totally unnecessary in your scripts.

So just open your script with Notepad and put a "#" in front of all of the LoadPlugin() lines in your script to deactivate those lines, and then save the changes, and then it should work. And don't forget to set the correct pathname to your .d2v file as well in the MPEG2Source() line of your script, or else that will probably be your next error message in TMPG. :wink:

-d&c

nighthawk 01-14-2004 09:24 AM

:oops: O.K. I fixed that along with the path to my d2v file. However I'm now getting a Script Error "invalid arguments to function "undot" and I do have that dll in the plugins folder.

Dialhot 01-14-2004 09:25 AM

?? What is exactly your script now ?

nighthawk 01-14-2004 09:36 AM

## DLL Section ##
#
#LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
#LoadPlugin("C:\Filters25\GripFit_YV12.dll")
#LoadPlugin("C:\Filters25\STMedianFilter.dll")
#LoadPlugin("C:\Filters25\asharp.dll")
#LoadPlugin("C:\Filters25\unfilter.dll")
#LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###
#
("F:\movie\movie.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 240, overscan=1)
GripSize(resizer="BicubicResize")
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
}

#
####

Dialhot 01-14-2004 09:49 AM

Quote:

Originally Posted by nighthawk
("F:\movie\movie.d2v") <-- you miss something here !

The correct line is :
Mpeg2Dec3("F:\movie\movie.d2v")

Second : where are exactly your plugins now ? The complete and exact path.

nighthawk 01-14-2004 09:54 AM

C:\Program Files\AviSynth 2.5\Plugins

nighthawk 01-14-2004 09:59 AM

8O This is discouraging :!: Now I'm getting the error there is no fucntion named "Mpeg2Dec3"

Dialhot 01-14-2004 10:14 AM

Quote:

Originally Posted by nighthawk
8O This is discouraging :!: Now I'm getting the error there is no fucntion named "Mpeg2Dec3"

My mistake !!!

The line is "Mpeg2Source("your d2v")"

Sorry for this error.

nighthawk 01-14-2004 10:18 AM

O.k. I changed that now tmpgenc is giving me a full blown error telling me that MA Sript can not open or is unsuppported.

I don't understand this at all

Dialhot 01-14-2004 10:40 AM

Add "ConvertToRGB24()" at the end of the script. If it fixes the problem that means that you miss a YV12 codec on your PC. I suggest you to install the last Xvid codec.

mistermickster 01-14-2004 10:46 AM

Also make sure you have Mpeg2Dec3.dll in your plugins folder and not Mpeg2Dec.dll and /or Mpeg2Dec2.dll.

As I understand it, they all have the same functions included but Mpeg2Dec3 is the latest. If they are all in the plugins folder, Avisynth might call the function in Mpeg2Dec :?

Just a thought. Might help. :wink:

nighthawk 01-14-2004 11:02 AM

I added that line to the end of the script & double checked the dll. I re-ripped frameserved with DVD2AVI 1.77.3 and now I'm getting the error

"The script's return value was not a video clip"

:cry:

Dialhot 01-14-2004 11:07 AM

Why did you redo the d2v with 1.77.3 ? You were close to the end and your restart from the begining :-(

Note: I never saw your error anywhere :-)

nighthawk 01-14-2004 11:11 AM

O.k I just now installed the DivX codec and the script will open in tmpgenc, I also removed that last line in the script that dialhot had me add. All seems to open now. Is there anything else I would have missed?

Talk about noob problems maybe we should have a "pre-noob" catagory and then I'll moderate that.

nighthawk

nighthawk 01-14-2004 11:15 AM

I redid the d2v with 1.77.3 because I thought that maybe something got corrupted along the way there.

1.77.3 is the one I should be using now or do I still use 1.76?

Dialhot 01-14-2004 11:17 AM

Quote:

Originally Posted by nighthawk
Talk about noob problems maybe we should have a "pre-noob" catagory and then I'll moderate that.

:lol:

For the DVD2AVI version I still use 1.76, I never had problem with it, and I do not see why I would change. But if it's okay with 1.77, just keep it.

nighthawk 01-14-2004 11:20 AM

Thanks everyone for giving me a hand through the setup stages :!: :!:

I am going to start working with some perdeiction on the script and then encode. I hope all goes well. :)


All times are GMT -5. The time now is 12:37 PM  —  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.