Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Objective

Virtual Camera for V4L using the v4l2loopback driver.

Direct to v4l2 Example

https://github.com/umlaeute/v4l2loopback/blob/master/examples/test.c

Installation

 sudo apt-get install v4l2loopback-dkms
 sudo apt-get install v4l2loopback-utils

 modprobe v4l2loopback devices=4
 chmod a+rwx /dev/video0

 v4l2-ctl -d /dev/video0 -l
 v4l2loopback-ctl set-fps 25 /dev/video0

Test Write

gstreamer: gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video0

Test Play

  • Listing of device:
v4l2-ctl --list-devices
  • ffmpeg
ffmpeg -f v4l2 -list_formats all -i /dev/video0
  • xawtv
xawtv:  xawtv -c /dev/video0

About

v4l2loopback usage in C++ and from OpenCV

Topics

Resources

Releases

No releases published

Packages

No packages published