code: def getFrameRate(path):
      """
      Returns framerate of video(at path provided) using FFmpeg
      """
      process = subprocess.Popen(
          [return_static_ffmpeg(), "-i", path],
          stdout=subprocess.PIPE,
          stderr=subprocess.STDOUT,
      )
      stdout, _ = process.communicate()
      output = stdout.decode()
      match_dict = re.search(
          r"\s(?P<fps>[\d\.]+?)\stbr", output
      ).groupdict()
      return float(match_dict["fps"])
  
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 4 for calling a global function with example usage: getFrameRate(path) and returns: float