Skip to content

mbyzhang/v4l2-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V4L2-Stream

Stream V4L2 camera to Web Browser

Prerequisites

  • gstreamer1.0
  • libwebsocketpp
  • libboost-system
  • pkg-config
  • build-essential
  • python3 (optional, for a simple web server hosting static files)

Install with

$ sudo apt install libgstreamer1.0-dev libwebsocketpp-dev pkg-config build-essential libboost-system-dev python3

Download & Build

$ git clone https://github.com/mbyzhang/v4l2-stream.git
$ cd v4l2-stream
$ make

Usage

Start stream server with

$ ./v4l2-streamer 

and start Web server with

$ cd v4l2-stream/public
$ python3 -m http.server

and open http://localhost:8000/ to see the stream.

Third-party notices

Broadway.js - https://github.com/mbebenita/Broadway

Copyright (c) 2011, Project Authors (see AUTHORS file)
All rights reserved.

About

Live stream V4L2 camera feed to your browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published