Integração: falantes + dublagem + vídeo final

- editor_api: importa dub e speakers juntos.
- voice_chunks (falantes) vira a migração v15, depois da v14 do vídeo final (antes era criada fora das migrações).
- dub.voice_for: qualquer voz que não é o streamer (other1, other2…) usa a segunda voz da dublagem.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Mateuus
2026-11-18 03:59:44 -03:00
co-authored by Claude Opus 5.5
24 changed files with 1671 additions and 129 deletions
+4 -1
View File
@@ -141,7 +141,8 @@ export type ClipAnalysis = {
/** Fonte em inglês: a fala do corte em frases (tempo da sessão) com a tradução em português. */
export type ClipTranslation = {
language: string; startS: number; endS: number; model?: string;
lines: { s: number; e: number; text: string; pt: string }[];
/** `speaker` = quem fala a frase ("streamer" ou "other1", "other2"…; ausente nas traduções antigas = streamer). */
lines: { s: number; e: number; text: string; pt: string; speaker?: string }[];
};
export type ClipJudge = null
@@ -238,6 +239,8 @@ export type CutSettings = {
caption: {
enabled: boolean; font: string; size: number; color: string; highlight: string; outline: string;
outlineWidth: number; y: number | null; uppercase: boolean; maxWords: number;
/** Fala de outra pessoa (colega no Discord, voz do jogo): cor e tamanho (null = 85 % de `size`). Serviço antigo não manda. */
otherColor?: string; otherSize?: number | null;
/** Legado: virou `dev.translation`. */
translation?: boolean;
};