code: def video_decoder_pipeline(input_name, device="cpu"):
      data = fn.external_source(
          name=input_name, dtype=types.UINT8, ndim=1
      )
      vid = fn.experimental.decoders.video(data, device=device)
      return vid
  
file_path: DALI/dali/test/python/input/test_video.py
imports: import glob
  import itertools
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.types
  from nose2.tools import params
  from nose_utils import assert_raises
  from nvidia.dali import pipeline_def
  from test_utils import get_dali_extra_path, to_array
label_desc: Use image node_id 2 for calling a global function with example usage: video_decoder_pipeline(input_name, device) and returns: vid