tfio.experimental.ffmpeg.decode_video
Stay organized with collections
Save and categorize content based on your preferences.
Decode video stream from a video file.
tfio.experimental.ffmpeg.decode_video(
content, index=0, name=None
)
Args |
content
|
A Tensor of type string .
|
index
|
The stream index.
|
Returns |
value
|
A uint8 Tensor.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-02-15 UTC.
[null,null,["Last updated 2022-02-15 UTC."],[],[],null,["# tfio.experimental.ffmpeg.decode_video\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/io/blob/v0.24.0/tensorflow_io/python/experimental/ffmpeg_ops.py#L18-L32) |\n\nDecode video stream from a video file. \n\n tfio.experimental.ffmpeg.decode_video(\n content, index=0, name=None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------|------------------------------|\n| `content` | A `Tensor` of type `string`. |\n| `index` | The stream index. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---------|-------------------|\n| `value` | A `uint8` Tensor. |\n\n\u003cbr /\u003e"]]