php-vfxapply/presets/executor/executor-vidstab.yml

24 lines
1022 B
YAML
Raw Permalink Normal View History

2016-12-25 16:49:43 +00:00
preset:
name: Stabilize video clip (two-pass)
group: video
plugin: executor
2017-01-13 01:18:46 +00:00
info: >
This preset uses 'transcode' to stabilize the video clip. As transcode has limited
support for other output containers than AVI, the resulting file will be an .AVI
file.
2016-12-25 16:49:43 +00:00
props:
set:
inputtrf: { value:"{%uinput}.trf", escape:true }
script:
analyze:
info: Getting stabilization vectors
exec: "transcode -i {%input} -J stabilize"
parse: { from: 'stderr', regex: '/encoding frames \[0-([0-9]+?)\],\s+([0-9\.]+?) fps/', frame:1, eta:2 }
stabilize:
info: Stabilizing video
exec: "transcode -i {%input} -o {%output} -J transform -y dv"
# -y ffmpeg -F mpeg4"
parse: { from: 'stderr', regex: '/encoding frames \[0-([0-9]+?)\],\s+([0-9\.]+?) fps/', frame:1, eta:2 }
cleanup:
exec: "ls {%inputtrf}"