滤镜:vidstab
- 目录
插件信息
title: Vid.Stab 检测与变换
media types:
Video
description: 稳定视频(用于抖动/滚动的视频)
version: 3
creator: Marco Gittler <g.marco@freenet.de>
copyright: Jakub Ksiezniak
license: GPL
URL: http://public.hronopik.de/vid.stab/ (opens in a new tab)
说明
该滤镜需要两遍处理。第一遍执行分析,并把结果存入文件。分析成功完成后,"results" 属性会被更新为存储结果的文件名。第二遍把结果应用到图像上。 若要在 melt 中使用,第一遍请使用 'melt ... -consumer xml:output.mlt all=1 real_time=-1'。第一遍不支持并行处理(real_time < -1 或 > 1)。第二遍请以 output.mlt 作为输入。
参数
results
title: 分析结果
description:
在分析之后设置。在应用阶段使用。一组描述已分析片段图像运动信息的数据。当未提供 results 时,滤镜会计算结果并存入文件。当最后一帧处理完毕后,该属性会被更新为该文件的文件名。
type: string
readonly: no
required: no
filename
title: 目标文件名
description:
在分析阶段使用。用于存储分析结果的文件名。
type: string
readonly: no
required: no
default: vidstab.trf
widget: fileopen
shakiness
title: 抖动程度
description:
在分析阶段使用。视频抖动的程度。
type: integer
readonly: no
required: no
minimum: 1
maximum: 10
default: 4
widget: spinner
accuracy
title: 精度
description:
在分析阶段使用。抖动检测的精度。
type: integer
readonly: no
required: no
minimum: 1
maximum: 15
default: 4
widget: spinner
stepsize
title: 步长
description:
在分析阶段使用。搜索过程的步长。
type: integer
readonly: no
required: no
minimum: 0
maximum: 100
default: 6
widget: spinner
mincontrast
title: 最小对比度
description:
在分析阶段使用。低于此对比度时,丢弃一个场(field)。
type: float
readonly: no
required: no
minimum: 0
maximum: 1
default: 0.3
widget: spinner
show
title: 显示
description:
在分析阶段使用。0 = 什么都不绘制;1 或 2 = 显示场和变换
type: integer
readonly: no
required: no
minimum: 0
maximum: 2
default: 0
widget: spinner
tripod
title: 三脚架模式
description:
在分析阶段和应用阶段均使用。若为 0,禁用三脚架模式。若 > 0,指定作为三脚架模式参考帧的帧号。在应用阶段,如果使用三脚架模式,relative 和 smoothing 属性都会被忽略。
type: integer
readonly: no
required: no
minimum: 0
maximum: 100000
default: 0
widget: spinner
smoothing
title: 平滑
description:
在应用阶段使用。低通滤波所使用的帧数(2N + 1 帧)
type: integer
readonly: no
required: no
minimum: 0
maximum: 100
default: 15
widget: spinner
maxshift
title: 最大位移
description:
在应用阶段使用。变换图像的最大像素数。-1 = 不限制
type: integer
readonly: no
required: no
minimum: -1
maximum: 1000
default: -1
unit: pixels
widget: spinner
maxangle
title: 最大角度
description:
在应用阶段使用。旋转的最大角度,-1 = 不限制
type: float
readonly: no
required: no
minimum: -1
maximum: 3.142
default: -1
unit: radians
widget: spinner
crop
title: 裁剪
description:
在应用阶段使用。0 = 保留边缘,1 = 黑色背景
type: boolean
readonly: no
required: no
default: 0
invert
title: 反转
description:
在应用阶段使用。反转变换
type: boolean
readonly: no
required: no
default: 0
relative
title: 相对
description:
在应用阶段使用。把变换视为绝对值(0)还是相对值(1)
type: boolean
readonly: no
required: no
default: 1
zoom
title: 缩放
description:
在应用阶段使用。额外的缩放量
type: integer
readonly: no
required: no
minimum: -500
maximum: 500
default: 0
unit: percent
widget: spinner
optzoom
title: 最佳缩放
description:
在应用阶段使用。自动确定最佳缩放。1 - 静态缩放,2 - 自适应缩放
type: integer
readonly: no
required: no
minimum: 0
maximum: 2
default: 1
widget: spinner
zoomspeed
title: 最佳缩放速度
description:
在应用阶段使用。每帧的缩放增量(当 optzoom = 2 时使用)
type: float
readonly: no
required: no
minimum: 0
maximum: 1
default: 0.25
unit: percent
widget: spinner
reload
title: 重新加载结果
description:
当应用程序更新了 results 属性后,应将其设为 1,以指示需要重新加载结果。
type: boolean
readonly: no
required: no
analyze
title: 开始分析
description:
此项可选,但可帮助应用程序避免写文件时的竞态条件。未设置时,不影响分析的开始。设置后,仅当为真时才启动分析并写入文件。
type: boolean
readonly: no
required: no