feat: backend now uses ffmpeg as local package on server to convert video to audio, added package to dockerfile, naming conventions

This commit is contained in:
theoleuthardt 2025-02-22 15:25:08 +01:00
parent 95c8ba211c
commit f16661d1fd
7 changed files with 143 additions and 84 deletions

View file

@ -8,7 +8,7 @@ import { regexTest } from "./src/routes/regextest.route";
import { tmzConvert } from "./src/routes/tmzconvert.route";
import { generateQRCode } from "./src/routes/generateqrcode.route";
import { wordCounter } from "./src/routes/wordcounter.route";
import { videoConvert } from "./src/routes/videoconvert.route";
import { videoToAudio } from "./src/routes/videotoaudio.route";
const app = Fastify({ logger: true });
@ -26,7 +26,7 @@ app.register(regexTest);
app.register(tmzConvert);
app.register(generateQRCode);
app.register(wordCounter);
app.register(videoConvert);
app.register(videoToAudio);
const PORT = process.env.PORT || 4000;
app.listen({ port: Number(PORT), host: "0.0.0.0" }, () => {