| Age | Commit message (Collapse) | Author |
|
The source .MOV is removed only when the stabilized output decodes
cleanly in the verify pass, so a failed encode never loses the original.
|
|
trf_dir was declared local in main(), so the EXIT trap referencing it
fired after main returned — under set -u that became an unbound variable
error and the script exited non-zero even though stabilization succeeded.
Hoist trf_dir to script scope and guard the trap.
|
|
Reusable wrapper around the workflow from the fujifilm-video-stabilization
skill: parallel pass-1 motion detection, serial pass-2 stabilize+sharpen+encode
on Intel VAAPI (software libx265 fallback), skip-existing outputs, and a
decode/size verification pass at the end.
Usage:
stabilize-video [DIR] # all *.MOV in DIR
stabilize-video ~/Videos
stabilize-video clip1.MOV clip2.MOV # explicit files
Outputs stabilised-<base>.mp4 next to each source.
|