code: def return_testvideo_path(fmt="av"):
      """
      returns Test video path
      """
      supported_fmts = {
          "av": "BigBuckBunny_4sec.mp4",
          "vo": "BigBuckBunny_4sec_VO.mp4",
          "ao": "BigBuckBunny_4sec_AO.mp4",
      }
      req_fmt = fmt if (fmt in supported_fmts) else "av"
      path = "{}/Downloads/Test_videos/{}".format(
          tempfile.gettempdir(), supported_fmts[req_fmt]
      )
      return os.path.abspath(path)
  
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 2 for calling a global function with example usage: return_testvideo_path(fmt) and returns: os