Skip to content

Commit 9897b26

Browse files
committed
added frame based stabilization
1 parent 914d910 commit 9897b26

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

tests/stabilization/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.trf

tests/stabilization/ffmpeg_stabilization_vidstab.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,13 @@
2424
#
2525
# an
2626
# removes audio track
27+
2728
ffmpeg -i source_video.mp4 -vf vidstabdetect=shakiness=10:accuracy=15 -f null -
28-
ffmpeg -i source_video.mp4 -vf vidstabtransform=smoothing=30:input="transforms.trf" -an stabilized_vidstab.mp4
29+
ffmpeg -i source_video.mp4 -vf vidstabtransform=smoothing=30:input="transforms.trf" -an stabilized_vidstab.mp4
30+
31+
32+
ffmpeg -i output_120_frames.mp4 -vf vidstabdetect=shakiness=10:accuracy=15 -f null -
33+
ffmpeg -i output_120_frames.mp4 -vf vidstabtransform=smoothing=30:input="transforms.trf" -an output_120_frames_stabilized_vidstab.mp4
34+
35+
ffmpeg -i output_360_frames.mp4 -vf vidstabdetect=shakiness=10:accuracy=15 -f null -
36+
ffmpeg -i output_360_frames.mp4 -vf vidstabtransform=smoothing=30:input="transforms.trf" -an output_360_frames_stabilized_vidstab.mp4
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)