https://github.com/tsoding/2mpeg4yuv
It's 2mpeg4yuv
https://github.com/tsoding/2mpeg4yuv
Last synced: 13 days ago
JSON representation
It's 2mpeg4yuv
- Host: GitHub
- URL: https://github.com/tsoding/2mpeg4yuv
- Owner: tsoding
- License: mit
- Created: 2021-08-17T13:02:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-22T22:50:09.000Z (over 4 years ago)
- Last Synced: 2025-04-29T12:15:08.665Z (11 months ago)
- Language: Rust
- Size: 243 KB
- Stars: 19
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2mpeg4yuv

Simple playground project to explore the [YUV4MPEG2](https://wiki.multimedia.cx/index.php?title=YUV4MPEG2) format.
## Quick Start
Install the [Rust Compiler](https://www.rust-lang.org/)
> [!IMPORTANT]
> Make sure to always build with the `--release`, because the default Rust build is offensively slow.
### Preview
```console
$ cargo run --release -- preview
```
> [!WARNING]
> The preview may potentially produce loud clipping sounds!
> [!IMPORTANT]
> The preview currently works only on Linux, but feel free to contribute support for more platforms.
### Render
```console
$ cargo run --release -- render
$ mpv output.mp4
```
> [!WARNING]
> The render generates files up to 1.3GB! Make sure you have enough disk space.