code: def test_input_framerate(c_ffmpeg):
      """
      Testing "-input_framerate" parameter provided by WriteGear(in Compression Mode)
      """
      stream = cv2.VideoCapture(return_testvideo_path())  # Open stream
      test_video_framerate = stream.get(cv2.CAP_PROP_FPS)
      output_params = (
          {"-input_framerate": test_video_framerate}
          if (c_ffmpeg != "wrong_path")
          else {"-input_framerate": "wrong_input"}
      )
      writer = WriteGear(
          output="Output_tif.mp4",
          custom_ffmpeg=c_ffmpeg,
          logging=True,
          **output_params,
      )  # Define writer
      while True:
          (grabbed, frame) = stream.read()
          if not grabbed:
              break
          writer.write(frame)
      stream.release()
      writer.close()
      output_video_framerate = getFrameRate(
          os.path.abspath("Output_tif.mp4")
      )
      assert test_video_framerate == output_video_framerate
      remove_file_safe("Output_tif.mp4")
  
imports: import os
  import re
  import cv2
  import pytest
  import logging
  import platform
  import tempfile
  import subprocess
  from six import string_types
  from deffcode import FFdecoder
  from vidgear.gears import WriteGear
  from vidgear.gears.helper import check_output, logger_handler
label_desc: Use image node_id 6 for calling a global function with example usage: test_input_framerate(c_ffmpeg) without return types