code: def get_func_kwargs(
      metadata: Optional[List[Dict[str, Any]]],
      local_kwargs: Dict[str, Any],
      video_path: str,
      **kwargs,
  ) -> Dict[str, Any]:
      if metadata is None:
          return {}
      func_kwargs = deepcopy(local_kwargs)
      func_kwargs.pop("metadata")
      func_kwargs.update(
          {
              "src_video_info": helpers.get_video_info(video_path),
              "src_fps": helpers.get_video_fps(video_path),
              **kwargs,
          }
      )
      return func_kwargs
  
file_path: AugLy/augly/video/helpers/metadata.py
imports: from copy import deepcopy
  from typing import Any, Dict, List, Optional, Tuple
  from augly import utils
  from augly.video import helpers
  from augly.video.helpers import intensity
label_desc: Use image node_id 1 for calling a global function with example usage: get_func_kwargs(metadata, local_kwargs, video_path) and returns: func_kwargs, dict