Differences

This shows you the differences between two versions of the page.

Link to this comparison view

vidstab [2015/07/12 03:18]
slackermedia
vidstab [2021/06/03 19:48]
Line 1: Line 1:
-[[{arrowp.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​position:​absolute;​top:​0;​left:​0;​}trelby|]] 
  
-[[{arrown.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​position:​absolute;​top:​0;​margin-left:​2.5em;​}videogrep|]] 
- 
-======vid.stab====== 
- 
-[[http://​public.hronopik.de/​vid.stab/​features.php?​lang=en|vid.stab]] is a video stabliser for ''​transcode''​ and ''​ffmpeg''​. 
- 
-<WRAP notice prewrap 50%> 
-<WRAP rightalign>​ 
-===== Strengths [Weaknesses] ===== 
-</​WRAP>​ 
- 
-**Simple** 
- 
-<WRAP indent> 
-Run a simple command in a shell, end up with stabilised video. 
-</​WRAP>​ 
- 
-**Scriptable** 
- 
-<WRAP indent> 
-Commands are easily scripted; run batches overnight when nothing else is happening, or when you go to work. Run it on a server. Run it on a cluster. 
-</​WRAP>​ 
- 
-<WRAP rightalign>​ 
-===== Weaknesses [Strengths] ===== 
-</​WRAP>​ 
- 
-**Non-Interactive** 
- 
-<WRAP indent> 
-This is a fully automated stabilisation process. You don't get to open a window and see how the stabilisation will affect the video, or do manual overrides in the middle of a clip. 
-</​WRAP>​ 
-</​WRAP>​ 
- 
-=====Install===== 
- 
-Install [[http://​public.hronopik.de/​vid.stab/​features.php?​lang=en|vid.stab]] from [[http://​slackbuilds.org]]. 
- 
-The Slackermedia build of [[ffmpeg]] has ''​vidstab''​ enabled. Other builds of ''​ffmpeg''​ may not have this feature enabled, so if you used another ''​ffmpeg''​ build or built it yourself, you should double-check that it is active: 
- 
-<​code>​ 
-$ ffmpeg --version 
-</​code>​ 
- 
-Look in the output for the ''​--enable-libvidstab''​ flag. If it is set, then your installed version of ''​ffmpeg''​ can use ''​vid.stab''​. 
- 
-=====Usage===== 
- 
-Vid.stab is a two-step process; first video must be analysed, and then it can be stabilised. 
- 
-Fine adjustments probably need to be made depending on the severity of the shaking in the video. Read more about the different options on [[https://​github.com/​georgmartius/​vid.stab]],​ and as always, practise makes perfect. Learn to identify the different "​kinds"​ of shakes by stabilising as many clips as you can; take notes on the results, and try different techniques. 
- 
-First, analyse a video file, using the filter ''​vidstabdetect'':​ 
- 
-<​code>​ 
-$ ffmpeg -i foo.mp4 -vf vidstabdetect=shakiness=10:​accuracy=15:​result="​transforms.trf"​ 
-</​code>​ 
- 
-There is no video output from this command, but data about the video is written to the file ''​transforms.trf''​. 
- 
-Use this data to stabilise the video, applying a slight zoom so that the transforms around the edges of the screen are not visible: 
- 
-<​code>​ 
-$ ffmpeg -i foo.mp4 -vf vidstabtransform=zoom=5:​input="​mytransforms.trf"​ fooStabilized.mp4 
-</​code>​ 
- 
- 
-<WRAP tip> 
-**See Also** \\ 
-[[kdenlive|Kdenlive]] \\ 
-[[lightworks|Lightworks]] \\ 
-[[blender|Blender]] 
-</​WRAP>​ 
- 
- 
-[[{arrown.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​float:​right;​}videogrep|]][[{arrowp.png|border:​0;​background:​none;​width:​0;​float:​right;​}trelby|]]