# v4l2camera **Repository Path**: GeekKernel/v4l2camera ## Basic Information - **Project Name**: v4l2camera - **Description**: No description available - **Primary Language**: Unknown - **License**: Unlicense - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-21 - **Last Updated**: 2025-04-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![CircleCI](https://circleci.com/gh/mpromonet/v4l2camera.svg?style=shield)](https://circleci.com/gh/mpromonet/v4l2camera) [![CirusCI](https://api.cirrus-ci.com/github/mpromonet/v4l2camera.svg?branch=master)](https://cirrus-ci.com/github/mpromonet/v4l2camera) [![Snap Status](https://snapcraft.io/v4l2camera/badge.svg)](https://snapcraft.io/v4l2camera) [![Release](https://img.shields.io/github/release/mpromonet/v4l2camera.svg)](https://github.com/mpromonet/v4l2camera/releases/latest) [![Download](https://img.shields.io/github/downloads/mpromonet/v4l2camera/total.svg)](https://github.com/mpromonet/v4l2camera/releases/latest) [![Docker Pulls](https://img.shields.io/docker/pulls/mpromonet/v4l2camera.svg)](https://hub.docker.com/r/mpromonet/v4l2camera) [![Openwrt](https://img.shields.io/badge/OpenWRT-00B5E2?logo=OpenWrt)](https://pkgs.staging.openwrt.org/packages?name=v4l2camera) v4l2camera ======= Web server & UI for [v4l2rtspserver](https://github.com/mpromonet/v4l2rtspserver) The civetweb HTTP server give access to the Video4Linux interface, web interface is using VueJS, RTSP server is using project [v4l2rtspserver](https://github.com/mpromonet/v4l2rtspserver) Build ------- Dependencies: * npm Build Instructions: ``` cmake . && make ``` Usage ------- ./v4l2web [-v[v]] [-P httpport] [-c sslkeycert] [-R rtspport] [-f format] [-G width x height [x fps]] [device] -v : verbose -v v : very verbose -c sslkeycert : path to private key and certificate for HTTPS -P port : server port (default 8080) -p path : server root path (default webroot) -R port : RTSP server port (default 8554) -f format : V4L2 capture using format -G x[x] : V4L2 capture geometry (default 640x480x25) -r : V4L2 capture using memory mapped buffers (default use read interface) -w : V4L2 capture using write interface (default use memory mapped buffers) device : V4L2 capture device (default /dev/video0) Using Docker image =============== You can start the application using the docker image : docker run -p 8080:8080 -it mpromonet/v4l2camera You can expose V4L2 devices from your host using : docker run --device=/dev/video0 -p 8080:8080 -it mpromonet/v4l2camera The container entry point is the v4l2web application, then you can : * get the help using : docker run -it mpromonet/v4l2camera -h * run the container specifying some paramters : docker run --device=/dev/video0 -p 8080:8080 -it mpromonet/v4l2camera -G 800x600x25