Quantcast Bitrates: CQmatic - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
01-14-2004, 12:04 AM
dazedconfused dazedconfused is offline
Free Member
 
Join Date: Nov 2002
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts
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.

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.

-d&c
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
  #22  
01-14-2004, 09:24 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #23  
01-14-2004, 09:25 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
?? What is exactly your script now ?
Reply With Quote
  #24  
01-14-2004, 09:36 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
## 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
}

#
####
Reply With Quote
  #25  
01-14-2004, 09:49 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #26  
01-14-2004, 09:54 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
C:\Program Files\AviSynth 2.5\Plugins
Reply With Quote
  #27  
01-14-2004, 09:59 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
This is discouraging Now I'm getting the error there is no fucntion named "Mpeg2Dec3"
Reply With Quote
  #28  
01-14-2004, 10:14 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by nighthawk
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.
Reply With Quote
  #29  
01-14-2004, 10:18 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #30  
01-14-2004, 10:40 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #31  
01-14-2004, 10:46 AM
mistermickster mistermickster is offline
Free Member
 
Join Date: Jul 2003
Location: Blighty, PAL Land
Posts: 133
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________
MisterMickster
Reply With Quote
  #32  
01-14-2004, 11:02 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
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"

Reply With Quote
  #33  
01-14-2004, 11:07 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #34  
01-14-2004, 11:11 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #35  
01-14-2004, 11:15 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #36  
01-14-2004, 11:17 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by nighthawk
Talk about noob problems maybe we should have a "pre-noob" catagory and then I'll moderate that.


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.
Reply With Quote
  #37  
01-14-2004, 11:20 AM
nighthawk nighthawk is offline
Free Member
 
Join Date: Dec 2003
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitrates: CQMatic 1.4.08 Metabodom Video Encoding and Conversion 2 05-22-2005 07:01 AM
Bitrates: CQMatic Log Aielman Video Encoding and Conversion 8 03-18-2004 10:36 PM
Bitrates: KDVD bitrates with CQMatic nicksteel Video Encoding and Conversion 10 08-06-2003 08:44 AM
Bitrates: TOK vs CQMatic Bud Video Encoding and Conversion 4 08-04-2003 02:30 AM
Bitrates: PAL and GOP with CQMatic break Video Encoding and Conversion 5 08-03-2003 12:10 PM

Thread Tools



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