Kdenlive/Руководство/меню Проект/Стабилизация

From KDE UserBase Wiki
This page is a translated version of the page Kdenlive/Manual/Clip Menu/Stabilize and the translation is 50% complete.
Other languages:


Этот пункт меню доступен из контекстного меню клипа, находящегося в дереве проекта или в меню Проект, когда клип выделен в дереве проекта.

Эта функция применяет для клипа, алгоритм стабилизации изображения, который может уменьшить дрожание кадра, обусловленное нестабильным положением камеры (например съёмка с рук и т.п.)

Есть два различных метода стабилизации доступных в 'Kdenlive' - vstab и transcode (перекодировать).

Это видео показывает, рядом сравнение методов стабилизации vstab и transcode .

Transcode Dialog in version 0.9.2

This menu item was called stabilize (transcode) in versions 0.9.2 and earlier.

Transcode Dialog in version 0.9.3 and higher

In version 0.9.3, the transcode GUI was simplified.

Based on the tooltips from this screen and the docs here, this is what all the options mean:

optzoom = use optimal zoom (calculated from transforms). Causes video to zoom until 90% of transformations are hidden. Default is checked. Hint: You can further zoom in with the zoom option.

accuracy = accuracy of shakiness detection. Should be >= shakiness factor. 1: low (fast processing). 15: high (slow processing). Default: 4. Recommended: 8.

algo = algorithm used. Checked = small measurement fields. Default = checked. Unchecked means use brute force algorithm. The brute force algorithm is deprecated and this option is not available after version 0.9.3.

maxangle = maximum angle to rotate in radians. Default = -1, which means no limit.

relative Unchecked = absolute transform (don't use this). Checked = relative transform. Default is checked. This option is not available in version 0.9.3 - it uses relative transform.

zoom - Additional zoom during transform. Percentage to zoom > 0 = zoom in, < 0 = zoom out. The zoom specified here is in addition to the optimum zoom calculated by the program when optzoom is checked. Default = 0.

shakiness How shaky is the video? And how quick is the camera? 1: little (fast processing). 10: very strong/quick (slow processing). Default = 4. Note: large values may also reduce the accuracy. This is due to the internals of the movement-detection. Typically you don't need a value greater than 7.

invert Invert the transform. Default = unchecked. Inverting the transform is pointless - leave unchecked. This option is not available in version 0.9.3.

sharpen Sharpen transformed image. Amount of sharpening: 0: no sharpening. Uses filter unsharp with 5x5 matrix. Default = 0.8.

stepsize Step size of search process. Region around minimum is scanned with 1 pixel resolution. Default = 6.

show 0 = draw nothing, 1 or 2 = show fields and transforms. Use 1 or 2 to preview what the process is going to do. example. Default = 0. Non-zero values of this parameter are not relevant in the Kdenlive implementation - use zero. This option is not available in version 0.9.3.

mincontrast Below this contrast, the field is discarded. Range 0-1. Default = 0.3. You may want to use a smaller value for a really low contrast clip.

smoothing Controls the amount of smoothing/stabilization. The larger the value for smoothing, the more camera movements are compensated. The resulting clip has a lower change in camera speed. Technically it is the number of frames for lowpass filtering = (smoothing * 2) + 1. For example, with a with 25 fps clip, a value of 12 for the smoothing factor means we would smooth over one second - 12 frames behind the current frame + the current frame (1) + 12 frames after the current frame. Default =10.

Demo of the difference here (top:3, bottom: 30).

maxshift Maximal number of pixels to translate image. Default = -1. No limit.

crop Unchecked means the border of the transformed frames contains the pixels from previous frames. Checked = black background. Default = unchecked.

Пример работы эффекта стабилизации - transcode с оригиналом автора - Georg Martius


Тряска устранена


стабилизация ( vstab)

Основано на этой работе.

В этом учебнике показано, как использовать функцию стабилизации - vstab версии:

Настройки "shutter angle" - расказчик говорит что не знает что это такое (1:35) ... Shutter angle - это угол съёмки - максимальный угол на который может быть повернуто изображение, подлежащее стабилизации. См. здесь.