Registry / utility / vansante-go-ffprobe-v2

vansante-go-ffprobe-v2

JSON →
library2.3.0gogounverified

Package ffprobe provides a Go interface to ffprobe for probing media files and extracting metadata.

go get gopkg.in/vansante/go-ffprobe.v2
INSTALL
IMPORT
SIG · VANSANTE-GO-FFPROB
V
vansante-go-ffprobe-v2
utilitygov2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ffprobe
gopkg.in/vansante/go-ffprobe.v2

Probe a media file and print its duration.

package main import ( "context" "fmt" "gopkg.in/vansante/go-ffprobe.v2" ) func main() { data, err := ffprobe.ProbeURL(context.Background(), "input.mp4") if err != nil { panic(err) } fmt.Println(data.Format.Duration) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
vansante-go-ffprobe-v2 — go get vansante-go-ffprobe-v2 · libregistry