From c933503b16bff70f20de1690eceb7ae84f605114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez=20Moreno?= Date: Tue, 14 Jul 2020 11:24:19 +0200 Subject: [PATCH] Add needed gen-class --- src/video_optimize/core.clj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/video_optimize/core.clj b/src/video_optimize/core.clj index 865b277..14d089a 100644 --- a/src/video_optimize/core.clj +++ b/src/video_optimize/core.clj @@ -1,4 +1,5 @@ (ns video-optimize.core + (:gen-class) (:require [clojure.java.io :as io] [clojure.string :as str] @@ -24,7 +25,5 @@ (prn (str "Optimizing: " path_raw)) ;; Optimizing with ffmpeg (shell/sh "ffmpeg" "-y" "-i" path_raw "-vf" (str "scale=" width_thumbnail ":-2") "-c:v" "libx264" "-crf" "23" "-profile:v" "high" "-pix_fmt" "yuv420p" "-color_primaries" "1" "-color_trc" "1" "-colorspace" "1" "-movflags" "+faststart" "-an" "-acodec" "aac" "-ab" "128kb" path_thumbnail) - (prn (str "Finish: " path_thumbnail)))) - ) - )}]) + (prn (str "Finish: " path_thumbnail))))))}]) (println "Running: Feed me!"))