Blender:Video-Stabilisation — различия между версиями

Материал из Вікі Фаланстэра
Перейти к: навигация, поиск
(Новая страница: «== Video Stabilisation of stationary scene. (Removing camerashake and rotation) == 1. Find out what is Resolution and FPS of video. This can be done with VLC pla…»)
 
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:
 
== Video Stabilisation of stationary scene. (Removing camerashake and rotation) ==
 
== Video Stabilisation of stationary scene. (Removing camerashake and rotation) ==
 +
 +
[[Файл:Raw3.gif|мини|без]]
 +
[[Файл:Stabilized.gif|мини|без]]
 +
  
 
1. Find out what is Resolution and FPS of video. This can be done with VLC player:
 
1. Find out what is Resolution and FPS of video. This can be done with VLC player:
  
 
1) On Mac - CMD+I opens Media information - Codec Details tab.
 
1) On Mac - CMD+I opens Media information - Codec Details tab.
2) On other platforms maybe CTRL+I or from menu find Media information.
+
 
 +
2) On other platforms maybe CTRL+I or from menu find Media information. And go to Codec Details tab.
  
 
Then look at Video resolution and Frame rate.
 
Then look at Video resolution and Frame rate.
Строка 21: Строка 26:
 
[[Файл:Untitled 3.png|мини|без]]
 
[[Файл:Untitled 3.png|мини|без]]
 
[[Файл:Untitled 4.png|мини|без]]
 
[[Файл:Untitled 4.png|мини|без]]
2) Set Output and Encoding options
+
2) Set Output and Encoding options. (FFmpeg might be necessary to install via package manager or from online page)
 
[[Файл:Untitled 5.png|мини|без]]
 
[[Файл:Untitled 5.png|мини|без]]
  
Строка 39: Строка 44:
 
[[Файл:Untitled 11.png|мини|без]]
 
[[Файл:Untitled 11.png|мини|без]]
  
5. Video Stabilisation
+
5. Video Stabilization - Tracks
 
1) Set Options for tracking Location and Rotation
 
1) Set Options for tracking Location and Rotation
 
[[Файл:Untitled 12.png|мини|без]]
 
[[Файл:Untitled 12.png|мини|без]]
2) Make sure that you are on the 0 frame
+
2) Make sure that you are on the first frame or go there via the "Jump to first frame" button. (For Advanced users: if you specially want to stabilize specific frame to specific frame - not whole clip, then go to first frame of area and click ALT+Right Arrow till the wanted point)
 
[[Файл:Untitled 13.png|мини|без]]
 
[[Файл:Untitled 13.png|мини|без]]
 +
3) CTRL+Click on high contrast point in scene.
 +
[[Файл:Untitled 14.png|мини|без]]
 +
4) Press CTRL+T to track all frames forward (location of point).
 +
[[Файл:Untitled 15.png|мини|без]]
 +
5) In the 2D Stabilization Property add the made track to Location and Rotation list.
 +
[[Файл:Untitled 16.png|мини|без]]
 +
 +
Now repeat steps 2-5 for 3 or 4 points as far from the center as possible without points getting lost in motion - this gives best results. It should look like this:
 +
[[Файл:Untitled 17.png|мини|без]]
 +
 +
6. Video Stabilization - Configuring parameters of correction
 +
1) Enable showing stabilization in Viewer. Under Display submenu (right) open Display Stabilization
 +
[[Файл:Untitled 18.png|мини|без]]
 +
2) Now if you want to stabilize without any out-of-video areas enable Autoscale and set it to 0. (or play with this till satisfactory result)
 +
[[Файл:Untitled 20.png|мини|без]]
 +
3) Also it's possible to leave in some unwanted camera motion with the Location, Rotation and Scale Influence parameters. (for example when the stabilized frame becomes too small)
 +
[[Файл:Untitled 19.png|мини|без]]
 +
 +
7. Getting ready to render
 +
1) Go to Node Editor.
 +
[[Файл:Untitled 21.png|мини|без]]
 +
2) Display nodes and backdrop
 +
[[Файл:Untitled 22.png|мини|без]]
 +
3) Remove "Render Layers" node with Del or X (Mac)
 +
[[Файл:Untitled 23.png|мини|без]]
 +
4) Press Shift+A and Input - Movie Clip.
 +
[[Файл:Untitled 24.png|мини|без]]
 +
5) Also add output Viewer
 +
[[Файл:Untitled 25.png|мини|без]]
 +
