# Module: tf.contrib.ffmpeg

<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/__init__.py) |

Working with audio using FFmpeg.

See the [FFMPEG](https://tensorflow.org/api_guides/python/contrib.ffmpeg) guide.

## Functions

[`decode_audio(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/ffmpeg/decode_audio): Create an op that decodes the contents of an audio file. (deprecated)

[`decode_video(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/ffmpeg/decode_video): Create an op that decodes the contents of a video file. (deprecated)

[`encode_audio(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/ffmpeg/encode_audio): Creates an op that encodes an audio file using sampled audio from a tensor. (deprecated)