From d49524ab5e89f55c0a4b5eeebf7b664dae1c9026 Mon Sep 17 00:00:00 2001 From: eriedaberrie Date: Sat, 2 Nov 2024 20:20:15 -0700 Subject: [PATCH] feat: sync-music: tune ffmpeg settings --- sync-music/actions.lisp | 1 + sync-music/utils.lisp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sync-music/actions.lisp b/sync-music/actions.lisp index 6e32f42..db1dc36 100644 --- a/sync-music/actions.lisp +++ b/sync-music/actions.lisp @@ -36,6 +36,7 @@ Pushes status message about this action to QUEUE if given.")) "-i" (uiop:native-namestring (copy-action-origin a)) "-c:a" "libopus" "-map" "0:a" + "-ac" "2" "-b:a" *opus-bitrate* (uiop:native-namestring (action-target a))))) diff --git a/sync-music/utils.lisp b/sync-music/utils.lisp index aedf894..63f5012 100644 --- a/sync-music/utils.lisp +++ b/sync-music/utils.lisp @@ -2,7 +2,7 @@ (defvar *worker-threads* nil "Number of worker threads to launch.") -(defvar *opus-bitrate* "64K" +(defvar *opus-bitrate* "128K" "Opus bitrate to pass to ffmpeg's -b:a flag.") (defvar *max-depth* 8 "Max depth to recur into folders before signalling.")