All Projects → mpromonet → libv4l2cpp

mpromonet / libv4l2cpp

Licence: Unlicense License
V4L2 C++ wrapper

Programming Languages

C++
36643 projects - #6 most used programming language
Makefile
30231 projects
CMake
9771 projects

Labels

Projects that are alternatives of or similar to libv4l2cpp

V4L2-to-NDI
A video input (V4L2) to NDI converter that works with Raspberry Pi (32-bit and 64-bit), and Intel/AMD CPUs
Stars: ✭ 35 (-68.47%)
Mutual labels:  v4l2
v4l2-framebuffer
Map frame from USB camera to Linux framebuffer
Stars: ✭ 43 (-61.26%)
Mutual labels:  v4l2
v4l2onvif
ONVIF server for V4L2 Devices
Stars: ✭ 83 (-25.23%)
Mutual labels:  v4l2
v4l2web
V4L2 web interface
Stars: ✭ 20 (-81.98%)
Mutual labels:  v4l2
RoboVision
Attempting to create a program capable of combining stereo video input , with motors and other sensors on a PC running linux , the target is embedded linux for use in a robot!
Stars: ✭ 21 (-81.08%)
Mutual labels:  v4l2
RGBDAcquisition
A uniform library wrapper for input from V4L2,Freenect,OpenNI,OpenNI2,DepthSense,Intel Realsense,OpenGL simulations and other types of video and depth input..
Stars: ✭ 56 (-49.55%)
Mutual labels:  v4l2
VideoMagnification
VideoMagnification - Magnify motions and detect heartbeats
Stars: ✭ 23 (-79.28%)
Mutual labels:  v4l2
rtsp-video-server
RTSP video streaming server implementation based on Live555 and FFmpeg
Stars: ✭ 36 (-67.57%)
Mutual labels:  v4l2
Gear Lib
Gear-Lib, C library for IOT Embedded Multimedia and Network
Stars: ✭ 2,381 (+2045.05%)
Mutual labels:  v4l2

libv4l2cpp

It is a C++ wrapper for V4L2

Dependencies

  • liblog4cpp5-dev (optional)

V4L2 Capture

  • create a V4L2 Capture interface using MMAP interface:

      V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps, IOTYPE_MMAP, verbose);
      V4l2Capture* videoCapture = V4l2Capture::create(param);
    
  • data are available :

      timeval timeout; 
      bool isReadable = (videoCapture->isReadable(&timeout) == 1);
    
  • read data :

      size_t nb = videoCapture->read(buffer, bufferSize);
    

V4L2 Output

  • To create a V4L2 Output interface using MMAP interface:

      V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps, IOTYPE_MMAP, verbose);
      V4l2Output* videoOutput = V4l2Output::create(param);
    
  • data could be written :

      timeval timeout; 
      bool isWritable = (videoOutput->isWritable(&timeout) == 1);
    
  • write data :

      size_t nb = videoOutput->write(buffer, bufferSize);
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].