ffmpeg -y
parent
8b668af899
commit
2897a55842
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue