pgn2mp4

Crates.iopgn2mp4
lib.rspgn2mp4
version0.0.2
created_at2025-05-01 10:54:17.199306+00
updated_at2025-05-01 12:47:46.416206+00
descriptionEasily convert chess games into videos
homepage
repositoryhttps://github.com/tforgione/pgn2mp4
max_upload_size
id1656110
size193,895
Thomas Forgione (tforgione)

documentation

README

pgn2mp4

Easily convert chess games into videos.

https://github.com/user-attachments/assets/59129378-c0b3-4284-92ae-30bffa887322

Installation

First install Rust and ffmpeg.

Then, you can install pgn2mp4 by running

cargo install pgn2mp4

Usage

Simply run

pgn2mp4 input.pgn ouptut.mp4

Options

  • -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
Commit count: 11

cargo fmt