• Stars
    star
    118
  • Rank 300,027 (Top 6 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created almost 9 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ONVIF server for V4L2 Devices

Build status CirusCI Snap Status C/C++ CI

Docker Pulls

v4l2-onvif

It is a try to implements an ONVIF server :

  • for V4L2 capture devices (NVT/NVS),
  • for V4L2 output devices (NVD).

The web services data binding is generated using gSOAP.

Build

make 

Usage

onvif-server.exe [-H http port] [-R rtsp port] [-u username] [-p password] [-i v4l2 input device] [-o v4l2 output device]

onvif-client.exe [-u username] [-p password] url

Using Docker image

You can start the application using the docker image :

    docker run -p 8080:8080 -it mpromonet/v4l2onvif

You can expose V4L2 devices from your host using :

    docker run --device=/dev/video0 -p 8080:8080 -it mpromonet/v4l2onvif

The container entry point is the onvif-server.exe application, then you can :

  • get the help using :

      docker run -it mpromonet/v4l2onvif -h
    
  • run the container specifying some paramaters :

      docker run --device=/dev/video0 -p 8080:8080 -it mpromonet/v4l2onvif -uadmin -padmin