Skip to content

v0.0.1

Compare
Choose a tag to compare
@vladimirvivien vladimirvivien released this 14 Nov 22:39
· 50 commits to main since this release
1a3878d

This release comes after an internal rewrite to use cgo-generated types and values (instead of hand-crafted types) to deal with type alignment issues. Since the project targets the Linux OS, there is no need to be concerned with portability or cross-platform supportability.

The API is the same from the previous release. However, there are some changes that will cause code breakage (if you are using the previously tagged version) in how some types expose their values.

Features

  • Capture and control video data from your Go programs
  • Idiomatic Go API for device access and video capture
  • Use cgo-generated types for correct data representation in Go
  • Use familiar types such as channels to stream video data
  • Exposes device enumeration and information
  • Provides device capture control
  • Access to video format information
  • Streaming support using memory map (other methods coming later)

Examples

The ./examples directory contains additional examples including:

  • device_info - queries and prints devince information
  • webcam - uses the v4l2 package to create a simple webcam that streams images from an attached camera accessible via a web page.