From 5fe09d2800a9967477a588a0794af371655594d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksa=20Siri=C5=A1ki?= <31509435+aleksasiriski@users.noreply.github.com> Date: Sun, 22 Jan 2023 18:33:33 +0100 Subject: [PATCH] special_flags Added `-muxers` and `-fp_format` to special flags and option to add more in the config without overriding the default ones. #56 --- rffmpeg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rffmpeg b/rffmpeg index 1e7c862..db28164 100755 --- a/rffmpeg +++ b/rffmpeg @@ -210,6 +210,7 @@ def load_config(): # Set the database path config["db_path"] = config["state_dir"] + "/rffmpeg.db" + # Set a list of special flags that cause different behaviour config["special_flags"] = [ "-version", @@ -218,7 +219,9 @@ def load_config(): "-hwaccels", "-filters", "-h", - ] + "-muxers", + "-fp_format", + ] + config_commands.get("special_flags", []) # Set the current PID of this process config["current_pid"] = os.getpid()