rffmpeg/rffmpeg.yml.sample
2019-11-13 11:14:53 -05:00

52 lines
1.6 KiB
Text

---
# Example configuration file for rffmpeg
# Copy this sample to /etc/rffmpeg/rffmpeg.yml and replace the various attributes
# with the values for your environment. For more details please see the README.
rffmpeg:
# rffmpeg state configuration - YOU SHOULD NOT ALTER THESE
state:
# Temporary directory to store state
tempdir: "/run/shm/rffmpeg"
# Filename format for state instance files
filename: "instance_{pid}.pid"
# Contents of the state instance file
contents: "{host}"
# Logging configuration
logging:
# Enable or disable file logging
file: true
# Log messages to this file - ensure the user running rffmpeg can write to it
logfile: "/var/log/jellyfin/rffmpeg.log"
# Remote (SSH) configuration
remote:
# A YAML list of remote hosts to connect to
hosts:
- gpu1
# - gpu2
# - gpu3
# The remote SSH user to connect as
user: jellyfin
# A YAML list of additional SSH arguments (e.g. private keys),
# one line per space-separated argument element.
args:
- "-i"
- "/var/lib/jellyfin/id_rsa"
# Remote command configuration
commands:
# A YAML list of prefixes to the ffmpeg command (e.g. sudo, nice, etc.),
# one line per space-separated command element.
pre:
- ""
# The (remote) ffmpeg and ffprobe command binary paths
ffmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
ffprobe: "/usr/lib/jellyfin-ffprobe/ffprobe"