Bug 364531 - 16.04 from git - libavfilter Deshake effect filter crashes application, and does not work.
Summary: 16.04 from git - libavfilter Deshake effect filter crashes application, and d...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 16.04.0
Platform: Arch Linux Other
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-20 11:54 UTC by Evert Vorster
Modified: 2019-12-02 07:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evert Vorster 2016-06-20 11:54:08 UTC
I have a timelapse footage shot off a moving vessel. With the motion of the ocean, it looks quite bad. I would like to stabilize this video. Unfortunately, there is also some of the vessel structure in the clip, and since it's well defined and stationary in the source footage, it's what the standard clip job vidstab focuses on. There is no way to specify a mask to tell the vid.stab to not look at the whole frame when doing the stabilization. 

In "Misc" under effects, there is a deshake filter. 
When I apply it to normal shaky footage, it does not stabilize it at all. 
This filter does have the ability to apply a mask, though. It's a bit fiddly, as there is no visual indication of what you are doing, and also the sliders are supposed to have more values than just -1 and 0. 

Finally, dragging the sliders crashes kdenlive UI completely. 

I am assuming that this filter is the FFMPEG deshake filter, as outlined here:
https://ffmpeg.org/ffmpeg-filters.htmlm under section 9.33. The reason for this assumption is that the slider bars have the same titles... 

Reproducible: Always

Steps to Reproduce:
1.Apply effect "deshake" under Misc effects
2.Render video

Actual Results:  
Output video is not deshaked at all, not even a little bit. 
Dragging the sliders mostly just crashes the UI. 


Expected Results:  
Some attempt as video stabilization to be made. 
When dragging the sliders, some rectangle to appear on the video to show the are that the motion estimation is bound to. 

This is on 4k footage in a FullHD project, not sure if that makes any difference.
Comment 1 Vincent PINON 2016-08-20 21:24:24 UTC
libavfilter effects have appeared in MLT, but XML files for proper UI control in kdenlive still have to be written...
Comment 2 farid 2017-02-03 01:34:44 UTC
(In reply to Vincent PINON from comment #1)
> libavfilter effects have appeared in MLT, but XML files for proper UI
> control in kdenlive still have to be written...

Vincent, Can this be a simple GSOC project? Are there more filters to be ported?
Comment 3 Evert Vorster 2018-10-13 04:54:21 UTC
For the interested, I managed to get the stabilization I needed with Blender, as that does image recognition and allows you to select features in the clip to stabilize. It is quite a powerful tool, and outside the scope of what a video editor should to. 
The avfilters deshake is still a nice to have, though.
Comment 4 Evert Vorster 2019-12-02 07:24:33 UTC
Well, not technically a fix, but as the deshake filter is not available anymore, this bug is moot.