code: def concat_videos(input_paths, output_path, verbose=False):
      """Concatenates the given list of videos, in order, into a single video.
  
      Args:
          input_paths: a list of video paths
          output_path: the path to write the output video
          verbose (False): whether to log the ``ffmpeg`` command that is executed
      """
      with etau.TempDir() as tmp_dir:
          input_list_path = os.path.join(tmp_dir, "input_list.txt")
          with open(input_list_path, "w") as f:
              f.write(
                  "\n".join(
                      ["file '%s'" % path for path in input_paths]
                  )
              )
  
          in_opts = ["-f", "concat", "-safe", "0"]
          out_opts = ["-c", "copy"]
  
          with etav.FFmpeg(
              in_opts=in_opts, out_opts=out_opts
          ) as ffmpeg:
              ffmpeg.run(input_list_path, output_path, verbose=verbose)
  
imports: import itertools
  import json
  import logging
  import os
  import eta.core.frameutils
  import eta.core.image
  import eta.core.numutils
  import eta.core.utils
  import eta.core.video
  import fiftyone
  import fiftyone.core.metadata
  import fiftyone.core.storage
  import fiftyone.core.utils
  import fiftyone.core.validation
label_desc: Use image node_id 9 for calling a global function with example usage: concat_videos(input_paths, output_path, verbose) without return types