We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 337edfc commit 254ad96Copy full SHA for 254ad96
web/src/lib/task-manager/queue.ts
@@ -69,7 +69,7 @@ const makeRemuxArgs = (info: CobaltLocalProcessingResponse) => {
69
if (["merge", "remux"].includes(info.type)) {
70
ffargs.push("-c:a", "copy");
71
72
- if (info.tunnel.length === 3) {
+ if (info.output.subtitles) {
73
ffargs.push(
74
"-c:s",
75
info.output.filename.endsWith(".mp4") ? "mov_text" : "webvtt"
web/src/lib/types/api.ts
@@ -73,6 +73,7 @@ export type CobaltLocalProcessingResponse = {
type: string, // mimetype
filename: string,
metadata?: CobaltFileMetadata,
76
+ subtitles?: boolean,
77
},
78
79
audio?: {
0 commit comments