-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhandlers.json
50 lines (50 loc) · 1.11 KB
/
handlers.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"jwt-logger": {
"handler-type": "JWTLoggingHandler",
"order": 10
},
"jwt": {
"handler-type": "JWTHandler",
"order": 30,
"requireTokens": true,
"verifyTokens": true
},
"convert": {
"handler-type": "ImageMagickHandler",
"order": 50,
"commandPath": "/usr/local/bin/convert",
"defaultMediaType": "image/jpeg",
"acceptedFormats": [
"image/jpeg",
"image/png",
"image/tiff",
"image/jp2"
]
},
"ffmpeg": {
"handler-type": "FFMpegHandler",
"order": 60,
"commandPath": "/usr/local/bin/ffmpeg",
"defaultMediaType": "video/mp4",
"acceptedFormatsMap": {
"video/mp4": "mp4",
"video/x-msvideo": "avi",
"video/ogg": "ogg",
"audio/x-wav": "wav",
"audio/mpeg": "mp3",
"audio/aac": "m4a",
"image/jpeg": "image2pipe",
"image/png": "png_image2pipe"
}
},
"tesseract": {
"handler-type": "TesseractHandler",
"order": 70,
"commandPath": "/usr/local/bin/tesseract"
},
"pdf2txt": {
"handler-type": "Pdf2TextHandler",
"order": 80,
"commandPath": "/usr/local/bin/pdftotext"
}
}