class_docstr: Implement FFmpeg wrapper for video compression defence based on H.264/MPEG-4 AVC.
  
  Video compression uses H.264 video encoding. The video quality is controlled with the constant rate factor
  parameter. More information on the constant rate factor: https://trac.ffmpeg.org/wiki/Encode/H.264.
code: def _check_params(self) -> None:
      if not (
          isinstance(self.constant_rate_factor, int)
          and 0 <= self.constant_rate_factor < 52
      ):
          raise ValueError(
              "Constant rate factor must be an integer in the range [0, 51]."
          )
  
      if not isinstance(self.verbose, bool):
          raise ValueError(
              "The argument `verbose` has to be of type bool."
          )
  
file_path: adversarial-robustness-toolbox/art/defences/preprocessor/video_compression_pytorch.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  from typing import Optional, Tuple, TYPE_CHECKING
  from art.defences.preprocessor.preprocessor import PreprocessorPyTorch
  from art.defences.preprocessor.video_compression import VideoCompression
label_desc: Use image node_id 3 for calling the VideoCompressionPyTorch obj's underlying member method code with example usage: obj._check_params() without return types