ffmpeg -y

main
bel 2025-05-17 19:37:10 -06:00
parent 8b668af899
commit 2897a55842
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ func deport(ctx context.Context, p string) error {
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)
}
}
@ -54,7 +54,7 @@ func deport(ctx context.Context, p string) error {
continue
}
if err := ffmpeg(ctx, "-i", ass, srt); err != nil {
if err := ffmpeg(ctx, "-y", "-i", ass, srt); err != nil {
return err
}
}