Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spin walkaround video Stabilization #106

Open
ahmedAlmasri opened this issue Mar 25, 2021 · 2 comments
Open

spin walkaround video Stabilization #106

ahmedAlmasri opened this issue Mar 25, 2021 · 2 comments

Comments

@ahmedAlmasri
Copy link

I'm trying to stabilize the walkaround video using this command

TRF=transformation1.trf
INPUT=$1
STB_OUTPUT=stb1.mp4
ffmpeg -y -i "$INPUT" -vf vidstabdetect=stepsize=32:shakiness=10:accuracy=15:result="$TRF" -f null -
ffmpeg -y -i "$INPUT" -vf vidstabtransform=input="$TRF":smoothing=15:interpol="bicubic",unsharp=5:5:0.8:3:3:0.4  "$STB_OUTPUT"

but still the video shaking frames

original video

stabilized video

I need help what the best command to stabilize walkaround 360 video

@martius-lab
Copy link

Stepsize should not be bigger than 6. If you don't care that it takes longer put it to 4 or 2.
Then you can in the second pass make the smoothing higher to get less remaining movement. Try smoothing=30 or 40

@ahmedAlmasri
Copy link
Author

@martius-lab I'm trying to change stepsize to 4 and smoothing to 40 but still same result video not smoother

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant