Log in

View Full Version : Custom Script for CCE SP2 v1.00.00.18


xbox360
29th September 2007, 11:17
I am using this script to convert PAL to NTSC.

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SmoothDeinterlacer.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
Mpeg2Source("D:\ConvertXtoDVD\Making Marriage Work For Dummies\VRMOVIE1.d2v").ConvertToYV12
Bob(height=480)
BicubicResize(720,480,0,0.5)
ChangeFPS(60000, 1001)
SeparateFields.SelectEvery(4,0,3)
Weave
Tweak(0.0, 1.8, 0.0, 1.2)
Sharpen(0.25)

How do I add SeeSaw Script to my current script ?

Question :

In this link below it say's,
http://forum.doom9.org/showthread.php?t=104701&highlight=seesaw+download

Call it from your script like this:

a= last

b=a.yourfavoritedenoiser()

SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)


a= last means what ?

b=a.yourfavoritedenoiser() means I need a denoiser or it comes with Seesaw download link ? what denoiser should I use ?

Didée
29th September 2007, 12:24
Before even thinking about using SeeSaw, consider this:

blankclip(width=720,height=576).converttoyv12()
subtitle("This is some text:", x=48, y=24,size=20)
subtitle("By playing this, you can see what your too-simple normconversion script", x=48, y=64, size=20)
subtitle("is doing to the static (no motion) parts of your footage:", x=48, y=96, size=20)
subtitle("they are flickering like hell !!", x=48, y=136, size=20)

Bob(height=480)
BicubicResize(720,480,0,0.5)
ChangeFPS(60000, 1001)
SeparateFields.SelectEvery(4,0,3)
Weave
Tweak(0.0, 1.8, 0.0, 1.2)
Sharpen(0.25)

xbox360
30th September 2007, 05:44
Dear Didée,i ask a question because I expect a solution !. Not to be mocked with the like's of your kind. I hope you could suggest another custom script if mine is really that bad. Thank you.

Guest
30th September 2007, 05:57
You could try DGPulldown for PAL to NTSC, because you are clearly encoding an M2V. It would be good for film but for pure video it won't be as satisfactory, because you'd have to deinterlace, as DGPulldown works only on progressive sources.

'last' just returns the current video clip that would be returned if you exited the script at that point.

'Your favorite denoiser' is pretty clear to me. Have you ever used a denoiser?

xbox360
30th September 2007, 06:01
Dear neuron2, can you please make a step by step guide for noob's like me, please & thank you very very much. Also my PAL is 25fps Interlace.

Guest
30th September 2007, 06:14
Is your source a PAL DVD? If so, it is 25 fps. Please clarify.

xbox360
30th September 2007, 06:23
I am using a Sharp DV-HR300 to Record programs from Satelite, so the Output is usually 25fps Interlaced.

Guest
30th September 2007, 06:38
That's a DVD recorder, right? If so, it's 25fps. Would you like to post a piece of an unprocessed source VOB?

The document that comes with DGPulldown has a step-by-step procedure. There are also some good guides you can find with Google. But as I said, if your stream is really pure interlaced it won't be a good solution.

xbox360
30th September 2007, 13:24
But I still want to add this to my video:
Tweak(0.0, 1.8, 0.0, 1.2)
Sharpen(0.25)

I will try my best to upload a .mpg file of the recorded video, i am using a cybercafe.

Didée
30th September 2007, 14:30
xbox360 - If you don't like my mocking, just ignore it. :)

My point is this:

SeeSaw is sandpaper with very fine grain. If you use 400ish sandpaper on raw sawed wood, you will get nowhere.
And currently, you're sawed wood is very rough ...

---

There is no such thing as "the" solution. The correct solution depends on the actual kind & characteristics of your input material.

And since you're not even clear on the kind of your input (mind you, "interlaced 50fps" does not exist), suggesting a solution is not easy.

Fact: you record PAL footage over DVB-S.

This footage may be ...

a) progressive
b) progressive, [dynamically-] phase-shifted
c) true interlaced
d) fieldblended NTSC->PAL normconversion
e) other kind of NTSC->PAL normconversion

Cases b) to e) all appear as "interlaced", however each of them has different characteristics, and has to be treated differently.
And BTW, even the fully progressive case a) is actually "interlaced", in that sense that the progressive content has been encoded with the encoder set to interlaced mode. (Digital broadcasting usually is set up this way.)

Technically, PAL over DVB-S is always "25i".


Now, the conversion script you posted has the advantage that a single script can deal with all of these cases.

However, it has the disadvantage that for all of these cases, it produces a result of much lower quality than what you *could* get out of the actual footage, if you used an *appropriate* script for the actual case.

The fact that you're using a DVD recorder makes things not easier. I remember time ago, on the German Doom9/Gleitz forum we had to struggle endlessly with the problems a member had with improving his captures he did with a DVD recorder. After half a year, he switched to stream grabbing through a capture card ... he was pleased of how much the quality improved & of how much problems disappeared, ... we were pleased of having so much less unneccessary "problems" to "solve".

---

To answer your Q How do I add SeeSaw Script to my current script ?

Just import RemoveGrain.dll (v1.0!!), repair.dll and mt_masktools.dll.

Then you can just put

SeeSaw()

anywhere in your script where you feel like it.


However, when you're not respecting the characteristics of your input, SeeSaw might do nothing useful, or it might even degrade your footage.


There is no way around "one has to understand what one's doing", sorry.

xbox360
1st October 2007, 02:31
Just import RemoveGrain.dll (v1.0!!), repair.dll and mt_masktools.dll.

Can you please show me the download link for these plugins, please. thank you.

Adub
1st October 2007, 03:23
Use google, or the integrated search function in these forums.

xbox360
1st October 2007, 04:19
Here is a piece of an unprocessed source ! as requested by neuron2

http://rapidshare.com/files/59426521/VR_MOVIE3.rar.html

Please help me as soon as possible, thank you.

Guest
1st October 2007, 05:19
It's *25fps* pure interlaced video, so DGPulldown will not look good. Your conversion script is not so bad, especially given that the content doesn't contain anything that produces bad flicker. Anything better will be really slow.

I would use a better bob, though, such as sbdeint().

xbox360
5th October 2007, 02:43
Copy and paste the Seesaw code into notepad, name it Seesaw, save it in the avisynth plugins folder.
Change the .txt extension to .avsi by opening the tools tab in the avisynth folder, folder options, Uncheck "Hide extensions for known types".

Then in your script put this:

Import("x:\SeeSaw.avsi")