Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (21 loc) · 584 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 584 Bytes

ffmpeg

a go library interface around the ffmpeg command line tool

GoDoc

Usage

// For creating a video from many images
cmd, err := ffmpeg.Command(nil,
	ffmpeg.Input("foo-%03d.jpeg"),
	ffmpeg.Output("foo.avi",
		ffmpeg.WithSize(ffmpeg.AllStreamSpecifier(), 1920,1080)))
if err != nil {
	// ... handle error
}

if err := cmd.Run(); err != nil {
	// ... handle error
}

License

MIT