code: def extract_meta_video(file):
      """
      Extracts metadata from a valid video file
      """
      logger.debug("Extracting Metadata from {}".format(file))
      meta = validate_video(return_static_ffmpeg(), file, logging=True)
      return meta
  
imports: import os
  import cv2
  import queue
  import pytest
  import m3u8
  import logging
  import platform
  import tempfile
  from mpegdash.parser import MPEGDASHParser
  from vidgear.gears import CamGear, StreamGear
  from vidgear.gears.helper import logger_handler, validate_video
label_desc: Use image node_id 4 for calling a global function with example usage: extract_meta_video(file) and returns: meta