Quantcast Kcd: TMPGEnc Has Odd Colors and Ghosted Figures? - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #21  
04-01-2004, 08:33 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
When i first came to this site i was clueless(some think i still am )i couldn't figure how to use any new filters everyone was talking about but all i was doing was something stupid ,i will try and help as much as i can but my computer skills are limited


That means you don't have the proper .dll files for example if you are looking for unfilter there are 2 different .dll one for avisynth 2.08 and one for 2.52 you need to get the correct one or you will get that error

First are you using avisynth 2.5 because the script you are using is for that

here is a great place to get the correct dll

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

the red writing in tmpge is the same as wmp but its too fast to read

load the script into vdub and it will tell you the error or WMP and tell us the first error you get and i will see if i can help

Also if you put the dll's in program files-avisynth-plugins folder you can get rid of these lines and it makes it alot easier

Code:
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")
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  
04-01-2004, 09:18 PM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Hi bigggt,
Thanks for your reply. To keep things simple, like me lol.. I will explain firstly what I want to do. I have a previously ripped B disc (Disc2) of a DVd I own that I want to back up to KVCD, really because it is cheaper buying CD than DVD's. If I was successful I was going to do this on all my DVD B discs that i possess. The Movie is about 2Hrs 10Mins long (Approx) and as I understand it anything over 2Hrs can only be encoded in PAL to 352x288 LBR or equivalent. I would like to encode it on the best, clearest settings. Firstly Is this the right template to use or could I use another?
I have converted the VOB files by DVD2AVI 1.76 and have MovieStacker Beta 2.0 Installed with AVISYNTH 2.5 also installed. I tried AVISYNTH 2.08 but all I kept getting from that was a greyed out screen at the Encoding phaze. Going on suggestions in this forum I have since downloaded numerous tools among them Gordian knot rip pack, Encoding Pack, DVD2SVCD and automated programs which made my computer hang so I removed it. All the above programs where installed in Program File on the C: Drive.
I have the D2v file ready but dont know where to go from there. I went to the AVISYNTH site and dowloaded all the filters mentioned in the forum for the 2.5 version and installed them in the filters folder of that program. Is that correct thing to do or not??
Lastly I havn't encoded the audio yet as I know how to do that and I just really want to know how to get down the video which is making me rip whats left of my hair out right now..lol
I am not experienced with this encoding thing hence all my questions and searching for help. Following on from that any help you could give me to get me on the right road so to speak would be greatly appreciated as Im at the point know when Im thinking of blowing the whole deal and just sticking with DVD's
Regards,
Steve.
Reply With Quote
  #23  
04-01-2004, 09:29 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
Hi Steve,

Let's try something quick:

(1) Create a .avs script (wrapper) for your .d2v.
That's as simple as this:

Code:
Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\DVD2KVCD Encode\The Great Escape Disc2.d2v")
GripCrop(352, 576, source_anamorphic=false)
GripSize(resizer="BilinearResize")
GripBorders()
Now please, change your long directory and file name to something shorter, like c:\DVD_Ripps\Disc2.d2v and edit the reference line in your script to point to the new place. You can use MovieStacker for that, and then copy&paste into your script in Notepad.

(2) Open your newly created .avs file with Vdub. You shouldn't receive any errors.
I use DVD2AVI 1.77.3 and I haven't used 1.76 for a very long time.

I wouldn't go over 352x576 for your movie, which is 2hr, 10 minutes.
See that I changed the resolution in the line above.

Could you try that first and see if you suceed

-kwag
Reply With Quote
  #24  
