Sharpening Parameters of LimitedSharpenFaster()
Hi,
I am currently resizing my DV captures from holidays last year and have been using this script which has been pretty good: LoadPlugin("C:\Program Files\Avisynth 2.5\Plugins\MT_MaskTools.dll") LoadPlugin("C:\Program Files\Avisynth 2.5\Plugins\MaskTools.dll") LoadPlugin("C:\Program Files\Avisynth 2.5\Decoders\MPEG2Dec3.dll") mpeg2source("C:\Shamoo1.d2v",cpu=4,idct=7) SeparateFields() ConvertToYV12() LRemoveDust_YV12(17,1) LimitedSharpenFaster() LanczosResize(720,224,10,35,700,218).Weave() AddBorders(0,64,0,64) #Trim(0,11920).FadeOut(150) I would like however to sharpen a bit more without becoming overly sharpened. Could any member possibly suggest parameters for LimitedSharpenFaster(?) or any other suggestions. The captures were from a JVC GR-D21EK MiniDV camera. Secondly as the camera captures in full screen mode I noticed when capturing to disk that the foorage had small horizontal lines eminating from people on occasion in the footage, something like once every four of five frames. This seems to have smoothed out periodly but is still there occasionally. What are these lines from? DVD2AVI states the footage is PAL 25fps Interlaced material. Thanks. Blubear :roll: |
1/Remove the "cpu=4" parameter of the Mpeg2Source line. DV codec is not as comrpessed as DVD and you can avoid the deblocking.
2/ reverse the order of the lines : Lanczos then LSharpen then LRemoveDust. 3/ why do you resize to 720 ? Use 704 it's enought and better. |
I think his camera burns the video directly on a mini-DVD as he uses MPEG2Source, so the deblocking is probably a good thing to use.
He's also destroying the source by separating the fields, then filtering and resizing and weaving the fields back. It'll look like crap that way. |
Quote:
|
Thanks all,
Guess i must have been doing something wrong, so for instance what should my script look like please? Thanks, Blubear. |
Hi,
Oh yeah sorry Guys forgot to mention my camera captures to DV Tape and has no option to burn directly to DVD. Its one of those palm sized Mini DV camera's. Hope you guys can help. Thank you. Blubear :( |
Code:
LoadPlugin("C:\Program Files\Avisynth 2.5\Decoders\MPEG2Dec3.dll") |
First of all, why do you use MPEG2Source for loading the source? You should get an AVI file out of the camera if it uses DV tapes. This AVI file should be loaded with AVISource.
Download and install this : http://neuron2.net/misc/cedocida016.zip . It's installed by extracting the files to a temporary directory, then right-clicking on the .inf file and choosing "Install". Set it up so that the decoder YV12 chroma sampling is "MPEG2 interlaced". You can find the settings at Device manager->Sound, video and game controllers->Video codecs->Properties->Cedocida DV codec (doubleclick)->Settings. Also make sure that the decoder is forced to output YV12. Now try this script (you need the original AVI file from the camera): Code:
AVISource("path\clip.avi") If you want more speed sacrificing quality a bit, you can use LeakKernelBob(order=0,sharp=true,threshold=4) instead of TDeint. Then you'll need LeakKernelDeint.dll. Depending on your encoder, you possibly need to convert the colorspace in the script. The conversion line must be placed right before the second AssumeBFF statement. Encode as interlaced, top field first. |
Quote:
|
Nope,
AssumeBFF().SeparateFields().SelectEvery(4,1,2).We ave() simply changes the field order to TFF. If you used SelectEvery(4,0,3), the field order would remain BFF. I chose TFF since many encoders seem to expect that by default. |
8O i always thought first clean video and then sharpen? Otherwise you'll be sharping the noise. In the documentation of limitedsharpen it is also adviced to use denoiser first.
|
Quote:
http://www.kvcd.net/forum/viewtopic....sharpen#123943 |
I've noticed that it depends on the source. Some look better when denoising first, some better when sharpening first. I still think that the denoising artifacts are one deciding factor, especially the ones that come from too strong temporal denoising.
|
I've splitted the thread at the begining of the "interlacing" discussion. See there :
http://www.kvcd.net/forum/viewtopic.php?t=16652 |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.