Help Making Scripts For New & Old Sources Pics Inside:

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Location: North Cackalacky
Contact:
Org Profile

Re: Help Making Scripts For New & Old Sources Pics Inside:

Post by Zarxrax » Sat Oct 15, 2011 10:24 am

Technically, grain is detrimental to the editing process.
*Insert freeze frame effect* "Hey! my grain stopped moving! Herp derp!"

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Help Making Scripts For New & Old Sources Pics Inside:

Post by mirkosp » Sat Oct 15, 2011 10:57 am

Zarxrax wrote:Technically, grain is detrimental to the editing process.
*Insert freeze frame effect* "Hey! my grain stopped moving! Herp derp!"
Considering that most of the time the grain they add is STATIC, I don't see how freezeframe can be an issue. At most I could see how zooms/pans could be odd. But the solution is simply to hide the grain with more static grain after editing. A slight amount will suffice, and it will actually give the video more cohesion.
Grain is the last logical step in the chain. Adding more after the video is exported won't be an issue. Its exact displacement is of no matter either, and good grain generally isn't quite visible enough to allow you to be like "oh hey, I can distinctly see the grain!" more like you see hints of it in the right places and overall gives the image a more sharp and detailed look.
Image

User avatar
TEKnician
Joined: Thu Mar 04, 2010 4:40 pm
Status: Not reading the spoilers or manga
Location: Smack in the middle of the Pacific Ocean
Org Profile

Re: Help Making Scripts For New & Old Sources Pics Inside:

Post by TEKnician » Sat Oct 15, 2011 9:15 pm

Code: Select all

tfm.tdecimate
works well too, right?
Almost as hard as fighting a Holy Paladin.

User avatar
TEKnician
Joined: Thu Mar 04, 2010 4:40 pm
Status: Not reading the spoilers or manga
Location: Smack in the middle of the Pacific Ocean
Org Profile

Re: Help Making Scripts For New & Old Sources Pics Inside:

Post by TEKnician » Sun Oct 16, 2011 1:44 am

I wrote:

Code: Select all

tfm.tdecimate
works well too, right?
ASSUMING your anime is telecined, of course (i just remembered)
Almost as hard as fighting a Holy Paladin.

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: Help Making Scripts For New & Old Sources Pics Inside:

Post by Mister Hatt » Sat Oct 22, 2011 3:41 am

You can of course BLRRGAG your freezeframes, which imo everyone should do when ff'ing moving grain. That is to say, clean it right the fuck up and then re-add your grain manually using the previous frames as a grain size and vector metric.

xekon
Joined: Thu Jul 07, 2011 9:25 pm
Org Profile

Re: Help Making Scripts For New & Old Sources Pics Inside:

Post by xekon » Fri Oct 28, 2011 7:02 pm

here is a script i use on some pretty bad sources:

fluxsmoothST(5,5)
strength = 4
fft3dgpu(bw=8, bh=8, ow=4, oh=4, plane=0, bt=1, sigma=strength)
fft3dgpu(bw=256, bh=256, ow=128, oh=128, plane=0, bt=1, sigma=strength/8, sigma2=strength/4, sigma3=strength/2, sigma4=strength)
fluxsmoothT(3)
ttempsmooth(maxr=7)
AutoCrop(0,2,2,0,0,0,0,30,5,0,-1,0)
AWarpSharp2(128,4,0,44)
DeHalo_alpha(brightstr=2, ss=2.0)

If your gpu is older, you may want to trade out fft3dgpu for fft3dfilter, the 44 in AWarpSharp2 controls the line thinning(depth), decrease for less thinning.

you can actually preview the results as you edit the script if you use AvsP. best advice I can give is to load the script up in AvsP, and try commenting things out and changing values till you see what you like. In AvsP after you open a script just press F5 to load the preview window. When you make a change to the script and save it, just press F5 again or change the frame number by one frame.

xekon
Joined: Thu Jul 07, 2011 9:25 pm
Org Profile

Re: Help Making Scripts For New & Old Sources Pics Inside:

Post by xekon » Sat Oct 29, 2011 9:40 pm

it appears I cannot edit my above post. Anyway, I forgot to mention one thing.
Depending on the source that level of denoising should clean it up, but you may encounter banding add GradFun3 to take care of banding:

Code: Select all

fluxsmoothST(5,5)
strength = 4
fft3dgpu(bw=8, bh=8, ow=4, oh=4, plane=0, bt=1, sigma=strength)
fft3dgpu(bw=256, bh=256, ow=128, oh=128, plane=0, bt=1, sigma=strength/8, sigma2=strength/4, sigma3=strength/2, sigma4=strength)
fluxsmoothT(3)
ttempsmooth(maxr=7)
AutoCrop(0,2,2,0,0,0,0,30,5,0,-1,0)
AWarpSharp2(128,4,0,44)
DeHalo_alpha(brightstr=2, ss=2.0)
GradFun3(0.3)
Only problem is this is a rather slow script, but when it comes to filtering the more quality you get, the more speed you have to give up.

User avatar
TEKnician
Joined: Thu Mar 04, 2010 4:40 pm
Status: Not reading the spoilers or manga
Location: Smack in the middle of the Pacific Ocean
Org Profile

Re: Help Making Scripts For New & Old Sources Pics Inside:

Post by TEKnician » Mon Oct 31, 2011 1:02 pm

I thought Birdy was...oh, never mind. "Birdy the Mighty: Decode" and "Decode 2" was better quality.

Try check out THIS HELPFUL LITTLE GUIDE for filter suggestions and identifying certain defects.
Almost as hard as fighting a Holy Paladin.

Locked

Return to “AviSynth Help”