减少output频率
This commit is contained in:
parent
05f421767a
commit
9bdd4cdcb6
@ -189,7 +189,7 @@ def handle_ffmpeg_output(stderr: IO[bytes]) -> str:
|
||||
if line.startswith(b"speed="):
|
||||
speed = line.replace(b"speed=", b"").decode().strip()
|
||||
_i += 1
|
||||
if _i % 60 == 30:
|
||||
if _i % 120 == 90:
|
||||
print("[>]Speed:", out_time, "@", speed)
|
||||
print("[ ]Speed:", out_time, "@", speed)
|
||||
return out_time
|
||||
|
Loading…
x
Reference in New Issue
Block a user