Remove DEBUG prints from ascii primitive
This commit is contained in:
@@ -19,10 +19,6 @@
|
||||
:desc "Blend opacity (0=video-a only, 1=video-b only)")
|
||||
(blend_mode :type string :default "overlay"
|
||||
:desc "Blend mode: alpha, add, multiply, screen, overlay, difference")
|
||||
(audio_start :type float :default 60
|
||||
:desc "Start time in audio (seconds)")
|
||||
(duration :type float :default 10
|
||||
:desc "Duration (seconds)")
|
||||
)
|
||||
|
||||
;; Registry - effects and analyzers
|
||||
@@ -39,7 +35,7 @@
|
||||
;; Stage 1: Analysis
|
||||
(stage :analyze
|
||||
:outputs [energy-data]
|
||||
(def audio-clip (-> audio (segment :start audio_start :duration duration)))
|
||||
(def audio-clip (-> audio (segment :start 60 :duration 10)))
|
||||
(def energy-data (-> audio-clip (analyze energy))))
|
||||
|
||||
;; Stage 2: Process both videos
|
||||
@@ -49,10 +45,10 @@
|
||||
:outputs [blended audio-clip]
|
||||
|
||||
;; Get audio clip for final mux
|
||||
(def audio-clip (-> audio (segment :start audio_start :duration duration)))
|
||||
(def audio-clip (-> audio (segment :start 60 :duration 10)))
|
||||
|
||||
;; Process video A with ASCII effect
|
||||
(def clip-a (-> video-a (segment :start 0 :duration duration)))
|
||||
(def clip-a (-> video-a (segment :start 0 :duration 10)))
|
||||
(def ascii-a (-> clip-a
|
||||
(effect ascii_fx_zone
|
||||
:cols cols
|
||||
@@ -70,7 +66,7 @@
|
||||
(- 1 (get zone "row-norm")))))))))))
|
||||
|
||||
;; Process video B with ASCII effect
|
||||
(def clip-b (-> video-b (segment :start 0 :duration duration)))
|
||||
(def clip-b (-> video-b (segment :start 0 :duration 10)))
|
||||
(def ascii-b (-> clip-b
|
||||
(effect ascii_fx_zone
|
||||
:cols cols
|
||||
|
||||
Reference in New Issue
Block a user