Skip to content

Commit

Permalink
🤫
Browse files Browse the repository at this point in the history
  • Loading branch information
zfleeman committed Mar 11, 2024
1 parent 1a2c603 commit 6ac0f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffmpeg4discord/twopass.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ def run(self) -> float:

# First Pass
ffOutput = ffmpeg.output(video, "pipe:", **params["pass1"])
# ffOutput = ffOutput.global_args("-loglevel", "quiet", "-stats")
ffOutput = ffOutput.global_args("-loglevel", "quiet", "-stats")
print("Performing first pass")
std_out, std_err = ffOutput.run(capture_stdout=True)

# Second Pass
ffOutput = ffmpeg.output(video, audio, self.output_filename, **params["pass2"])
# ffOutput = ffOutput.global_args("-loglevel", "quiet", "-stats")
ffOutput = ffOutput.global_args("-loglevel", "quiet", "-stats")
print("\nPerforming second pass")
ffOutput.run(overwrite_output=True)

Expand Down

0 comments on commit 6ac0f8d

Please sign in to comment.