;; Outline effect - draw edges as lines ;; Usage: python3 plan.py effects/outline.sexp -p thickness=2 | python3 execute.py - -d . -o output.mp4 ;; ;; Parameters: ;; thickness: outline width in pixels (1 to 5, default: 2) (recipe "outline" :version "1.0" :encoding (:codec "libx264" :crf 20 :preset "medium" :audio-codec "aac" :fps 30) (effect outline :path "sexp_effects/effects/outline.sexp") ;; Default parameter (overridden by -p thickness=N) (def thickness 2) (def video (source :path "monday.webm")) (def clip (-> video (segment :start 0 :duration 10))) (def result (-> clip (effect outline :thickness thickness))) result)