diff --git a/tests/test_codec_context.py b/tests/test_codec_context.py index 2f9a34aa7..1a2b189cc 100644 --- a/tests/test_codec_context.py +++ b/tests/test_codec_context.py @@ -269,7 +269,7 @@ def image_sequence_encode(self, codec_name): self.assertEqual(frame.format.name, pix_fmt) def test_encoding_h264(self): - self.video_encoding("libx264", {"crf": "19"}) + self.video_encoding("h264", {"crf": "19"}) def test_encoding_mpeg4(self): self.video_encoding("mpeg4") diff --git a/tests/test_encode.py b/tests/test_encode.py index 3ca031794..d0939470a 100644 --- a/tests/test_encode.py +++ b/tests/test_encode.py @@ -151,7 +151,7 @@ def test_encoding_with_pts(self): path = self.sandboxed("video_with_pts.mov") with av.open(path, "w") as output: - stream = output.add_stream("libx264", 24) + stream = output.add_stream("h264", 24) self.assertIn(stream, output.streams.video) stream.width = WIDTH stream.height = HEIGHT