New plugin, executor.
This commit is contained in:
34
presets/executor/executor-vidstab.yml
Normal file
34
presets/executor/executor-vidstab.yml
Normal file
@ -0,0 +1,34 @@
|
||||
preset:
|
||||
name: Stabilize video clip (two-pass)
|
||||
group: video
|
||||
plugin: executor
|
||||
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}"
|
||||
#!/bin/bash
|
||||
|
||||
#INPUT="$1"
|
||||
#OUTPUT="$1.stab.avi"
|
||||
#CODEC="-y xvid"
|
||||
|
||||
#if [ -e "$INPUT.trf" ]; then
|
||||
# echo "Cache found, not re-calling stabilize..."
|
||||
#else
|
||||
# Start the deshake process
|
||||
# transcode -J stabilize -i $INPUT || transcode -J stabilize --mplayer_probe -i $INPUT
|
||||
#fi
|
||||
|
||||
# Now, stabilize the video
|
||||
#transcode -J transform -i $INPUT $CODEC -o $OUTPUT
|
2122
presets/natron/natron-cctv.ntp
Normal file
2122
presets/natron/natron-cctv.ntp
Normal file
File diff suppressed because it is too large
Load Diff
4
presets/natron/natron-cctv.ntp.lock
Normal file
4
presets/natron/natron-cctv.ntp.lock
Normal file
@ -0,0 +1,4 @@
|
||||
fre dec 23 02:08:06 2016
|
||||
noccy@noccy-aspire5551
|
||||
9030
|
||||
noccy-aspire5551
|
8
presets/natron/natron-cctv.yml
Normal file
8
presets/natron/natron-cctv.yml
Normal file
@ -0,0 +1,8 @@
|
||||
preset:
|
||||
name: Apply a CCTV look to the video
|
||||
group: natron
|
||||
plugin: natron
|
||||
props:
|
||||
project: natron-cctv.ntp
|
||||
reader: Input1
|
||||
writer: Output1
|
Reference in New Issue
Block a user