New plugin, executor.

This commit is contained in:
2016-12-25 17:49:43 +01:00
parent 58f27830f4
commit 1938337bb0
11 changed files with 2581 additions and 15 deletions

View 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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
fre dec 23 02:08:06 2016
noccy@noccy-aspire5551
9030
noccy-aspire5551

View 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