KCD: TMPGENC has odd colors and ghosted figures?
Hi all,
I dont know if anybody can help me but I am having exreme problems trying to encode a KVCD. I was hoping to recode a ripped second Disc of a DVD that I own but didnt want to put it onto a DVDR. I am currently following REDMANS guide KVCD FROM SCRATCH. All was going fine until I came to do the Video Part. The MovieStacker in the Guide is 1.1.1 and since Ive found out this has now been replaced by a 2.0 Beta version which I have installed. I am new at this and have not been able to encode not one KVCD yet to show for the 7Days I have now been on this. I fear I am about to give up. My problem specificly is that When I create a Script in Movie Stacker and load it into TmpgEnc it greys out and all I can see from the Result is a Grey Screen Interspread with some partial colours in the backround and ghosted figures. I have read the problems in the MovieStacker Forum and applied Some of the changes mentioned there such as turning of a function in TmpEnc and using the Mpeg2Dec2.Dll but none of these has made any difference whatsoever. Can anybody please help. I was so Excited about the concept when I discovered it but now I fear I may have to give it up, too dumb I guess. Anyway enclosed is the Newbie Template as requested in the forum and my Script. Thank you :( SOURCE: - Filetype (divx/xvid/mpeg/mjpg - so what says Gspot??) ? : VOB - interlaced(means combing on fast moving scenes) or not interlaced ? : INTERLACED - Framerate (29.97, 23.976, 25.000) ? : 25.000 - Resolution ? : PAL - Audiosamplerate (44.1 khz, 48 khz)? : 48 khz - Audio Type (AC3, mp3, mp2) ?: AC3 - Is Audio VBR or CBR ? CBR (some answers you get if using Gspot on the source!) DESTINATION: - KVCD, K(S)VCD or KDVD ?: KVCD - Mode (mpeg1 or mpeg2) ?: MPEG1 - Framerate (29.97, 23.976, 25.000) ? : 25.000 - Resolution ? PAL - Audiosamplerate (44.1 khz or 48 khz) ? : 44.1 - Audio Enc Type (mp2, AC3) ?: MP3 - Encoding Appl. (CCE or TmpgEnc) ?: TmpgEnc - muxing Appl. (TmpgEnc, BBmpeg, etc.) ?: BBMpeg - Authoring Appl. (Vcdeasy, VCDgear, Nero) ?: Nero6 - Burning Appl. (Vcdeasy, Nero, etc.) ?: Nero6 If Avisynth is used: - Which Version of Avisynth Do you use? 2.08 - Post your last state of your script here!: #================================================= =====# # -= AviSynth script by MovieStacker v2.0.0 (beta3) =- # #================================================= =====# LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\TomsMoComp.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\GripFit_preview.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll") LoadPlugin("C:\Program Files\MovieStacker\Filters\Sampler.dll") Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\Great Eascape2 recoded\Great Escape Movie2.d2v") LegalClip() TomsMoComp(1, 15, 1) GripCrop(352, 288, overscan=1) GripSize(resizer="BilinearResize") TemporalSmoother(1, 2) MergeChroma(blur(1.58)) MergeLuma(blur(0.2)) GripBorders() LegalClip() Sampler(100, length=24) ## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size * .98 ## Steve. |
HI ,first all i can say is don't give up i have tried to get so many people here from ither forums and they all give up because it seems difficult at the start.
If i can get it, anyone can-i have no computer knowledge and just ask here specific questions and get wonderful help I'm sure you will get help from more knowlegeable people but is there a reason you are still using avisynth 2.08 :?: try loading the script into virtual dub or WMP and see if it givs you an error just don't give up man |
You should use Mpeg2Dec3.dll
|
Hi,
I can understand your frustration. I have been there :( and got everything working after going through following setps There are many ways to configure your system for video encoding. Here are the steps I follow. 1. Install and configure you choice of operating system with latest service pack and updates. I use WinXP 2. Install the latest 2.5.X avisynth from www.avisynth.org 3. Install the Gordian Knot Rip and Codec pack. As you are doing KVCD's you can uncheck DivX 5.x and DivX 3.x from Rip pack and also Avisynth as you have already installed. You can download from http://gordianknot.sourceforge.net/ 4. Install the DVD2SVCD and again cancel avisynth installation. You can download from www.dvd2svcd.org 5. Install you choice of encoder (TMPGEnc or CCE) 6. Install the filters as needed. Minimally you need MPEG2DEC or MPEG2DEC3, Undot, STMedian, Asharp, Decomb510, Sampler-2.5, Gripfit. Use DVD2AVI and Besweet from DVD2SVCD. Moviestacker does't give you a script compatiable with Avisynth 2.5.x. You should use Moviestacker only to get resizing parameters and use the same with "Optimal Script" I don't claim the above steps are perfect in all sense. But, they work for me :) |
Thanks peeps but still confused
:? Thanks for the reply's peeps, but I am still in the Dark'. Are you Saying not to use the Guide Now or what then? I have tried the Mpeg2Dec3.Dll as well and this didnt help either. I dont know what is Gordian Knot', Is there instructions how to use that? I have downloaded the tools from the Instructions in the Guide....Recomends Avisynth 2.08 etc as Moviestacker does not apparently recognise 2.5. Can anybody figure out what I am doing wrong if in my scripts at all, from the template I posted.....Oh Dear.
Thanks Steve. |
I have the same if I use DVD2AVI 1.77 and avisynth 2.0 with mpeg2dec. Then use mpeg2dec3 with avisynth 2.5x or DVD2AVI 1.76.
|
If you let mpeg2dec.dll do the original d2v, remove it and redo you yourself with dvd2avi.
|
@Phil
I didn't use for quite long time mpeg2dec, then the things might change. Are you sure that mpeg2dec can create d2v? I ask because I know there is another decoder Mpegdecoder.dll IIRC from Nic (doom9 place) which can do d2v. So I have wonder what is what :) |
Re: Thanks peeps but still confused
Quote:
Quote:
You need to change the following lines of optimal script for avisynth-2.5. You can copy over the lines from Moviestacker.
|
It is not quiet true as nor DVD2SVCD neither GKnot will provide GripFit for Avisynth 2.5x.
|
Quote:
I am sorry for the confusion. |
Thanks members - A few more questions please.
:roll: Hi people,
Thanks for all your reply's they were all gratefully received. The thing is if i can equate myself to the 5 year old when it comes to KVCD, you guys are the adults. Im kind of lost in all the opinions I have received. could anyone please give me some solid step by step directions on other ways to try and encode or adjustments to make to the way I am doing things at the moment. Is there anything wrong with my script I submitted ? Do I have to make any changes there perhaps? Sorry to be so dumb peeps but I am new and this is all kind of like rocket science to me at the moment. I know you guys are very knowledge - able in this area but please bear in mind I am new and dont understand all the concepts and stuff. I am not critisizing, quiet the contrary I am so pleased you people have kindly taken the time to help me, but I was wondering If you could simplify things a bit. For instance where do I go from here and what should I try first Etc. Thanks Peeps, Sorry for being such a dumb ass!! Many thanks, Steve. |
Hi Steve,
Have you tried any of the other guides available on the main page ( www.kvcd.net ) :?: -kwag |
:roll: Hi Kwag,
Yes I have tried some of the other guides, which were very good. Unfortunatly as you can probably see from this post I was using REDMANS Guide but hit problems when it came to encoding the D2V file. I followed it to the letter although the only difference was that I had to replace the 1.1.1 version of MovieStacker with the new 2.0 Beta Version which kind of made things difficult with settings etc. I have had so much good advice from the members but as in everything in life everybody has different ways and means of achieving the goal. As a complete begginer I am finding it mighty confusing trying to A and B together to get answer C if you know what I mean, Hence asking for some solid advice. I have included the Template of my Code as requested and was basicly waiting for any feed back or help from this. This KVCD thing aint as easy as it looks mate. Thanks, Steve. |
Just About all out of ideas
Hi All,
I have been experimenting for the last few days and have taken your comments on board, but I have not been able to get this thing right. I tried using the MovieStacker guide and Avisynth 2.5 after encoding the Vobs from a DVd file to D2V file and AC3 file. I ran my Script in the media viewer and get error entry's in red. It refers to Mpgdec2dec3.dll unable to locate,but I placed this in the Avisynth folder and checked it was there. Enclosed is my script: ## 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("Your_D2V_Source_Here") # undot() asharp(1, 4) GripCrop(Your_GripCrop_Parameters_Here) 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! # # ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\DVD2KVCD Encode\The Great Escape Disc2.d2v") GripCrop(704, 576, source_anamorphic=false) GripSize(resizer="BilinearResize") GripBorders() I am getting very frustrated with this now as I even tried the automated programs and they would only include one of the short films from the folder not the other or the Photo's included. I havnt been able to make one KVCD now its been a while since I started this and Im getting no where. I intended to encode the video/DVd on the LBR template as the DVd is 2Hrs 10Mins long complete. Am I right choosing this Template or could I use something else? I have no idea. Any help would be most appreciated. Thanks :( , Steve. |
amendment
:oops:
Sorry that should read KWAG's Script Template which I used from the site, Thanks KWAG, Steve. |
Your script is wrong :!:
Look at this: Mpeg2Source("Your_D2V_Source_Here") You have to edit that line, and there's where you put the source to your .d2v. Also this line: GripCrop(Your_GripCrop_Parameters_Here) And this one: #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! Not at the bottom of the script where you added the lines : Code:
Mpeg2Source("C:\Documents and Settings\Steve Grant.STEPHEN-GRANT\Desktop\DVD2KVCD Encode\The Great Escape Disc2.d2v") |
Hi KWAG,
Thanks for the reply although sorry to be a dummy, I dont understand what you are saying. In the source line thats were the file is :? Not quite with it about the rest. Where do I find the values to input there?? Thanks, Steve. |
Quote:
[quote] Quote:
Also if you are using cq matic i think you might want to shorten that source line that thing is huge :D |
Totally Lost
Hi Bigggt,
I have tried what I have seen previously. When I try to load the Script into media player, red writing comes along the top of the screen saying various .dll's wont load. these change as I change the sript so they are different all the time. When I load this script into TMPGEnc it just comes up with a distorted Red writing along the screen and doesn't even load the video. I dont understand the whole thing. I have tried using the guides but they are out of date and use different tools no longer available. This Is why I am asking all these questions. I have been at this for ages now and cant get the system to work, I dont know what to do next. I might as well pack this in I cant understand all this script stuff. Thanks for the reply though. :? Steve. PS. It would be Ideal For Newbie's to have a Sample Script to work from to understand the settings etc. |
When i first came to this site i was clueless(some think i still am :wink: )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") |
Thank youfor your reply
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. :roll: |
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") (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 |
thanks KWAG
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.58)) MergeLuma(blur(0.2)) What do I do now???? Regards, Steve. :) |
Quote:
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") |
Re: thanks KWAG
Quote:
-kwag |
HOLY MOLLY IT WORKS!!!!!!
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 :lol: |
When you say you loaded the script, you mean the .avs or the .d2v project file :?:
|
another problem has arisen.....
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.58)) MergeLuma(blur(0.2)) BlockBuster(method="noise", detail_min=1, detail_max=10, variance=1.0, seed=0) Thanks, Steve. :? |
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. |
I dont understand what's wrong here?
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.58)) 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. :cry: :cry: |
Oops GripBorders() should be the last line in the script
Quote:
|
Any ideas??
Any Ideas why that is happening or how to fix it???
____________________ Steve. |
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. |
OPtimal Script.
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. |
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. |
Error Message
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. |
Re: Error Message
Quote:
Can you please post the entire script you are using ? Quote:
Note : SHORTEN YOUR PATH NAMES ! |
Requested Script
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 |
Seeing this it's simple to see that the opening bracket on the line "function fmin..." does not have any closing bracket that match.
:arrow: You miss a line with just "}" at the end of your script. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.