code: def test_ffmpeg_stabilize_video(util):
      stabilize_video_tempdir = os.path.join(
          util.TMP_DIR, "moviepy_ffmpeg_stabilize"
      )
      if os.path.isdir(stabilize_video_tempdir):
          shutil.rmtree(stabilize_video_tempdir)
      os.mkdir(stabilize_video_tempdir)
  
      # no output file
      ffmpeg_stabilize_video(
          "media/bitmap.mp4",
          output_dir=stabilize_video_tempdir,
          logger=None,
      )
  
      expected_filepath = os.path.join(
          stabilize_video_tempdir, "bitmap_stabilized.mp4"
      )
      assert os.path.isfile(expected_filepath)
  
      # with output file
      ffmpeg_stabilize_video(
          "media/bitmap.mp4",
          output_dir=stabilize_video_tempdir,
          outputfile="foo.mp4",
          logger=None,
      )
      expected_filepath = os.path.join(
          stabilize_video_tempdir, "foo.mp4"
      )
      assert os.path.isfile(expected_filepath)
  
      # don't overwrite file
      with pytest.raises(OSError):
          ffmpeg_stabilize_video(
              "media/bitmap.mp4",
              output_dir=stabilize_video_tempdir,
              outputfile="foo.mp4",
              overwrite_file=False,
              logger=None,
          )
  
      if os.path.isdir(stabilize_video_tempdir):
          try:
              shutil.rmtree(stabilize_video_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 3 for calling a global function with example usage: test_ffmpeg_stabilize_video(util) without return types