GoDevNet: Vladimir Vivien - Realtime Video Capture with Go: Using the Video for Linux API (V4L2)

Опубликовано: 17 Июль 2026
на канале: GoDevNet
456
11

Realtime Video Capture with Go: Using the Video for Linux API (V4L2) directly to do realtime video capture from attached camera hardware devices.

Go has proven itself to be an indispensable tool in the realm of cloud computing. It turns out that Go, however, is also a great tool to build safe and performant programs that can make calls directly to the underlying operating system, without the use of cgo.

This talk explores how to use Go to create Linux userspace programs that use the Video for Linux API (V4L2) to control video hardware, directly, to capture image data in realtime. It will look at V4L2 API and the Go packages involved in making the system calls that are used to interact with the underlying device drivers.