code: def return_youtubevideo_params(url):
      """
      returns Youtube Video parameters(FPS, dimensions) directly using Youtube-dl
      """
      import yt_dlp
  
      ydl = yt_dlp.YoutubeDL(
          {
              "outtmpl": "%(id)s%(ext)s",
              "noplaylist": True,
              "quiet": True,
              "format": "bestvideo",
          }
      )
      with ydl:
          result = ydl.extract_info(
              url, download=False
          )  # We just want to extract the info
      return (
          int(result["width"]),
          int(result["height"]),
          float(result["fps"]),
      )
  
file_path: vidgear/vidgear/tests/videocapture_tests/test_camgear.py
imports: import os
  import cv2
  import time
  import queue
  import numpy
  import pytest
  import logging
  import platform
  import tempfile
  from vidgear.gears import CamGear
  from vidgear.gears.helper import logger_handler
label_desc: Use image node_id 1 for calling a global function with example usage: return_youtubevideo_params(url) and returns: int,  int,  float