# tf.contrib.ffmpeg.decode_video

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/ffmpeg/ffmpeg_ops.py#L107-L120) |

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

    tf.contrib.ffmpeg.decode_video(
        contents
    )

> [!WARNING]
> **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed after 2018-09-04. Instructions for updating: tf.contrib.ffmpeg will be removed in 2.0, the support for video and audio will continue to be provided in tensorflow-io: <https://github.com/tensorflow/io>

<br />

<br />

<br />

| ## Args ||
|---|---|
| `contents` | The binary contents of the video file to decode. This is a scalar. |

<br />

<br />

<br />

<br />

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

<br />