This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Vidstab crop doesn't crop but instead draws black

Tags: None
(comma "," separated)
msundman
Registered Member
Posts
24
Karma
0
Is there any way to make vidstab actually crop the image? If I want the outside areas black I can put the cropped video on a black background. Or maybe I want to use a white background. Or maybe I want a blurred version of the original, unstabilized video. Or a blurry version of the non-cropped stabilized video. But please just let me choose by making the crop actually crop.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
Vidstab puts black borders on by design. Add a Position and Zoom effect to zoom in and remove the black.
msundman
Registered Member
Posts
24
Karma
0
ttguy wrote:Vidstab puts black borders on by design. Add a Position and Zoom effect to zoom in and remove the black.

How would I use Position and Zoom to mask out the black? I would need a rotoscoping video for that. And of course it needs to be automatically tracked, I can't sit and adjust it by hand for every frame. That would take months for even short videos.

If it was a completely different color (say, green) I could use chroma key to mask it out, but I can't do that with black, which is likely to be present in the video itself.
msundman
Registered Member
Posts
24
Karma
0
How about copying the vidstab mlt file (with crop enabled) and changing the video it refers to to a video of just white. Then the clip should be a white rectangle with a black border, right? Could I somehow use this video as an alpha mask for my stabilized video?


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]