Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
.gitignore
Makefile
README
restarting-writer.sh
test.c
yuv4mpeg_to_v4l2.c

README

v4l2loopback tests
==================

test
----

this small sample application will write an image into a v4l2loopback device.
the image will be 640x480 pixels in UYVY colorspace (and since all pixels are
set to "0" it will be green).
the video-device defaults to /dev/video1 but you can specify another device on
the commandline

USAGE:
$ make test
$ ./test /dev/video2 &
$ xawtv -c /dev/video2

if you want to use another device you need to modify the VIDEO_DEVICE define at
the beginning of the code and recompile.


yuv4mpeg_to_v4l2
----------------
Copyright (C) 2011  Eric C. Cooper <ecc@cmu.edu>

Example using mplayer as a producer for the v4l2loopback driver:

$ mkfifo /tmp/pipe
$ ./yuv4mpeg_to_v4l2 < /tmp/pipe &
$ mplayer movie.mp4 -vo yuv4mpeg:file=/tmp/pipe


Something went wrong with that request. Please try again.