1 Commits
1.0.1 ... 1.0.2

Author SHA1 Message Date
René Preuß
2644c30bf2 Add @ffmpeg-installer/ffmpeg 2023-03-03 15:06:41 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -42,6 +42,9 @@ export class Encoder {
async encode(): Promise<void> {
this.listeners.onStart(this.id)
const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
ffmpeg.setFfmpegPath(ffmpegPath)
ffmpeg(this.input)
.outputOptions(this.getOutputOptions())
.output(this.output)

View File

@@ -2,7 +2,7 @@
"name": "rerun-encoder",
"private": true,
"productName": "Rerun Encoder",
"version": "1.0.1",
"version": "1.0.2",
"description": "Official Rerun Encoder App for Rerun Manager",
"main": "dist-electron/main/index.js",
"scripts": {
@@ -57,6 +57,7 @@
"vue-tsc": "^1.1.7"
},
"dependencies": {
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"@koa/cors": "^4.0.0",
"axios": "^1.3.4",
"cors": "^2.8.5",