/v4l2tools

V4L2 tools using V4L2 C++ wrapper

Primary LanguageC++The UnlicenseUnlicense

Codacy Badge Build status CircleCI Snap Status

v4l2tools

This is simple V4L2 tools based on libv4l2cpp

Dependencies

  • liblog4cpp5-dev (optional)
  • libvpx-dev (for v4l2compress_vpx)
  • libx264-dev (for v4l2compress_h264)
  • libx265-dev (for v4l2compress_hevc)
  • libjpeg-dev (for v4l2compress_jpeg & v4l2uncompress_jpeg)

Tools

  • v4l2copy :

read from a V4L2 capture device and write to a V4L2 output device

  • v4l2convert_YUV :

read an YUV format from a V4L2 capture device, convert to an other YUV format and write to a V4L2 output device

  • v4l2compress_vpx :

read YUYV from a V4L2 capture device, compress in VP8/VP9 format using libvpx and write to a V4L2 output device

  • v4l2compress_h264 :

read YUYV from a V4L2 capture device, compress in H264 format using libx264 and write to a V4L2 output device

  • v4l2compress_hevc :

read YUYV from a V4L2 capture device, compress in HEVC format using libx265 and write to a V4L2 output device

  • v4l2compress_jpeg :

read YUYV from a V4L2 capture device, compress in JPEG format using libjpeg and write to a V4L2 output device

  • v4l2uncompress_jpeg :

read JPEG format from a V4L2 capture device, uncompress in JPEG format using libjpeg and write to a V4L2 output device

  • v4l2dump :

read from a V4L2 capture device and print to output frame information (work with H264 & HEVC)

Tools for Raspberry

  • v4l2grab_h264 :

grab raspberry pi screen, compress in H264 format using OMX and write to a V4L2 output device

  • v4l2display_h264 :

read H264 from V4L2 capture device, uncompress and display using OMX

  • v4l2compress_omx :

read YUV420 from a V4L2 capture device, compress in H264 format using OMX and write to a V4L2 output device

Build

 make

Install

 make install