diff --git a/scripts/build-deps b/scripts/build-deps index d278c27c0..f34ed5a5b 100755 --- a/scripts/build-deps +++ b/scripts/build-deps @@ -57,11 +57,11 @@ echo ./configure --disable-doc \ --disable-static \ --disable-stripping \ + --disable-libxml2 \ --enable-debug=3 \ --enable-gpl \ --enable-version3 \ --enable-libx264 \ - --enable-libxml2 \ --enable-shared \ --enable-sse \ --enable-avx \ diff --git a/scripts/ffmpeg-7.1.json b/scripts/ffmpeg-7.1.json index 26641cedc..8a606aea3 100644 --- a/scripts/ffmpeg-7.1.json +++ b/scripts/ffmpeg-7.1.json @@ -1,3 +1,3 @@ { - "url": "https://github.com/PyAV-Org/pyav-ffmpeg/releases/download/7.1.1-4/ffmpeg-{platform}.tar.gz" + "url": "https://github.com/PyAV-Org/pyav-ffmpeg/releases/download/7.1.1-5/ffmpeg-{platform}.tar.gz" } diff --git a/tests/test_python_io.py b/tests/test_python_io.py index 3169ae047..5a4d1becf 100644 --- a/tests/test_python_io.py +++ b/tests/test_python_io.py @@ -237,42 +237,6 @@ def test_writing_to_buffer_broken_with_close(self) -> None: with pytest.raises(OSError): container.close() - @run_in_sandbox - def test_writing_to_custom_io_dash(self) -> None: - # Custom I/O that opens file and logs calls - wrapped_custom_io = CustomIOLogger() - - output_filename = "custom_io_output.mpd" - - # Write a DASH package using the custom IO. Prefix the name with CUSTOM_IO_PROTOCOL to - # avoid temporary file and renaming. - with av.open( - CUSTOM_IO_PROTOCOL + output_filename, "w", io_open=wrapped_custom_io - ) as container: - write_rgb_rotate(container) - - # Check that at least 3 files were opened using the custom IO: - # "output_filename", init-stream0.m4s and chunk-stream-0x.m4s - assert len(wrapped_custom_io._log) >= 3 - assert len(wrapped_custom_io._method_log) >= 3 - - # Check that all files were written to - all_write = all( - method_log._filter("write") for method_log in wrapped_custom_io._method_log - ) - assert all_write - - # Check that all files were closed - all_closed = all( - method_log._filter("close") for method_log in wrapped_custom_io._method_log - ) - assert all_closed - - # Check contents. - # Note that the dash demuxer doesn't support custom I/O. - with av.open(output_filename, "r") as container: - assert_rgb_rotate(self, container, is_dash=True) - def test_writing_to_custom_io_image2(self) -> None: if not has_pillow: pytest.skip()