logo Sign In

G-Force's Stab / AVISynth help...

Author
Time

I'm not going to lie, I know absolutely nothing about this AVISynth stuff. I thought I had this figured out, but it's just giving me an error:

"TemporalSoften: RGB24 Not Supported, use ConvertToRGB32()."

I don't know if the Stab script is outdated or what, I'm using AVISynth 2.5.

I'm trying to clean up this terrible wobble in The Brave Little Toaster...I tried using DeShake, but unless that are some magic settings I have to use, it doesn't improve the wobble that much in the stationary scenes, and adds too much in the panning shots.

Maybe I'm just doing it wrong...this is what my script looks like (obviously I just took the original and added the two lines on top):

[code]##############################################################################
#Original script by g-force converted into a stand alone script by McCauley  #
#latest version from December 10, 2008                                       #
##############################################################################

AviSource("D:\Brave Little Toaster\merged2.avi")
Stab()

function Stab (clip clp, int "range", int "dxmax", int "dymax") {

range = default(range, 1)
dxmax = default(dxmax, 4)
dymax = default(dymax, 4)

temp  = clp.TemporalSoften(7,255,255,25,2)
inter = Interleave(temp.Repair(clp.TemporalSoften(1,255,255,25,2)),clp)
mdata = DePanEstimate(inter,range=range,trust=0,dxmax=dxmax,dymax=dymax)

DePan(inter,data=mdata,offset=-1)
SelectEvery(2,0) }[/code]

This signature uses Markdown syntax, which makes it easy to add formatting like italics, bold, and lists:

Author
Time

Your AVI uses the RGB24 colour space format, which is not compatible with certain filters you've used. 

Amend the first line to:

AviSource("D:\Brave Little Toaster\merged2.avi").ConvertToYUY2()

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time

"Repair: only planar color spaces are supported"

This signature uses Markdown syntax, which makes it easy to add formatting like italics, bold, and lists:

Author
Time

Oh - use ConvertToYV12() instead then.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time

Thanks, got it working now (three DLL downloads later...)

Seems like I might need to do a bit more work though, it's not catching the smoother wobble that's going on for the first 20 minutes or so.

This signature uses Markdown syntax, which makes it easy to add formatting like italics, bold, and lists: