• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
Search This thread


Senior Member
Oct 5, 2021
Despite having the Sensor Shift sensor on the iPhone 13 Pro Max, OIS on the Samsung Galaxy S21 Ultra and several other vendors trying to produce the best handheld video without judder or vibrations, they are limited by the constraints of physics. Samsung's implementation of Super Steady mode suffers from low quality wide angle lens.

Demonstrated above is an intentionally exaggerated example of the judder, rolling shutter effect or simply shaky video footage on the left, and the result on the right as can be judged by the framed footage compensating for the micro-vibrations of the hand movement despite of OIS and EIS. You can play with the parameters to your liking and requirement based on video resolution and CPU time you have the patience for while rendering super steady video.

If commercial solutions like Final Cut Pro X Stabilizer or Adobe Premier Warp Stabilizer etc aren't at your disposal, fire up a terminal on Mac OS, WSL2 on Windows or a Linux terminal, get the latest ffmpeg and run this bash script.


# Script: Save this as super-steady.sh
# Usage : ./super-steady.sh file.mp4

# Contact XDA Developer: Miravision [https://forum.xda-developers.com/m/miravision.11839271/]

ffmpeg -y -i "$1" \
             -vf vidstabdetect=stepsize=32:shakiness=10:accuracy=10:result=trf.trf -f null -
ffmpeg -y -i "$1" \
             -vf vidstabtransform=input=trf.trf:zoom=0:smoothing=10,unsharp=5:5:0.8:3:3:0.4 \
             -c:v libx265 -acodec copy "${1%.*}_stabilized.mkv"
rm trf.trf

Handheld videos that are smaller in resolution or shorter in time duration will take the least amount of time, longer duration videos or handheld 4K or 8K shaky footage will need serious CPU horsepower, the faster the cores and more the threads available, the better.
Last edited: