View Full Version : Anyone have any good examples of a mini dv script.
:script: pretty please. I curious also if anyone touchs in color correction lightly as it is hard to get decent results.
thoralf
13th July 2004, 12:14
Originally posted by gavo
:script: pretty please. I curious also if anyone touchs in color correction lightly as it is hard to get decent results.
I'm not sitting on my econding machine right now, but if I remember correctly, I'm usually doing light mergechroma and mipsmooth to get a good picture. The stream from the Sony dv cam I'm using is usually quite noisy (especially the colour information), so filtering is a must ... I'll post my complete script asap.
gavo
13th July 2004, 20:50
thank you very much. It is very apperated. I thank you very much for your time.
gavo
13th July 2004, 22:48
IF you could also post the whole script includeing the loadplugin commands that would be also greatly apperated.
thoralf
15th July 2004, 12:11
here we go:
LoadPlugin("C:\PROGRA~1\AviSynth 2.5\Plugins\Undot.dll")
LoadPlugin("C:\PROGRA~1\AviSynth 2.5\Plugins\MipSmooth.dll")
LoadPlugin("C:\PROGRA~1\AviSynth 2.5\Plugins\WarpSharp.dll")
LoadPlugin("C:\PROGRA~1\AviSynth 2.5\Plugins\KernelDeInt.dll")
avisource("C:\Video\CamCapture.avi")
ConvertToYV12
KernelDeInt(order=1,sharp=true)
Undot()
Temporalsoften(2,3,3,mode=2,scenechange=6)
mergechroma(blur(1.3))
MipSmooth(preset="Movie")
XSharpen(30,40)
Well, 2 smoothing filters followed by a sharpening one seems a liitle odd, but the result is looking quite good ... The mergechroma filter helps to get rid of this annoying colour flickering my dv cam is producing.
I use this script to encode to xvid (single pass with fixed quant=3) to save hd space.
Hope this helps,
Thoralf.
gavo
15th July 2004, 20:30
thank you so much you dont now how appeateed I am.
Give me I pm if you would like a account pass on my ftp:D
Video Dude
16th July 2004, 04:41
Originally posted by thoralf
LoadPlugin("C:\PROGRA~1\AviSynth 2.5\Plugins\Undot.dll")
LoadPlugin("C:\PROGRA~1\AviSynth 2.5\Plugins\MipSmooth.dll")
LoadPlugin("C:\PROGRA~1\AviSynth 2.5\Plugins\WarpSharp.dll")
LoadPlugin("C:\PROGRA~1\AviSynth 2.5\Plugins\KernelDeInt.dll")
avisource("C:\Video\CamCapture.avi")
ConvertToYV12
KernelDeInt(order=1,sharp=true)
Undot()
Temporalsoften(2,3,3,mode=2,scenechange=6)
mergechroma(blur(1.3))
MipSmooth(preset="Movie")
XSharpen(30,40)
That script is wrong for DV.
DV is interlaced and bottom field first.
Use ConvertToYV12(interlaced=true) if you put it before KernelDeInt.
But you should avoid color conversions before KernelDeint.
And since DV is bff it would be, KernelDeInt(order=0), not KernelDeInt(order=1)
Only use KernelDeInt if you plan to view you final output file on your PC. If you use KernelDeInt and view it on the TV the edges will be messed up and the motion will be jerky. Tv needs interlace and KernelDeInt will deinterlace it. If TV is your goal and you skip KernelDeInt, don't use Undot or MipSmooth as they are not interlaced aware.
gavo
16th July 2004, 09:05
Also is KernelDeInt(order=0), the only thing I need to fix on that script if I watching it on a pc deinterlaced. Should I deinterlace if it on a pc projected. What filters would you suggest for pure interlaced footage, but what if you deinterlace and then use the footage. Wouldn't that work then:?
Originally posted by Video Dude
That script is wrong for DV.
It has some bugs indeed.
Originally posted by Video Dude
DV is interlaced and bottom field first.
There's progressive DV video, too :)
But yes, if DV is interlaced, it should be bff.
Originally posted by Video Dude
Use ConvertToYV12(interlaced=true) if you put it before KernelDeInt.
But you should avoid color conversions before KernelDeint.
Correct. I wouldn't convert to YV12, though. Remember to use ReInterpolate411() for NTSC sources.
Originally posted by Video Dude
And since DV is bff it would be, KernelDeInt(order=0), not KernelDeInt(order=1)[...]
Correct.
Originally posted by Video Dude
[...]If TV is your goal and you skip KernelDeInt, don't use Undot or MipSmooth as they are not interlaced aware.
Yes, but you can treat each field separately, as described in the "DV to DVD" guide.
bb
@ Video Dude: :)
@ all:
It is important to treat the different scenes in a DV video according to their need, i.e. you should make extensive use of Trim commands in AviSynth. E.g. the low light shots typically show much more noise, with a great deal of chroma noise, than bright light shots, thus you need different levels of filtering.
I suggest to collect DV chroma denoise scripts here, too. There are different ways of dealing with this often requested problem, so please feel free to post your scripts.
bb
thoralf
16th July 2004, 13:58
Hi guys,
thank you for correcting my script ... I appreciate your input.
gavo
16th July 2004, 20:44
I didn't now you could cut to different scenes in avistyn thank you. Also though I use tweak for color correction is the other one you speak of supeior.
gavo
19th July 2004, 08:07
what is the command to cut scenes. I now there is trim but I wondering how you trim muitple scenes and put it all together. Also curious if it better to do filtering first and then deinterlaceing or the other way around?
Wilbert
19th July 2004, 15:45
You should take a look at the analog cap guide (avisynth postprocessing part). It's not really about DV, but it gives you an idea of the filters you need to/can apply and in what order.
arman68
19th July 2004, 23:40
<off topic>
gavo, could you please get rid of your signature? I think it much too big.
</off topic>
Valky
2nd September 2004, 10:57
Originally posted by Video Dude
That script is wrong for DV.
Use ConvertToYV12(interlaced=true) if you put it before KernelDeInt.
And since DV is bff it would be, KernelDeInt(order=0), not KernelDeInt(order=1)
Is this the case also when capturing from analog-source to DV-tape and then scripting it?
Also, what about TomsMoComp parameters? Since it has gave me good results before, it might work also with DV-source.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.