   [spec]
   ["ffmpeg" "-i" (:input spec)
    (video-options spec)
-   (crop-resize-options spec)
+   (video-filter-options spec)
    (audio-options spec)
    (subtitle-options spec)
    "-f" (ffmpeg-format (:format spec))

    (when (zero? (:exit exec))
      (json/read-str (:out exec) :key-fn keyword))))

(defn detect-crop
  "Performs crop detection, returning the filter argument or nil."
  [input]

(defn filter-video
  "Returns an updated spec with video filters applied (crop and scale)."
  [spec]
  (-> spec deinterlace crop scale))

(defn encode-video?
  "Returns whether the video stream should be transcoded."
