Skip to content

Commit e2c477d

Browse files
committed
Quiet x265 logs
1 parent b6969dc commit e2c477d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

auto_editor/cmds/test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,9 +516,6 @@ def test_decode_hevc(self):
516516
assert output.videos[0].pix_fmt == "yuv420p"
517517

518518
def test_encode_hevc(self):
519-
if os.environ.get("GITHUB_ACTIONS") == "true":
520-
raise SkipTest()
521-
522519
out = self.main(["resources/testsrc.mp4"], ["-c:v", "hevc"], "out.mkv")
523520
output = fileinfo(out)
524521
assert output.videos[0].codec == "hevc"

auto_editor/render/video.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def render_av(
120120

121121
del codec
122122
output_stream = output.add_stream(args.video_codec, rate=target_fps)
123+
output_stream.options = {"x265-params": "log-level=error"}
123124

124125
cc = output_stream.codec_context
125126
if args.vprofile is not None:

0 commit comments

Comments
 (0)