Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
/ go-astiffmpeg Public archive
forked from asticode/go-astiffmpeg

Use your FFMpeg binary to manipulate your video files

License

Notifications You must be signed in to change notification settings

MolotovTv/go-astiffmpeg

 
 

Repository files navigation

Use your FFMpeg binary to manipulate your video files

Usage

WARNING: the code below doesn't handle errors for readibility purposes. However you SHOULD!

// Build astiffmpeg
var f = astiffmpeg.New(astiffmpeg.Configuration{BinaryPath: <your binary path>})

// Make sure stderr is parsed to retrieve ffmpeg progression
f.SetStdErrParser(astiffmpeg.DefaultStdErrParser(time.Second, func(r astiffmpeg.DefaultStdErrResults) {
    astilog.Debugf("time: %s", r.Time.String())
}))

About

Use your FFMpeg binary to manipulate your video files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%