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

Reply
 
LinkBack Thread Tools
  #41  
04-04-2004, 04:08 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,
I just cannot master this script thing. It seems so complicated and I dont even know if I am doing it right at all. I have tried all the suggestions mentioned and still all I get is errors. I dont know how to configure the script to encode a 140min film into kvcd. I have the d2v file, audio done encoded and templates installed in TMPGEnc but I cant figure this script thing out. Can anyone please explain in laymans language what I have to do with this thing??. If any Newbie's have had the same thing could you please drop me line to explain how you did it as I have no clue. ?The thread so far shows my lack of progress...
Thanks,
Steve.
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
  #42  
04-04-2004, 05:18 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Steve do this just copy this exactly save as .avs file and load into WMP and report the exact error and please don't change anything before you report

Code:
 ## 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 
}
ANd what Phil was telling you is see the bracket at the end of this part is what you were missing

Quote:
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
And with that resolution i hope you are going to use more then 1 cd
Reply With Quote
  #43  
04-05-2004, 05:55 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,
Enclosed is the error message I get. I was a Bit concerned because I thought these were the correct settings to encode the 140 Min movie to ONE CD-R which is what I wanted to do all along. Do I require LBR settings and if so where would I insert these presumably where the current resolutions are Yes? Also in light of that would I have to change any other bits of the script.

Error Message:

LoadPlugin: Unable to Load "C:\Filters25\MPEG2Dec3.dll"
(C:\DOCUME~1\STEVEG~1.STE\Desktop\COPYTE~1.AVS,Lin e 3)

Look forward hopefully to your reply,
Steve.
Reply With Quote
  #44  
04-05-2004, 06:34 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
This means that you do not have the correct version of this filter or they a e in the wrong spot

Also C:\Filters25 is in the optimal script, is this where you have your filters if not you have to put your directory in here.

To make this alot easier just copy the .dll's and put them in the plugin folder of avisynth 2.5 and you don't need to worry about the LOAD PLUGIN lines anymore

I don't think you will have to go as low as lbr settings(maybe though) but you can try all different resolutions first to see(this is what you can use moviestacker for)

Lets start with this first error ansd see if we can get that fixed first
Reply With Quote
  #45  
04-05-2004, 07:45 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 Bigggt,
I have copied the following .dll's downloaded from the avisynth site for 2.5
Gripfit, Decomb510.dll,Undot,Asharp,MPEG2Dec3(for2.5),MPEG2 DEC,ST.MedianFilter,2DCleanYuY2. I ran it and got this:

Plane Difference:Only planar images (as YV12) supported!
([Scriptclip], line 1)

What now????
Reply With Quote
  #46  
04-05-2004, 07:47 PM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
If it helps half the view screen is purple and the other black. No video clip has played even when I press play.

Steve.
Reply With Quote
  #47  
04-05-2004, 07:54 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Do you have xvid installed(This usually takes care of YV12 problems)

If so you might have to wait for someone like Dialhot for this one ,never seen that error before
Reply With Quote
  #48  
04-05-2004, 08:17 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,
Ok not a problem thanks very much for helping me this far at least its playing now. I dont think I have XVID installed, I presume you are talking about the codec right. Is this the same one available in the Gordian knot rip pack or not.

Re resolution:what changes do I need to make here and what template to use in encoding to fit the 140Min film on one CD. Can you asist here. Also would I have to change any other things in the script when I change the resolution etc...
Reply With Quote
  #49  
04-05-2004, 08:17 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You must remove "mpeg2dec" from your directory because it bypasses "mpeg2dec3" and that is this one that must be used.

mpeg2dec3 does output in YV12 and you won't have the error (mpeg2dec outputs only in YUY2).
Reply With Quote
  #50  
04-05-2004, 08:22 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
You can try 352X576 and i leave everything else the same.You need to do a prediction at this resolution and see what cq you get before deciding to use it or not
Reply With Quote
  #51  
04-05-2004, 08:25 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 Phil,
Done as you said now stopped playing and now getting new error message from media player like this:

Cannot play back the video stream: no suitable decompressor could be found

Any Ideas
Steve.
Reply With Quote
  #52  
04-05-2004, 08:29 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
That means you are missing a codec

Here

http://www.roeder.goe.net/~koepi/xvid.shtml

Warning-i use RC3 and this is RC4 which just came out so i don't know if its better or not
Reply With Quote
  #53  
04-05-2004, 08:55 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,
Following all the above suggestions this has now happened. Installed XVID Codec. Lost purple screen but film plays really slowly and jerky it stops in some places and moves on only when you manually move the progress bar at the bottom. I now however am getting a new error at the top of the screen in WMP as follows:

Script error:thereis no function named "unfilter"
([ScriptClip], Line 2).

