-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathliqvid.config.ts
33 lines (30 loc) · 901 Bytes
/
liqvid.config.ts
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
// liqvid.config.ts
import type {LiqvidConfig} from "@liqvid/cli";
const os = require("os");
const config: LiqvidConfig = {
audio: {
transcribe: {
"input": "./dist/audio/audio.webm",
"captions": "./dist/captions.vtt",
"transcript": "./dist/transcript.json",
"apiKey": "ho6IutFyHawhFGGID3vU2PEz7_46-WKHTr6zhPNDU7e_",
"apiUrl": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/instances/ad816af7-c138-4671-8c42-7e4e7fdd5151"
}
},
render: {
audioFile: "./dist/audio/audio.webm",
concurrency: os.cpus().length,
imageFormat: "png"
},
thumbs: {
url: "http://localhost:3000/dist",
browserHeight: 800,
browserWidth: 1280,
concurrency: os.cpus().length,
frequency: 1,
imageFormat: "png",
// make sure the output pattern matches the imageFormat
output: "./dist/thumbs/%s.png"
}
};
module.exports = config;