peggy
NOTE: This package is WIP
gleam add peggy
import peggy
pub fn main() {
  // creates a 5 second video of black screen
  peggy.new_command()
  |> peggy.fmt("lavfi")
  |> peggy.input("color=c=black:s=1920x1080:d=5")
  |> peggy.video_codec("libx264")
  |> peggy.duration("5")
  |> peggy.output("output.mp4")
  |> peggy.exec_sync
}
Further documentation can be found at https://hexdocs.pm/peggy.
Development
gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell