code: def test_video_predict(video_path):
      """test_video_predict"""
      model = tf.keras.applications.resnet50.ResNet50(
          weights="imagenet"
      )
      x = (
          tfio.IODataset.from_ffmpeg(video_path, "v:0")
          .batch(1)
          .map(
              lambda x: tf.keras.applications.resnet50.preprocess_input(
                  tf.image.resize(x, (224, 224))
              )
          )
      )
      y = model.predict(x)
      p = tf.keras.applications.resnet50.decode_predictions(y, top=1)
      assert len(p) == 166
  
file_path: io/tests/test_ffmpeg.py
imports: import os
  import sys
  import pytest
  import numpy
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 8 for calling a global function with example usage: test_video_predict(video_path) without return types