How does one do this CQ test. I was doing before a five minute clip and then using formula as mentioned in Redmans guide to work out movie length - Is this the same or are you meaning altering CQ in TMPGENc by 5 etc to alter filesize. PS. Just out of interest in redmans guide I always wanted to ask this but forgot, why does he mutiply by .98??
Steve.
Reply With Quote
  #54  
04-05-2004, 09:09 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Script error:thereis no function named "unfilter"
([ScriptClip], Line 2).
This means you do not have this filter

Get all (most) of your filters from this website(make sure you get the 2.5 version)

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

Quote:
How does one do this CQ test. I was doing before a five minute clip and then using formula as mentioned in Redmans guide to work out movie length - Is this the same or are you meaning altering CQ in TMPGENc by 5 etc to alter filesize. PS. Just out of interest in redmans guide I always wanted to ask this but forgot, why does he mutiply by .98??
Steve.
As far as Red M 's guide it is a greater starter guide but it is really old and we do mostly everything different now

Cq test(meaning prediction sorry if this was confuseing) is done by cq matic here

http://www.kvcd.net/forum/viewtopic.php?t=5145

or TOK which you might have more trouble finding but it is here also

You need to get the script working before you can use any of these prediction programs first

as far as the .98 percent i think it leaves a little room for error a 2 % margain but thats all taken care of with the 2 other programs
Reply With Quote
  #55  
04-05-2004, 09:24 PM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Script appears to be working but is very slow... well extremly slow during playback is this normal. I will submit the new resolution as 352x576 in script and try that. To last dumb questions but I was wondering not having seen how any of these KVCD come out yet do they fill the whole of thescreen on a TV set with these scripts or do you have a picture with black borders round it in a square like shape. Also is there a guide to using Tok or do you recommend using CQ more.

Steve.
Reply With Quote
  #56  
04-05-2004, 09:30 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Script appears to be working but is very slow... well extremly slow during playback is this normal.
It all depends on your Computer(i don't know if its normal,i have pretty slow computer and it plays fine on mine)

The script keeps the aspect ratio of your dvd so if oit is widescreen then it will be widescreen but if its full screen it will remain full screen,the black bars on the sides will not show up on your tv

I will look for a guide and get back to you

TOK is not being developed anymore(as of now) and CQ matic seems to have the best result and mostly everyone uses it but i use both

If you have time read the cq matic forum here and that should help

Edit-could not find a guide but if you read some of the other forums here and ask questions you should get it with no problems
Reply With Quote
  #57  
04-05-2004, 09:50 PM
Blubear Blubear is offline
Free Member
 
Join Date: Mar 2004
Location: Sussex / England
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
I have just encoded a sample in TMPGEnc for 5mins and although the quality is good the format of the film was that the film represented a letter box style format but verticly with two broad black areas each side, sort of like narrow film. You say this will disappear when played back on your tV. Ok will try...

Can I take the oppurtunity to thank you most sincerly for your help. you have helped me immencely as of about two hours ago I was giving serious consideration to giving it a miss.
Thank you very much.
Regards,
Steve.
Reply With Quote
  #58  
04-06-2004, 07:26 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Your Welcome Steve ,I'm glad to see someone stick with it because once you get it it will be easy and the finished product you will be very happy with

Let us know how it works out
Reply With Quote
  #59  
04-18-2004, 11:58 PM
Rudolf Rudolf is offline
Free Member
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Rudolf Send a message via Yahoo to Rudolf
Hi there....

I'm not really the expert, like some of the guys here, but I have been working with MPEG ever since it started few years back. I try to avoid scripts, even though they do at times some excelent jobs, particulary some AviSynth filters. However, not everyone could appreciate that...

If you're able to convert your vob files into MPEG2 files then half the work is done. There are many apps to do so. Try smart Ripper and DVD2AVI to end up with saperate audio (AC3) file and a d2v file. The guide is available at afterdawn site and no scripts are involved here.

To encode your video (the .d2v file from above), again without any scripts, TMPGEnc is your best bet. Just make sure you have the KVCD templates in there and the plugin that enables it to read the .d2v from the DVD2AVI app. TMPGEnc will handle only the Video (to KVCD) you will need to find another application to encode the AC3 audio. Most commonly used is HeadAC3he. Please note that Encoding your video will take quite a bit of time (>6hours).

Alternatively, there are many ways to convert vob to MPEG2. Once that is done , then demux the video and audio and use TMPGEnc to change your m2v to KVCD format, again you will need the MPEG2 plugin for TMPGEnc as well as the KVCD templates. Audio will need to be done saperately.

Once you have both video and audio encoded to the desired format, you might need to multiplex them again before using then in you VCD Writing software.

Hope this helps...
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 11:29 PM  —  vBulletin © Jelsoft Enterprises Ltd