Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th September 2019, 10:41   #1  |  Link
Sultanow
Registered User
 
Join Date: Sep 2019
Posts: 1
Remove shakiness from underwater dive video

Dear experts,
with my new Paralenz I did some dive videos in Marseille. I like these very much, except for one weak point: short strong shaking (probably caused by the current). I would like to optimize the following video cut – a nice scene, which comprises 70 seconds (feel free to use and experiment with it):
http://sultanow.info/public/dive/MOV_0008_cut.mp4

Using VirtualDub (and the Deshaker Plug-In) I tried different configurations, read related posts including
https://forum.doom9.org/showthread.php?t=176498
https://www.sheldonbrown.com/deshaker.html

After applying different configurations (which all does not improved the video), I tried the following configuration:



After "Run Video Analysis Pass" using the "Pass 1" configuration shown in the screenshot above, I added a "Pass 2" configuration :



The result of saving the file did not provide any improvements.

Please note : I do not care about the black borders that result from panning/rotating – these are not an issue for me and I will simply remove these later by cropping the result video.

It would be great, if anyone has an idea, which configuration might the most promising one.

Best
Eldar

Last edited by Sultanow; 15th September 2019 at 11:02.
Sultanow is offline   Reply With Quote
Old 15th September 2019, 17:53   #2  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 698
Tried something, the ideas:
1. mask out the static text with a picture
2. boost contrast with levels, it helped to detect vectors in some areas
3. lower some thresholds because detection is quite poor, you need as much acceptable vectors as possible
4. apply for rolling shutter, I think this is what ruins motion for example near frame 400, but I'm not sure what value to use and whether it is recoverable at all.
In any case, the video also is blurry in quick shaking areas. Not much possible IMO.

Code:
VirtualDub.video.filters.Add("fflayer");
VirtualDub.video.filters.instance[0].Config(0,0,1,"E:\\shift_dev\\crash\\MOV_0008_cut.png",0,0,1);
VirtualDub.video.filters.Add("levels");
VirtualDub.video.filters.instance[1].Config(0x2EC4,0x893A,0x00EA0CFB,0x0000,0xFFFF, 1);
VirtualDub.video.filters.Add("Deshaker v3.1");
VirtualDub.video.filters.instance[2].Config("19|2|40|4|1|0|1|0|640|480|2|1|1000|1000|1000|1000|400|1|0|2|0|40|-1000|4|e:\Deshaker.log|0|0|0|0|0|0|0|0|0|0|0|0|0|1|15|15|5|15|0|0|30|30|0|0|1|0|1|1|0|10|1000|0|40|1|0|20|5000|100|20|0|1|ff00ff");
https://i.postimg.cc/hGPX760L/MOV-0008-cut.png

https://i.postimg.cc/pL3S9Mv7/MOV-0008-cut-deshaker.png

https://i.postimg.cc/rsdWR3Mn/MOV-0008-cut-403.png
__________________
VirtualDub2
shekh is offline   Reply With Quote
Reply

Tags
deshake, dive video, short shakes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.