mirror of
https://github.com/steelbrain/ffmpeg-over-ip.git
synced 2024-10-12 01:34:56 +03:00
34 lines
1.3 KiB
JSON
34 lines
1.3 KiB
JSON
{
|
|
// This is a "jsonc" file and therefore supports comments in addition to standard JSON syntax
|
|
|
|
"log": "stdout", // type: "stdout" | "stderr" | any string (file path) | false
|
|
// Other possibilities:
|
|
"log": "$TMPDIR/ffmpeg-over-ip.server.log",
|
|
// ^ $TMPDIR is a special variable here, only supported in "log" config where it uses the operating system
|
|
// temp folder
|
|
"log": false,
|
|
// ^ This turns off logging completely
|
|
"log": "stdout",
|
|
"log": "stderr",
|
|
"log": "/var/log/messages.log",
|
|
|
|
"listenAddress": "0.0.0.0", // type: string
|
|
// You can specify a specific address to listen to, by default, listens on all addresses
|
|
"listenPort": 5050, // type: number
|
|
|
|
"authSecret": "YOUR-CLIENT-PASSWORD-HERE", // type: string
|
|
// ^ Ideally keep this within reason (It'll be received in an HTTP header) but definitely not less than 15 characters
|
|
|
|
"ffmpegPath": "/usr/bin/ffmpeg", // type: string
|
|
// ^ For windows, you may have to use slash twice because of how strings in JSON work, so C:\Windows would be "C:\\Windows" etc
|
|
|
|
"rewrites": [
|
|
["/data/movies/", "M:\\movies\\"],
|
|
["/data/tv/", "M:\\tv\\"],
|
|
["/config/data/transcodes/", "N:\\transcodes\\"],
|
|
// ^ VERY IMPORTANT! For path rewrites BOTH input and output MUST have trailing slashes
|
|
// You can also use rewrites to map codecs, ie:
|
|
["libfdk_aac", "aac"]
|
|
]
|
|
}
|