Registered Member
|
Hello everyone,
I have a hyperlapse that I created recently that isn't being stabilized well using vidstab. The hyperlapse (without stabilization) can be seen here: https://www.youtube.com/watch?v=NZ9027kcMAQ I made a slideshow clip @ 24 fps and played each picture for 1 frame. I zoomed in to fill up the whole screen and added a bit of contrast and saturation. I then rendered it as an mp4 to make it a video file. I imported that video file and stabilized it with the default settings and it only made it worse. The stabilized version is even more wonky than the original. Normally, I don't have much of an issue with my other hyperlapses but this one is tricky because there are people walking back and forth towards my subject and it seems to be throwing the stabilization off. Any ideas? Thanks |
Registered Member
|
I would recommend doing the stabilization frame by frame by hand (48 picture only). Rotate/move each picture in a manner that the movement gets smooth. On the end you have to zoom in a bit in a manner that you don’t have black edges.
|
Registered Member
|
I guess I could do that. Do you have any suggestions for doing that in kdenlive as easy/fast as possible? Thank you! |
Registered Member
|
Use a program which provides layers like GIMP or Photoshop. Then you can lay a picture on each other. Make the top picture a bit transparent to see the one below. Adjust the top one by turn and move. Save each picture.
After you have done that you import the pictures in Kdenlive as a picture sequence. Yes, it’s quite a bit of work. Maybe you can do that in Kdenlive if you put each other picture like a zig-zag on a separate track and make the top track bit transparent. So you can move the top picture on top of the picture before. Make the correction and move it on the place it was before. And so on. |
Registered Member
|
Using GIMP sounds like a good way. Thank you sir, I'll give it a shot! |
Moderator
|
I reckon it looked pretty good as it was.
|
Registered Member
|
Terminal :
1. Analyze with default values: ffmpeg -i input.mp4 -vf vidstabdetect -f null - Or analyze a very shaky video, on a scale of 1-10: ffmpeg -i input.mp4 -vf vidstabdetect=shakiness=10:accuracy=15 -f null - or ffmpeg -i input.mp4 -vf vidstabdetect=shakiness=10:accuracy=15 -f null - output.mp4 2. Next, use that generated file transform.trf to help better stabilize the video: ffmpeg -i input.mp4 -vf vidstabtransform=smoothing=30:input="transforms.trf" output.mp4 Done. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]