peterbay / uvc-gadget

uvc-gadget with resolution changing and video controls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uvc-gadget

Finished linux-based firmware package

If you need a fast and maintained linux-based firmware package for your webcam then here is the best place for you - https://github.com/showmewebcam/showmewebcam.

  • linux-based firmware package
  • fast boot
  • uvc-gadget inside

DIY place

If you want to build it yourself, then here is a place for you.

Documentation

New documentation for uvc-gadget

How to use

Usage: ./uvc-gadget [options]

Available options are
    -b value       Blink X times on startup (b/w 1 and 20 with led0 or GPIO pin if defined)
    -f device      Framebuffer device
    -h             Print this help screen and exit
    -l             Use onboard led0 for streaming status indication
    -n value       Number of Video buffers (b/w 2 and 32)
    -p value       GPIO pin number for streaming status indication
    -r value       Framerate for framebuffer (b/w 1 and 30)
    -u device      UVC Video Output device
    -v device      V4L2 Video Capture device
    -x             show fps information

Build

  • host:
    make
  • Cross compile:
    make ARCH=arch CROSS_COMPILE=cross_compiler
    eg:
    make ARCH=arm CROSS_COMPILE=arm-hisiv600-linux-
  • or:
    set ARCH, CROSS_COMPILE, KERNEL_DIR in Makefile

Change log

Initial

TODO

Resources

About

uvc-gadget with resolution changing and video controls

License:GNU General Public License v2.0


Languages

Language:C 86.9%Language:Shell 13.0%Language:Makefile 0.2%