code: def _create_file_list_include_preceding_frame_pipe(
      file_list_include_preceding_frame,
  ):
      files = sorted(os.listdir(VIDEO_DIRECTORY))
      list_file = tempfile.NamedTemporaryFile(mode="w", delete=False)
      # make sure that this is close enough to show only one frame
      list_file.write(
          "{} {} {} {}\n".format(
              os.path.join(VIDEO_DIRECTORY, files[0]), 0, 0.111, 0.112
          )
      )
      list_file.close()
  
      pipe = VideoPipeList(
          batch_size=BATCH_SIZE,
          data=list_file.name,
          sequence_length=1,
          file_list_frame_num=False,
          file_list_include_preceding_frame=file_list_include_preceding_frame,
      )
  
      return pipe, list_file.name
  
imports: import os
  import math
  from test_utils import get_gpu_num
  from test_utils import get_dali_extra_path
  import nvidia.dali.ops
  import nvidia.dali.types
  from nvidia.dali.pipeline import Pipeline, pipeline_def
  import nvidia.dali.fn
  import numpy
  import tempfile
  from test_utils import check_output_pattern
  from nose_utils import assert_raises, raises
label_desc: Use image node_id 11 for calling a global function with example usage: _create_file_list_include_preceding_frame_pipe(file_list_include_preceding_frame) and returns: pipe,  list_file