GopherCon 2022: System Programming for Real-time Video Capture in Go - Vladimir Vivien
Автор: Gopher Academy
Загружено: 2022-12-20
Просмотров: 3599
Описание:
The Go standard library provides robust abstractions that allow developers to write programs that can easily make system calls to interact with the file system, communicate with the network, launch external processes, receive system signals, and so on. It turns out, Go programs can also use the same mechanism to initiate control of hardware drivers to capture video streams in real time.
This tutorial explores how to use Go to create programs that can issue direct I/O calls to attached devices using functions from the syscall package. You will learn how to interact with the Linux userspace video API (V4L2) to issue control commands to attached video hardware. You will see how this approach can be used to capture and stream image data in real-time to build webcam programs. This talk will also explore the implications of properly mapping and sharing data between your Go program and the driver to ensure kernel compatibility.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: