code: def test_ffmpeg_extract_subclip(util):
      extract_subclip_tempdir = os.path.join(
          util.TMP_DIR, "moviepy_ffmpeg_extract_subclip"
      )
      if os.path.isdir(extract_subclip_tempdir):
          shutil.rmtree(extract_subclip_tempdir)
      os.mkdir(extract_subclip_tempdir)
  
      inputfile = os.path.join(extract_subclip_tempdir, "fire2.mp4")
      shutil.copyfile("media/fire2.mp4", inputfile)
  
      # default name
      expected_outputfile = os.path.join(
          extract_subclip_tempdir, "fire2SUB300_500.mp4"
      )
      ffmpeg_extract_subclip(inputfile, 0.3, "00:00:00,5", logger=None)
      assert os.path.isfile(expected_outputfile)
  
      # custom name
      expected_outputfile = os.path.join(
          extract_subclip_tempdir, "foo.mp4"
      )
      ffmpeg_extract_subclip(
          inputfile,
          0.3,
          "00:00:00,5",
          outputfile=expected_outputfile,
          logger=None,
      )
      assert os.path.isfile(expected_outputfile)
  
      # assert subclip duration
      clip = VideoFileClip(expected_outputfile)
      assert 0.18 <= clip.duration <= 0.22  # not accurate
  
      if os.path.isdir(extract_subclip_tempdir):
          try:
              shutil.rmtree(extract_subclip_tempdir)
          except PermissionError:
              pass
  
imports: import os
  import shutil
  import pytest
  from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip, ffmpeg_resize, ffmpeg_stabilize_video
  from moviepy.video.io.VideoFileClip import VideoFileClip
label_desc: Use image node_id 1 for calling a global function with example usage: test_ffmpeg_extract_subclip(util) without return types