| Crates.io | pgn2mp4 |
| lib.rs | pgn2mp4 |
| version | 0.0.2 |
| created_at | 2025-05-01 10:54:17.199306+00 |
| updated_at | 2025-05-01 12:47:46.416206+00 |
| description | Easily convert chess games into videos |
| homepage | |
| repository | https://github.com/tforgione/pgn2mp4 |
| max_upload_size | |
| id | 1656110 |
| size | 193,895 |
Easily convert chess games into videos.
https://github.com/user-attachments/assets/59129378-c0b3-4284-92ae-30bffa887322
First install Rust and ffmpeg.
Then, you can install pgn2mp4 by running
cargo install pgn2mp4
Simply run
pgn2mp4 input.pgn ouptut.mp4
-b, --black: renders the video with the black's perspective-s, --size: size of the final video-p, --pause: number of frames between each move-t, --transition: number of frames for each piece motion-q, --quiet: disable printing moves on stderr