mirror of
https://github.com/joshuaboniface/rffmpeg.git
synced 2026-01-23 02:24:03 +00:00
commit
69fad0326a
2 changed files with 9 additions and 1 deletions
5
rffmpeg
5
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()
|
||||
|
|
|
|||
|
|
@ -76,3 +76,8 @@ rffmpeg:
|
|||
# Optional local fallback ffmpeg and ffprobe binary paths, if different from the above.
|
||||
#fallback_ffmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
|
||||
#fallback_ffprobe: "/usr/lib/jellyfin-ffmpeg/ffprobe"
|
||||
|
||||
# Optional additions to special flags that output to stdout instead of stderr. This isn't an override.
|
||||
#special_flags:
|
||||
# - "-muxers"
|
||||
# - "-fp_format"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue