Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
8th September 2005, 09:40 | #61 | Link |
Registered User
Join Date: May 2005
Location: Germany
Posts: 495
|
I just installed the newest avisynth and has no problems to run my script.
I think mg262 is right. You doesn´t set all the clips. My function needs three different clips, the source clip the bobbed clip for the output and the bobbed clip for the analyse. This is my script: Code:
LoadPlugin("C:\program_me\dgmpgdec\DGDecode.dll") LoadPlugin("C:\program_me\filters\leakkerneldeint.dll") LoadPlugin("C:\program_me\filters\TDeint.dll") import("D:\work\C_package.avs") MPEG2Source("D:\dvd.d2v") #ConvertToYUY2(interlaced=true) #crop(16,32,-16,-32) ord = last.getparity() ? 1 : 0 a = last.leakkernelbob(order=ord, sharp=false, twoway=false, threshold=4) b = a.crop(32,32,-32,-32).BilinearResize(640,352) Crestore_film(bob=a, bclip=b, bthreshmin=48) Code:
ord = last.getparity() ? 1 : 0 a = last.tdeint(mode=1) b = last.leakkernelbob(order=ord, sharp=false, twoway=false, threshold=4).crop(32,32,-32,-32).BilinearResize(640,352) Crestore_film(last,a,b) |
8th September 2005, 10:08 | #62 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
@ MOmonster
Save yourself from such hassle ... Code:
Function Crestore_XYZ(clip clp, clip "bob", clip "bclip", [...] { warning1 = """clip variable "bob" was not specified""" warning2 = """clip variable "bclip" was not specified""" bob = default( bob, clp.bob().subtitle(warning1),y=24 ) bclip = default( bclip,clp.bob().subtitle(warning2),y=40 ) [...]
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
8th September 2005, 10:22 | #63 | Link |
Clouded
Join Date: Jul 2003
Location: Cambridge, UK
Posts: 1,148
|
Add to that: as I understand it, putting quotes around an argument allows that argument to be omitted... if I'm correct the following would also work:
Function Crestore_XYZ(clip clp, clip bob, clip bclip,...) { [...] |
8th September 2005, 14:16 | #65 | Link |
XviD User
Join Date: Oct 2004
Location: Ky
Posts: 190
|
My sincere apologies, I apparently didn't have my bobber set for the bclip even though I read the readme twice. Thanks so much for the explinations and help.
__________________
DFI NF4 SLI Expert | Opteron 165 CCBBE 0616 XPMW (9x325HTT=2.9Ghz) | 2x1GB G.Skill HZ (3-4-4-8-12-16-2T) | LG 62L DVD/CD | Geforce 7300GT | All SATA | Antec 650 Trio PSU | XP SP2 |
28th September 2005, 20:38 | #66 | Link |
Registered User
Join Date: May 2005
Location: Germany
Posts: 495
|
Small bugfix (wrong handling with pattern smaller than 8 Frames), Crestore has now version 0.9e.
There are no changes, the development of Crestore has stopped for other projects. Last edited by MOmonster; 18th October 2005 at 09:58. |
5th April 2006, 10:02 | #67 | Link |
Registered User
Join Date: May 2005
Location: Germany
Posts: 495
|
Because I got the feeling that Crestore is still used, even though there was no development, yesterday I decided to implement the code of the final Cdeblend into Crestore to also finalize this function.
These are the changes: - new modes -> hq mode is 20% slower than the old Crestore version but much better, mode<0 is still significantly better and 20% faster than the old one (with simple bobber: realtime) - instead of Cdeint, Crestore_pal & Crestore_film you have just a rate parameter in Crestore(), so you can output also 24fps - different easier handling and more tweakable - mt_masktools needed to run the function (included into the zip) All in all this version works significantly better than the last one. You find the downloadlink in my first post. Last edited by MOmonster; 16th August 2006 at 09:09. |
10th April 2006, 07:27 | #75 | Link |
Registered User
Join Date: May 2005
Location: Germany
Posts: 495
|
@Alain2
I don´t find the function name in my first post. But yes the last version has this name, because there was no rate parameter and I seperated the basic function into Crestore_film and Crestore_pal. But now there is only the function Crestore. @stg If you have pal material the stuttering shouldn´t be worse than before. Only in really low motion scenes the decimation don´t work so good because Crestore has only a simple patterndetection for the decimating. For anime and highmotion scenes everything runs fine for me, but on low motion scenes and sources with many edits the decimation works not so good. If you have NTSC footage you should set the rate parameter to 25. Also this function is only tested with two small NTSC samples, because I live in a pal country. If you have a source for me Crestore don´t work good on maybe you can upload a small sample. Thanks for the kind words. Last edited by MOmonster; 10th April 2006 at 08:12. |
10th April 2006, 09:16 | #76 | Link |
Registered User
Join Date: Mar 2006
Posts: 9
|
The material I was trying to encode was Star Trek TNG season 1 episodes. PAL/European release.
It seems those DVD's are not very good to begin with, and when they're encoded to XviD, they stutter a lot. Ok, I uploaded this 30mb sample. This is not even the worst case of such stuttering, but if you look at it you will see what I mean. Especially at 35 seconds, the scene in which the captain's face is shot closely. Sample: http://s37.yousendit.com/d.aspx?id=3...503ZDJVIFNRQZO If someone has encoded these episodes succesfully, I would like to know how/what parameters/etc. was in use. Last edited by stg; 10th April 2006 at 10:04. |
10th April 2006, 09:50 | #77 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,560
|
TNG PAL is probably one of the most frustrating to restore, because it's converted hybrid material, and that's always bad news. You're going to have trouble because some scenes were originally 24 fps, some were 30p, and some were 30i, all now merged into 25i. It's impossible to deinterlace that while keeping a natural framerate, which is why the xvids look so choppy. (Unfortunately I have no good suggestions on handling it, my experience mostly ends at ntsc hybrid.)
|
10th April 2006, 10:40 | #78 | Link |
Registered User
Join Date: May 2005
Location: Germany
Posts: 495
|
You said your source is a dvd, but you send a avi. I need a unprocessed sample to get the problem. If it is really so as foxyshadis said of course Crestore can´t produce a fluid output. Also restore24 will be far from perfect (but will be more fluid than Crestore). The only thing will be unblend (Cdeblend won´t work with real interlaced parts, but can result in better fluency than Crestore) + hybrid decimating, but I don´t know what tdecimate is able to do in such cases.
Last edited by MOmonster; 10th April 2006 at 10:43. |
10th April 2006, 11:39 | #79 | Link |
Registered User
Join Date: Mar 2006
Posts: 9
|
I must have had a brainfart or something, and posted .avi sample, hehe
Anyway, here's a sample from the DVD, packed with WinRAR: (had to put it to 3 packs because of the new yousendit limitations, it's total of 145 mb. Considered making a smaller sample but with this you clearly can see the stuttering) Part1: http://s38.yousendit.com/d.aspx?id=0...Y1LV0Y0TR00F03 Part2: http://s38.yousendit.com/d.aspx?id=1...2213ISRYDXMCKQ Part3: http://s38.yousendit.com/d.aspx?id=0...A1UOOIG5OQQ98G |
10th April 2006, 14:19 | #80 | Link | |
Registered User
Join Date: May 2005
Posts: 236
|
Quote:
Good function you created, works nice on a kenshin dvd I was given, better than r24rc1 (or maybe I don't know how to tweak it) ; your function eliminates the worst blends, only leaving small ones, but they are not too visible when watching at normal speed |
|
Tags |
mrestore, srestore |
Thread Tools | Search this Thread |
Display Modes | |
|
|