code: def get_video_fps(video_path: str) -> Optional[float]:
      video_info = get_video_info(video_path)
  
      try:
          frame_rate = video_info["avg_frame_rate"]
          # ffmpeg often returns fractional framerates, e.g. 225480/7523
          if "/" in frame_rate:
              num, denom = (float(f) for f in frame_rate.split("/"))
              return num / denom
          else:
              return float(frame_rate)
      except Exception:
          return None
  
imports: import math
  import os
  import shutil
  import tempfile
  from typing import Any, Dict, List, Optional
  import ffmpeg
  import numpy
  from augly.audio import utils
  from augly.utils import pathmgr, SILENT_AUDIO_PATH
  from augly.utils.ffmpeg import FFMPEG_PATH, FFPROBE_PATH
  from vidgear.gears import WriteGear
label_desc: Use image node_id 6 for calling a global function with example usage: get_video_fps(video_path) and returns: unknown, float, None