code: def fixture_video_mp4():
      """fixture_video_mp4"""
      # TODO: need to check content. But for the moment, only length has been checked.
      # It is possible to manually validate. Since on mac the output format is NV12
      # the following could be used to convert to jpg for manual check.
      # Note the extension should be .yuv as .420v will report error.
      # macOS: ffmpeg -s 1280x720 -pix_fmt nv12 -i frame_{i}.yuv frame_{i}.jpg
      path = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "test_video",
          "small.mp4",
      )
  
      args = path
  
      def func(e):
          dataset = tfio.experimental.IODataset.from_video(e)
          dataset = dataset.map(tf.strings.length)
          return dataset
  
      expected = [560 * 320 * 3 / 2 for _ in range(166)]
  
      return args, func, expected
  
imports: import os
  import sys
  import time
  import shutil
  import tempfile
  import numpy
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 33 for calling a global function with example usage: fixture_video_mp4() and returns: args,  func,  expected, dataset