code: def test_video_compresssion(art_warning, video_batch, channels_first):
      try:
          test_input, test_output = video_batch
          video_compression = VideoCompression(
              video_format="mp4",
              constant_rate_factor=0,
              channels_first=channels_first,
          )
  
          assert_array_equal(
              video_compression(test_input)[0], test_output
          )
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/defences/preprocessor/test_video_compression.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from art.defences.preprocessor import VideoCompression
  from tests.utils import ARTTestException
label_desc: Use image node_id 2 for calling a global function with example usage: test_video_compresssion(art_warning, video_batch, channels_first) without return types