Skip to content

Commit 07bc410

Browse files
committed
Nits
1 parent e460c49 commit 07bc410

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TorchCodec is a Python library for decoding video and audio data into PyTorch
66
tensors, on CPU and CUDA GPU. It also supports video and audio encoding on CPU!
77
It aims to be fast, easy to use, and well integrated
88
into the PyTorch ecosystem. If you want to use PyTorch to train ML models on
9-
videos and audio, TorchCodec is how you turn these into data.
9+
videos and audio, or run inference, TorchCodec is how you turn these into data.
1010

1111
We achieve these capabilities through:
1212

@@ -19,16 +19,14 @@ We achieve these capabilities through:
1919
* Returning data as PyTorch tensors, ready to be fed into PyTorch transforms
2020
or used directly to train models.
2121

22-
## Using TorchCodec
22+
## Usage Examples
2323

24-
Here's a condensed summary of what you can do with TorchCodec. For more detailed
25-
examples, [check out our
24+
Below are some examples of what you can do with TorchCodec. For more detailed
25+
examples and more use-cases, [check out our
2626
documentation](https://meta-pytorch.org/torchcodec/stable/generated_examples/)!
2727

2828
#### Video Decoding
2929

30-
Note: audio Decoding is also supported!
31-
3230
```python
3331
from torchcodec.decoders import VideoDecoder
3432

@@ -70,7 +68,6 @@ the `VideoDecoder`:
7068
ffmpeg -f lavfi -i testsrc2=size=640x400:duration=10:rate=25 /tmp/output_video.mp4
7169
```
7270

73-
7471
#### Encoding
7572

7673
```python

0 commit comments

Comments
 (0)