code: def test_full_range_video():
      @pipeline_def
      def test_pipeline():
          videos = fn.readers.video(
              device="gpu",
              filenames=[
                  get_dali_extra_path()
                  + "/db/video/full_dynamic_range/video.mp4"
              ],
              sequence_length=1,
              initial_fill=10,
              normalized=False,
              dtype=types.UINT8,
          )
          return videos
  
      video_pipeline = test_pipeline(
          batch_size=1, num_threads=1, device_id=0
      )
  
      video_pipeline.build()
      o = video_pipeline.run()
      out = o[0].as_cpu().as_array()
      ref = cv2.imread(
          get_dali_extra_path()
          + "/db/video/full_dynamic_range/0001.png"
      )
      ref = cv2.cvtColor(ref, cv2.COLOR_BGR2RGB)
      left = ref
      right = out
      absdiff = np.abs(left.astype(int) - right.astype(int))
      assert np.mean(absdiff) < 2
  
imports: import nvidia.dali.fn
  from nvidia.dali import pipeline_def
  import numpy
  import cv2
  import nvidia.dali.types
  import glob
  from itertools import cycle
  from test_utils import get_dali_extra_path, is_mulit_gpu
  from nvidia.dali.backend import TensorListGPU
  from nose2.tools import params
  from nose import SkipTest
  from nose.plugins.attrib import attr
label_desc: Use image node_id 8 for calling a global function with example usage: test_full_range_video() and returns: videos