def test_video_decoding_timeout(self):
        """Test that a timeout error is raised for slow video decoding."""
        valid_url = TestVideoUrls.VIDEO1.value
        streaming_media_processor_object = StreamingMediaProcessor(
            url=valid_url, preprocessors=self.test_preprocessor,
            preprocessing_config=self.test_video_preprocessing_config
        )
        streaming_media_processor_object.VIDEO_CPU_TIMOUT_OUT_MULTIPLIER = 0.01  # Reduce timeout for testing

        with self.assertRaises(MediaDownloadError) as e:
            streaming_media_processor_object.fetch_video_chunk(0, 100, self.output_file)
        self.assertIn("timed out", str(e.exception))
Test that a timeout error is raised for slow video decoding.
tests/integ_tests/inference/native_inference/media_download_and_preprocess/test_streaming_media_preprcessor.py