tf.contrib.ffmpeg.decode_video

tf.contrib.ffmpeg.decode_video(contents)

Defined in tensorflow/contrib/ffmpeg/ffmpeg_ops.py.

Create an op that decodes the contents of a video file.

Args:

  • contents: The binary contents of the video file to decode. This is a scalar.

Returns:

A rank-4 Tensor that has [frames, height, width, 3] RGB as output.