-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc.go
More file actions
27 lines (27 loc) · 829 Bytes
/
doc.go
File metadata and controls
27 lines (27 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Package ffmpeg provides Go bindings to FFmpeg 8.0 libraries.
//
// This package includes static FFmpeg libraries with hardware acceleration
// support (NVENC, VideoToolbox, Vulkan, QuickSync) and contemporary codecs
// (H.264, H.265, VP8/9, AV1).
//
// The package provides direct access to FFmpeg's C API through CGO bindings.
// All FFmpeg functions are available with their original names prefixed with AV*.
//
// Example usage:
//
// import "github.com/linuxmatters/ffmpeg-statigo"
//
// func main() {
// var ctx *ffmpeg.AVFormatContext
// url := ffmpeg.ToCStr("input.mp4")
// defer url.Free()
//
// _, err := ffmpeg.AVFormatOpenInput(&ctx, url, nil, nil)
// if err != nil {
// panic(err)
// }
// defer ffmpeg.AVFormatFreeContext(ctx)
// }
//
// For complete examples, see the examples/ directory.
package ffmpeg