04-01-2004, 10:10 PM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
KWAG,
Did as per your last edited the AVS file following it opened in VDUB a couple of times. It didnt like anything with no values attached to them. I finally got 2 black screens when I input this:

Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\DVD2KVCD Encode\The Great Escape Disc2.d2v")
TomsMoComp(1, 15, 1)
GripCrop(352, 576, source_anamorphic=false)
GripSize(resizer="BilinearResize")
TemporalCleaner(5, 10)
MergeChroma(blur(1.5)
MergeLuma(blur(0.2))

What do I do now????
Regards,
Steve.
Reply With Quote
  #25  
04-01-2004, 10:11 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Bluebear
I have the D2v file ready but dont know where to go from there. I went to the AVISYNTH site and dowloaded all the filters mentioned in the forum for the 2.5 version and installed them in the filters folder of that program. Is that correct thing to do or not??
The folder is called plugins at least on mine

Try and copy and paste this again and open it and report the exact error you are getting,the error will tell us what we need to tell you

Code:
Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\DVD2KVCD Encode\The Great Escape Disc2.d2v") 
GripCrop(352, 576, source_anamorphic=false) 
GripSize(resizer="BilinearResize") 
GripBorders()
BTW that script is for 2.08 and you are using 2.5 right?
Reply With Quote
  #26  
04-01-2004, 10:15 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 Blubear
What do I do now????
Regards,
Steve.
Can you open your .d2v directly with TMPEG

-kwag
Reply With Quote
  #27  
04-01-2004, 10:26 PM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Hi KWAG,
I loaded the script in TMPGEnc and loaded the template and **** (Excuse)
Its works. I suppose my next Q. is gonna be what do I have to add to filters in the script for optimum picture quality>>>or is that jumping the gun....
You is the Man!!
Thanks,
Steve
Reply With Quote
  #28  
04-01-2004, 10:47 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
When you say you loaded the script, you mean the .avs or the .d2v project file
Reply With Quote
  #29  
04-02-2004, 06:35 AM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Hi KWAG,
I loaded the AVS in TMPGEnc using the top Browse button and then selected load and loaded the 352x576 template. I will enclose the script in a minute but I did a 5 minute tester and when I played the clip on windows media player obviously at this stage without any audio, the picture was long and vertical in the form of a broad stripe in the middle of the screen with thick black borders each side. Firstly how would I get rid of these in my script to get a more normal picture whilst still keeping the whole film within the framework of one CD. Enclosed is the Script. Could you please tell me what I need to Add or delete to achieve the above if this is possible:

#================================================= =====#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#


Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\DVD2KVCD Encode\The Great Escape Disc2.d2v")
TomsMoComp(1, 15, 1)
GripCrop(352, 576, source_anamorphic=false)
GripSize(resizer="BilinearResize")
Tweak(hue=0, sat=1.0, bright=0, cont=1.0)
TemporalCleaner(5, 10)
MergeChroma(blur(1.5)
MergeLuma(blur(0.2))
BlockBuster(method="noise", detail_min=1, detail_max=10, variance=1.0, seed=0)

Thanks,
Steve.
Reply With Quote
  #30  
04-02-2004, 07:13 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
You don't have an important line in the script, which line was posted by kwag
GripBorders()
The BlockBuster there in case of DVD source make no sense for me. Better reduce the bluring in the line MergeLuma(Blur(0.1)).
Windows media player is not capable to display correctly an avs. Use media player classic or Zoomplayer set to 4:3.
Reply With Quote
  #31  
04-02-2004, 09:33 AM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Hi All,
Abond I made those adjustments to my script and saved them. I then selected the AVs file in TMPGEnc and loaded the LBR Template. I did a 5 minute encode tester and came up with these figures:

Framerate: 211235\100\25 = 84.494 x 98 x 7.681 = 63601.844572MB

That looks mighty big to get on one CD even with the LBR template. I guess the script is wrong, if so how?? What do I need to add etc?? or have I missed something. i planned to put this film on 1 CD-R. Looking at the above I think I would need more than that somehow. I took originally the GripBorders() out because media player kept giving me errors with it but now is ok???

This is my Script:#========================================== ============#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#


Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\DVD2KVCD Encode\The Great Escape Disc2.d2v")
TomsMoComp(1, 15, 1)
GripCrop(352, 288, source_anamorphic=false)
GripSize(resizer="BilinearResize")
GripBorders()
Tweak(hue=0, sat=1.0, bright=0, cont=1.0)
TemporalCleaner(5, 10)
MergeChroma(blur(1.5)
MergeLuma(blur(0.1))

I must have to add more to my script - What would that be???????

Just when I thought I was making good progress I am back to square one.
Help Please anybody!!!!
Thank you
Steve.
Reply With Quote
  #32  
04-02-2004, 09:49 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
Oops GripBorders() should be the last line in the script
Quote:
ramerate: 211235\100\25 = 84.494 x 98 x 7.681 = 63601.844572MB
Ugh... Where from you get these horrible values
Reply With Quote
  #33  
04-02-2004, 11:09 AM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Any Ideas why that is happening or how to fix it???
____________________

Steve.
Reply With Quote
  #34  
04-02-2004, 02:06 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Why did you drop the optimal script ? Biggggt gave you a fixed script adapted to your case and just then, you decide to change completly !

I do not know how efficient is your scritp because I never use ToMo for instance but what is sure is : the optimal script, as its name says, is OPTIMAL.
That means : the best image for the smaller filesize possible.

You should use it.
Reply With Quote
  #35  
04-03-2004, 11:26 PM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Hello Dialhot,
I copied the script to an AVs File but when I loaded it in TMPGEnc it came up as red distorted writing on the screen. When I loaded it with the matching template it decoded a 10 - 15 second clip of exactly the same as above. I tried modifications to the file location line, did not help. I think we are communicating on different planes. Forgive me but Im not sure exactly what you are referring to. I replaced bigggt's script as suggested and it wont load.
________________

Steve.
Reply With Quote
  #36  
04-04-2004, 07:13 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
This "distorted image" is an error message !
Open the script into virtualdub and you will have the error message in a readable plain text. Tell us what this error is.
Reply With Quote
  #37  
04-04-2004, 09:43 AM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Hello Dialhot,
The Error message reported is this:

Avisynth open failure: Script error: End of file reached without matching}
(C:\Documents and settings\ steve grant.STEPEN-GRANT\Desktop\My optimal script.avs,line 54,column 0)

What does this mean? Coincidently would this script allow me to fit a 140Min Film on one CD or not as that was my ambition?
Thanks,
________________
Steve.
Reply With Quote
  #38  
04-04-2004, 09:56 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 Blubear
Avisynth open failure: Script error: End of file reached without matching}
(C:\Documents and settings\ steve grant.STEPEN-GRANT\Desktop\My optimal script.avs,line 54,column 0)
That means that you have an opening bracket "{" that does not match any closing bracket "}" in your script !
Can you please post the entire script you are using ?

Quote:
Coincidently would this script allow me to fit a 140Min Film on one CD or not a that was my ambition?
How can I know ? I do not know anythign about your source nor your actual settings !

Note : SHORTEN YOUR PATH NAMES !
Reply With Quote
  #39  
04-04-2004, 10:18 AM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Hello Dialhot,

As Requested the script I am using:

#================================================= =====#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#



## 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 ###
#
Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\DVD2KVCD Encode\The Great Escape Disc2.d2v") #
undot()
asharp(1, 4)
GripCrop(704, 576, source_anamorphic=false)
GripSize(resizer="BilinearResize")
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!

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
Reply With Quote
  #40  
04-04-2004, 10:35 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Seeing this it's simple to see that the opening bracket on the line "function fmin..." does not have any closing bracket that match.

You miss a line with just "}" at the end of your script.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Video colors are all washed, the picture has TV grainyness? trakad Video Encoding and Conversion 1 09-29-2005 02:22 AM
VCD OFF COLOUR? Colors out of place? WOWIEGURL Video Encoding and Conversion 7 06-27-2004 03:38 AM
Avisynth: First attempt with MA Optimal Script - colors all wrong! Icarus3000 Avisynth Scripting 19 10-02-2003 08:29 AM
Recording Video: Bright white colors? joseversion1 Video Capturing / Recording 1 03-07-2003 01:00 PM
KVCD: jittery areas around moving figures? bagel00 Video Encoding and Conversion 3 02-16-2003 05:48 PM




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