If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
anti-shake post-filter for video?
A lot of cameras these days - both still and video - have some sort of
"anti-shake" facility. I presume they work by having a sensor somewhat larger than nominal, doing some sort of frame-to-frame correlation, and discarding bits around the edge. Anyone know of something that will apply anti-shake to already-captured videos? Obviously if it exists, it'll result in a final clip of lower resolution as it discards the margins, and I don't know how it would handle scene changes. -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf "I'm not against women. Not often enough, anyway." - Groucho Marx |
Ads |
#2
|
|||
|
|||
anti-shake post-filter for video?
"J. P. Gilliver (John)" wrote in message
... A lot of cameras these days - both still and video - have some sort of "anti-shake" facility. I presume they work by having a sensor somewhat larger than nominal, doing some sort of frame-to-frame correlation, and discarding bits around the edge. Anyone know of something that will apply anti-shake to already-captured videos? Obviously if it exists, it'll result in a final clip of lower resolution as it discards the margins, and I don't know how it would handle scene changes. I've seen something like this in Adobe Premiere Elements 11. It seemed to do a surprisingly good job with some video that my wife shot of penguins on a beach, both from land and from a Zodiak RIB (small inflatable boat). The movement was slower, smaller amplitude and less noticeable compared with rapid, random shaking. It is a harder job because it can't rely just on accelerometers in the camera to determine amount of movement (and therefore correction needed) but must also examine the image to keep certain objects static in the frame. |
#3
|
|||
|
|||
anti-shake post-filter for video?
On 29/04/2019 13:37:43, J. P. Gilliver (John) wrote:
A lot of cameras these days - both still and video - have some sort of "anti-shake" facility. I presume they work by having a sensor somewhat larger than nominal, doing some sort of frame-to-frame correlation, and discarding bits around the edge. Anyone know of something that will apply anti-shake to already-captured videos? Obviously if it exists, it'll result in a final clip of lower resolution as it discards the margins, and I don't know how it would handle scene changes. Never used this so cannot comment on its usefulness https://www.ashampoo.com/en/usd/pin/...-stabilization other software https://filmora.wondershare.com/vide...-software.html https://windowsreport.com/video-stab...re-windows-10/ -- mick |
#4
|
|||
|
|||
anti-shake post-filter for video?
|
#5
|
|||
|
|||
anti-shake post-filter for video?
J. P. Gilliver (John) wrote:
A lot of cameras these days - both still and video - have some sort of "anti-shake" facility. I presume they work by having a sensor somewhat larger than nominal, doing some sort of frame-to-frame correlation, and discarding bits around the edge. Anyone know of something that will apply anti-shake to already-captured videos? Obviously if it exists, it'll result in a final clip of lower resolution as it discards the margins, and I don't know how it would handle scene changes. Out of an abundance of laziness (untested)... http://blog.gregzaal.com/2014/05/30/...n-with-ffmpeg/ ffmpeg -i input.mov -vf deshake output.mov https://www.imakewebsites.ca/posts/2...-and-vid.stab/ # two pass encoding, bitrate placed in like-named logfile, vid.stab method places vectors in extra log. # compressor tuned for "film" ffmpeg -t 5 -i GOPR7182.MP4 -vf vidstabdetect=stepsize=32:shakiness=10:accuracy=10 :result=transform_vectors.trf -f null - ffmpeg -t 5 -i GOPR7182.MP4 -y -vf vidstabtransform=input=transform_vectors.trf:zoom= 0:smoothing=10,unsharp=5:5:0.8:3:3:0.4,scale=480:-1 -vcodec libx264 -tune film -an stabilized.mp4 HTH, Paul |
#6
|
|||
|
|||
anti-shake post-filter for video?
In message , mick
writes: On 29/04/2019 13:37:43, J. P. Gilliver (John) wrote: A lot of cameras these days - both still and video - have some sort of "anti-shake" facility. I presume they work by having a sensor somewhat larger than nominal, doing some sort of frame-to-frame correlation, and discarding bits around the edge. Anyone know of something that will apply anti-shake to already-captured videos? Obviously if it exists, it'll result in a final clip of lower resolution as it discards the margins, and I don't know how it would handle scene changes. Never used this so cannot comment on its usefulness https://www.ashampoo.com/en/usd/pin/...re/video-stabi lization $15. I could afford that, but needless to say freeware is nicer. other software https://filmora.wondershare.com/vide...tabilizer-soft ware.html Thanks, that's a good list. In particular, it mentions the Deshaker plugin for VirtualDub (http://www.guthspot.se/video/deshaker.htm); the embedded video also mentions the FFInputDriver plugin that enables VirtualDub to read a lot more formats, including .mp4 (https://codecpack.co/download/FFInputDriver.html). Since I'm familiar with VirtualDub, I'm trying that. [It is _crawling_ - about one frame every 3 seconds, and that's just the first pass!; however, it's hardly using any CPU, so I presumably have to find some setting to let it have more.] https://windowsreport.com/video-stab...re-windows-10/ I'm on 7, but I had a look anyway: seems to cover much (possibly exactly) the same softwares as the above list (including the VirtualDub plugin). [I posted in 7 and XP as I guessed anything that works in XP would probably work in 7, probably quickly.] Thanks for the links. -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf The breathtaking wonders of nature revealed to the soothing tones of Sir David Attenborough. Life doesn't get much better than that. - Ben Preston, Radio Times editor (2016/11/26-12/2) |
#7
|
|||
|
|||
anti-shake post-filter for video?
In message , Reinhard
Skarbal writes: [] Hi John Microsoft MovieMaker can do this. In my german version I choose VideoTools/Bearbeiten/Videostabilisierung/Bildstabilisierung Regards Reinhard Vielen Dank; I might give it a look if DeShaker or ffmpeg don't work out -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf The breathtaking wonders of nature revealed to the soothing tones of Sir David Attenborough. Life doesn't get much better than that. - Ben Preston, Radio Times editor (2016/11/26-12/2) |
#8
|
|||
|
|||
anti-shake post-filter for video?
In message , Paul
writes: [] Out of an abundance of laziness (untested)... http://blog.gregzaal.com/2014/05/30/...n-with-ffmpeg/ ffmpeg -i input.mov -vf deshake output.mov Is there anything your beloved ffmpeg can't do! Thanks for that. I've tried it, on the same file VirtualDub/DeShake is pounding away at; it rattled through it at about 10 frames per second (VD/DS about one frame every two to four seconds!). Looking at the result (about three times the size of the input .flv file), I'm not sure; I do notice it's the same size (in pixels) as the input, and occasionally I can see along the edges (bottom and right, at least) a sort of sometimes tearing (like from a videotape), sometimes folding. https://www.imakewebsites.ca/posts/2...gopro-video-wi th-ffmpeg-and-vid.stab/ I'll have a look at that later perhaps (-: # two pass encoding, bitrate placed in like-named logfile, vid.stab method places vectors in extra log. # compressor tuned for "film" [] -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf The breathtaking wonders of nature revealed to the soothing tones of Sir David Attenborough. Life doesn't get much better than that. - Ben Preston, Radio Times editor (2016/11/26-12/2) |
#9
|
|||
|
|||
anti-shake post-filter for video?
J. P. Gilliver (John) wrote:
In message , Paul writes: [] Out of an abundance of laziness (untested)... http://blog.gregzaal.com/2014/05/30/...n-with-ffmpeg/ ffmpeg -i input.mov -vf deshake output.mov Is there anything your beloved ffmpeg can't do! Thanks for that. I've tried it, on the same file VirtualDub/DeShake is pounding away at; it rattled through it at about 10 frames per second (VD/DS about one frame every two to four seconds!). Looking at the result (about three times the size of the input .flv file), I'm not sure; I do notice it's the same size (in pixels) as the input, and occasionally I can see along the edges (bottom and right, at least) a sort of sometimes tearing (like from a videotape), sometimes folding. https://www.imakewebsites.ca/posts/2...gopro-video-wi th-ffmpeg-and-vid.stab/ I'll have a look at that later perhaps (-: # two pass encoding, bitrate placed in like-named logfile, vid.stab method places vectors in extra log. # compressor tuned for "film" [] In the second example, you can see the same options embodied in this software. Which suggests someone "dressing up" FFMPEG in a GUI housecoat. https://www.thewindowsclub.com/video...lizer-software shakiness 5 accuracy 15 stepsize 6 mincontrast 0.3 smoothing 10 ******* Someone here addresses stabilizing a bicycle video. (Sheldon passed away some years ago, so others run the site now, and there never used to be advertising.) https://www.sheldonbrown.com/deshaker.html Paul |
#10
|
|||
|
|||
anti-shake post-filter for video?
In message , Paul
writes: [] In the second example, you can see the same options embodied in this software. Which suggests someone "dressing up" FFMPEG in a GUI housecoat. https://www.thewindowsclub.com/video...eo-stabilizer- software Hmm, homepage http://www.av2video.com/video-deshake.htm - or if you look at http://www.av2video.com/, there's also a utility for removing unchanging stretches (from, e. g., CCTV captures). shakiness 5 1-10 accuracy 15 1-15 stepsize 6 mincontrast 0.3 0-1 smoothing 10 The figures shown are the defaults. Unusually (but works well here), the function of each setting is explained on the settings page itself. ******* I tried it with the defaults; it certainly runs quite fast. I think it can also output in a range of formats - unless "Video Format Converting" is for setting the input format, but ffmpeg seems quite good at detecting that anyway. The output without "Video Format Converting" ticked was a .flv file, but that could have been because the input was a ..flv file. Someone here addresses stabilizing a bicycle video. (Sheldon passed away some years ago, so others run the site now, and there never used to be advertising.) https://www.sheldonbrown.com/deshaker.html Paul Describes the DeShaker filter for VirtualDub again, with many tips specific to bicycle-shot video (helmet or bike mounted). -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf That's how he [Dr. Who] seems to me. He's always been someone who gets the /Guardian/. There are some parts of the universe where it's harder to get hold of. - Peter Capaldi (current incumbent Doctor), RT 2016/11/26-12/2 |
Thread Tools | |
Display Modes | |
|
|