6) Select movie clip from input node.
 +
[[Файл:Untitled 26.png|мини|без]]
 +
7) Add Stabilize node: Shift+A - Distort - Stabilize 2D
 +
[[Файл:Untitled 27.png|мини|без]]
 +
8) Connect it to input and output, set input file. Also set to Bicubic for better quality.
 +
[[Файл:Untitled 28.png|мини|без]]
 +
9) Add Scale node right of Stabilize node: Shift+A - Distort - Scale
 +
10) Connect inputs and outputs, put right settings.
 +
[[Файл:Untitled 29.jpg|мини|без]]
 +
 +
8. Render
 +
In the right side menu find Render submenu and Animation button
 +
[[Файл:Untitled 29.png|мини|без]]
 +
  
 +
Now the project should render and output to your previously configured location the result file :)
  
  
  
 
[[Категория:Тэхнічная падтрымка]]
 
[[Категория:Тэхнічная падтрымка]]

Текущая версия на 20:06, 10 апреля 2019

Video Stabilisation of stationary scene. (Removing camerashake and rotation)

Raw3.gif
Stabilized.gif


1. Find out what is Resolution and FPS of video. This can be done with VLC player:

1) On Mac - CMD+I opens Media information - Codec Details tab.

2) On other platforms maybe CTRL+I or from menu find Media information. And go to Codec Details tab.

Then look at Video resolution and Frame rate.

Screenshot 2019-04-09 20.07.49.png

2. Set FPS and Resolution to Blender.

1) Open Blender. In the right hand side menu open Properties window and Render tab.

Untitled.png

2) In Dimensions submenu use the right Resolution and put 100%. Use correct FPS.

Untitled 2.png

3. Other rendering settings.

1) Set Anti-Aliasing and Post Processing - Sequencer

Untitled 3.png
Untitled 4.png

2) Set Output and Encoding options. (FFmpeg might be necessary to install via package manager or from online page)

Untitled 5.png

4. Inserting Video

1) Go to Video Sequence Editor

Untitled 6.png

2) Add Movie clip

Untitled 7.png

3) Remove Video part (will be added later) with DEL or X (Mac) key

Untitled 8.png

4) Change Blender Preview length to length of clip

Untitled 9.png

5) Enter Movie Clip Editor

Untitled 10.png

6) Open the same clip.

Untitled 11.png

5. Video Stabilization - Tracks 1) Set Options for tracking Location and Rotation

Untitled 12.png

2) Make sure that you are on the first frame or go there via the "Jump to first frame" button. (For Advanced users: if you specially want to stabilize specific frame to specific frame - not whole clip, then go to first frame of area and click ALT+Right Arrow till the wanted point)

Untitled 13.png

3) CTRL+Click on high contrast point in scene.

Untitled 14.png

4) Press CTRL+T to track all frames forward (location of point).

Untitled 15.png

5) In the 2D Stabilization Property add the made track to Location and Rotation list.

Untitled 16.png

Now repeat steps 2-5 for 3 or 4 points as far from the center as possible without points getting lost in motion - this gives best results. It should look like this:

Untitled 17.png

6. Video Stabilization - Configuring parameters of correction 1) Enable showing stabilization in Viewer. Under Display submenu (right) open Display Stabilization

Untitled 18.png

2) Now if you want to stabilize without any out-of-video areas enable Autoscale and set it to 0. (or play with this till satisfactory result)

Untitled 20.png

3) Also it's possible to leave in some unwanted camera motion with the Location, Rotation and Scale Influence parameters. (for example when the stabilized frame becomes too small)

Untitled 19.png

7. Getting ready to render 1) Go to Node Editor.

Untitled 21.png

2) Display nodes and backdrop

Untitled 22.png

3) Remove "Render Layers" node with Del or X (Mac)

Untitled 23.png

4) Press Shift+A and Input - Movie Clip.

Untitled 24.png

5) Also add output Viewer

Untitled 25.png

6) Select movie clip from input node.

Untitled 26.png

7) Add Stabilize node: Shift+A - Distort - Stabilize 2D

Untitled 27.png

8) Connect it to input and output, set input file. Also set to Bicubic for better quality.

Untitled 28.png

9) Add Scale node right of Stabilize node: Shift+A - Distort - Scale 10) Connect inputs and outputs, put right settings.

Untitled 29.jpg

8. Render In the right side menu find Render submenu and Animation button

Untitled 29.png


Now the project should render and output to your previously configured location the result file :)