-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.ffmpeg-over-ip.server.jsonc
33 lines (28 loc) · 1.33 KB
/
template.ffmpeg-over-ip.server.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
// 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"]
]
}