ffmpeg -y

This commit is contained in:
bel
2025-05-17 19:37:10 -06:00
parent 8b668af899
commit 2897a55842

View File

@@ -36,7 +36,7 @@ func deport(ctx context.Context, p string) error {
stream.title, stream.title,
), ),
) )
if err := ffmpeg(ctx, "-i", p, "-map", stream.id, assF); err != nil { if err := ffmpeg(ctx, "-y", "-i", p, "-map", stream.id, assF); err != nil {
return fmt.Errorf("failed to pull %s from %s: %w", stream.id, p, err) return fmt.Errorf("failed to pull %s from %s: %w", stream.id, p, err)
} }
} }
@@ -54,7 +54,7 @@ func deport(ctx context.Context, p string) error {
continue continue
} }
if err := ffmpeg(ctx, "-i", ass, srt); err != nil { if err := ffmpeg(ctx, "-y", "-i", ass, srt); err != nil {
return err return err
} }
} }