GithubHelp home page GithubHelp logo

fandrej / uvc2http Goto Github PK

View Code? Open in Web Editor NEW

This project forked from legich55555/uvc2http

0.0 1.0 0.0 60 KB

License: GNU General Public License v2.0

C++ 96.44% CMake 0.84% Makefile 1.70% Shell 1.01%

uvc2http's Introduction

uvc2http

A Linux tool for video streaming from USB cameras.

Uvc_streamer is an alternative for mjpg_streamer. It is targeted for small Linux devices (like routers with OpenWrt).

Requirements:

  • USB video camera with MJPG capture mode support (tested with Logitech B910);
  • Linux system with installed driver "uvcvideo" (tested with router TP-Link MR3020 + OpenWrt 15.05);
  • C++11 compiler (tested with GCC 4.8.3).

Usage:

  • Build and run. By default it uses following settings:
    • camera "/dev/video0";
    • capturing mode 640x480x15;
    • listening at TCP port 8081.

Configuration:

  • Put your configuration to file "Config.cpp" and rebuild. A few parameters can be specified via CLI: --device DEVICE camera device name --buffers NUMBER capture buffers number --width WIDTH frame width --height HEIGHT frame height --fps FPS capture fps --port PORT HTTP server port For example: uvc2http --device /dev/video0 --buffers 4 --width 1280 --height 720 --fps 30 --port 8080
  • Note:
    • Real capture framerate can depend on lighting conditions (exposition settings).
    • Streameing can influence framerate on clients.

Expected results:

  • On a router TP-Link MR3020 it produces up to 20 frames at resolution 1280x720.
  • On a PC with 4 core CPU frame rate is limited only by camera restrictions.

Differences from mjpg_streamer

  • Uses only 1 thread;
  • No memory copying;
  • Small memory consumption;
  • Small CPU utilization.

uvc2http's People

Contributors

legich55555 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.