Skip to content

Commit

Permalink
add -y to vidclip static_ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Aug 30, 2024
1 parent 69761be commit e12e1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zcmds/cmds/common/vidclip.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def encode(
from_stmt = f"-ss {start_timestamp}"
if end_timestamp:
to_stmt = f"-to {end_timestamp}"
cmd = f'static_ffmpeg -hide_banner -i "{infile}" -c:v libx264 {vf_scale_part} -preset veryslow -crf {crf} {from_stmt} {to_stmt} "{output_path}"'
cmd = f'static_ffmpeg -hide_banner -i -y "{infile}" -c:v libx264 {vf_scale_part} -preset veryslow -crf {crf} {from_stmt} {to_stmt} "{output_path}"'
print_fcn(f"Executing:\n {cmd}\n")
rtn, _, _ = exec(cmd)
if rtn != 0:
Expand Down

0 comments on commit e12e1be

Please sign in to comment.