Hi All,
I'm looking for the simplest way to deshake a handycam video file. The main challenges I'm facing with this file are:
Given these challenges, which VirtualDub or Avisynth image stabiliser/deshaker would you recommend for this job?
- The file contains multiple segments. Some stable ones shot in landscape mode from a tripod, and shaky hand-held ones shot at high zoom levels. I would prefer not to apply deshaking to segments that don't need it. As far as I know (most) VirtualDub filters can't be applied to multiple range selections. It seems that selectively applying deshaking would require multiple passes, intermediate files or chained frameservers in VirtualDub, or multiple trims in Avisynth. I do favour VirtualDub's linear editing
, but would make the trims in Avisynth if a professional result requires it.
- The source file contains interlaced YV12 video and I would like to avoid colourspace conversions as far as possible. Again, I understand that VirtualDub filters operate in the RGB32 colourspace only.
It also appears that deinterlacing is recommended before deinterlacing. Assuming that the final product also requires resizing, what workflow would you then recommend?
Thanks,
Francois
+ Reply to Thread
Results 1 to 9 of 9
-
-
No way to tell without a sample. Maybe something as simple as AviSynth's Stab, maybe something more complex.
The source file contains interlaced YV12 video and I would like to avoid colourspace conversions as far as possible. Again, I understand that VirtualDub filters operate in the RGB32 colourspace only.
...or multiple trims in Avisynth.
http://avisynth.org/stickboy/
Assuming that the final product also requires resizing, what workflow would you then recommend? -
This is just my opinion, based on my limited experience:
The choice is simply whether depanstabilise (AVIsynth) or deshaker (VirtualDUB) does a better job of deshaking your video. Lots of parameters to twiddle before you can be sure, but I usually find that one works far better than the other, depending on the actual shaking I'm trying to remove.
Once you see which one is better, use that. The difference in deshaking abilities dwarfs the AVIsynth vs VirtualDUB workprocess differences - you'll just have to put up with those for the sake of getting decent deshaking (unless you're lucky enough to get decent deshaking with both).
Cheers,
David. -
-
Good to hear from you again, Manono. Here's an example of one of the more extreme cases of camera shake:
http://www.mediafire.com/file/qcx3ix71kbh9ovp/Sony_DCR-TRV330_PAL_DV_Sample.avi
Maybe something as simple as AviSynth's Stab, maybe something more complex.
Code:function Stab (clip clp, int "range", int "dxmax", int "dymax") { ... 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) }
So, a VDub solution doesn't interest you?
I'll evaluate both Avisynth's and VirtualDub's options, thanks David.
How do you suggest sharp scene transitions be handled? Process the segments either side separately, or also just suck it and see? -
*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
-
Stab() would require deinterlacing but it won't work for that video. It's for very small shakes, only a few pixels, like you get with film projector bounce.
-
Don't these filters have proper scene detection built in? I'm sure it's worked for me.
As for the scenes that don't need deshaking, I'd chop the file up, or use trim, or use applyrange, or....
I would not deshake the scenes that don't need it. waste of time, reduction in quality, and possibility of getting extra unwanted movement due to "correction".
It's inevitable that you need to deinterlace interlaced video to deshake it. Where you don't, it's because the deshake filter is deinterlacing and re-interlacing internally. And despite what it says in the manual, I don't think it does a very good job of deinterlacing - so using a better deinterlacer like QTGMC can give visibly better results. It depends how much shaking and bluring there is of course - but I had a video with fast shutter speed and lots of shaking (so sharp but juddery) and better deinterlacing helped a lot.
Cheers,
David. -
Hi everyone,
Just to report back that the project has been a great success! A huge, sincere, Thank You to everyone for their contributions to this thread (and elsewhere on this forum where I picked up valuable info too). I am absolutely thrilled with the outcome and very grateful for your help.
In case you're interested, for now I went with VirtualDub and Deshaker instead of Avisynth and DePan. Mainly because I'm more au fait with VirtualDub I tried that combination first, and it worked brilliantly enough for me to continue with it. I wanted to slightly sharpen the result, but that messed things up somewhat when reinterlacing was included. So after sharpening I left the output at double framerate progressive and it looks great.
Speaking of VirtualDub and Deshaker, of course huge Thanks to Gunnar for Deshaker and Avery and the rest at VirtualDub too. Your efforts are sincerely appreciated. VirtualDub's well-thought-out functionality, accuracy and speed never cease to amaze me, and as far as Deshaker's cleverness and achievements are concerned, I honestly cannot say how very much impressed I am.
Best regards,
Francois
Similar Threads
-
Any way to use DESHAKER in AviSynth?? (searched)
By RogerTango in forum EditingReplies: 12Last Post: 18th Sep 2014, 15:00 -
VirtualDub/Deshaker trouble
By she-ra in forum Newbie / General discussionsReplies: 2Last Post: 10th Oct 2012, 08:12 -
Virtualdub with Deshaker problem
By snafubaby in forum Newbie / General discussionsReplies: 4Last Post: 20th Aug 2011, 09:39 -
Problem when using Deshaker Virtualdub filter
By snafubaby in forum Newbie / General discussionsReplies: 1Last Post: 4th Jul 2011, 00:41 -
Virtualdub Deshaker filter has ceased to work
By MrPerson in forum EditingReplies: 0Last Post: 29th Apr 2009, 00:04