Selur's Little Message Board

Full Version: Vapoursynth, Frame, Stabilize not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Selur you are awesome. I will follow your instructions.
There is this one and its really good in the few tough cases where Stab doesn't work well and StabilizeIT zooms and move too much.  
https://github.com/georgmartius/vid.stab
Is that something that can be implemented in Hybrid?
Quote:https://github.com/georgmartius/vid.stab
Is that something that can be implemented in Hybrid?
This is a 2pass process, first you run vidstabdetect and later vidstabtransform so you won't get a preview, but this is already in Hybrid. (was added in 2018.10.07.1)
You need to use 'No XSynth' and then under "Filtering->FFmpeg->Filtering->Vidstab" it's there. Personally I never really used it, but it hopefully still works as it should. Smile (Found a bug Smile Filtering->FFmpeg should be disabled when 'Only use encoder' for NVEncC&co is enabled, which it is not atm. => fixed in dev Hybrid_dev_2024.11.05-192319 and newer)

Cu Selur
thats a welcome surprise.  Where is vidstabdetect located?
You use "Filtering->FFmpeg->Filtering->Vidstab" to configure both detect and transform.
Regarding Stab under Stabilize tab.  The Shift Max X/Y.  If I set it to 4/4.  Does that mean the range it can go 2 up, 2 down, 2 left, 2 right, so a shift a max shift of 4.  Or its 4 up, 4 down, 4 left, 4 right, a max shift of 8?
afaik.:
x (aka. dxmax): should be 4 pixels in each direction on the horizontal axis
y (aka. dxmay): should be 4 pixels in each direction on the vertical axis
It's important to note that these parameters limit the maximum shift that can be detected between consecutive frames. If you set them too low, you might miss larger motions in the video, while setting them too high could potentially lead to false motion detection. So depending on the amount of general motion speed and resolution, you might want to adjust the default 4.
(Stab calls DePanEstimate. https://github.com/Vapoursynth-Plugins-Gitify/DePan => https://github.com/Vapoursynth-Plugins-G...n.cpp#L112)

Cu Selur
(01.06.2022, 08:33)Selur Wrote: [ -> ]StabilizeIT does zoom into the clip to hide shaking borders.
You can crop before or after the filter. (you just need to change the filter order)
My guess is that StabilizeIT doesn't cope well with the mess the fields of that clip are in.
-> if anyone knows of another generic statbilize script for Vapoursynth, that works here let me know and I can add support for it

 can't find any stabilizeit documentation, on doom9 forum or by searching hybrid folders on hdd for "from.doom9"(?)
fromDoom9.py is a function collection of stuff I found over at doom9s. (usually stuff I think is useful and that might get lost otherwise)
Like https://github.com/Selur/VapoursynthScri...om9.py#L65 mentioned, StabilizeIT was from VS_Fan, see: https://forum.doom9.org/showthread.php?p...ost1769570
There is no documentation for it.

Cu Selur
Pages: 1 2