12 lines
338 B
JavaScript
12 lines
338 B
JavaScript
|
import Encoder from './encoder.mjs'
|
||
|
|
||
|
export function startup(core) {
|
||
|
core.db.data.ffmpeg = core.db.data.ffmpeg || {}
|
||
|
core.db.data.ffmpeg.program = 'ffmpeg.exe'
|
||
|
core.db.data.ffmpeg.options = ['--help']
|
||
|
core.db.write()
|
||
|
return new Encoder({
|
||
|
program: core.db.data.ffmpeg.program,
|
||
|
options: core.db.data.ffmpeg.options,
|
||
|
})
|
||
|
}
|