Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'd like to take the video stream from /dev/video0, apply some effects or changes and make the result available on /dev/video1.

/dev/video0 ---> Apply Effects ---> /dev/video1

For example, mplayer tv:// -vo caca will display the output of /dev/video in ascii art. I would like to make that available on /dev/video1 so that I could send that through skype instead of my default webcam feed....

Any suggestions?

share|improve this question
add comment

2 Answers

up vote 7 down vote accepted

For sure. Here are two suggestions:

  1. Behind the scenes CLI. Use V4L2VD to create a virtual video device such as /dev/videoVirt1 and pipe through mplayer for the effects. Even some similar examples in the notes.
  2. Use a fat desktop program such as webcamstudio to create the pipes and do your skype/broadcast wonders - still with mplayer for the ascii effect

Good Luck!

share|improve this answer
add comment

Here's another v4l2 loopback driver that I was able to get working with Skype. v4l2loopback driver Then you can use Gstreamer to setup to pipeline.

apt-get install gstreamer-tools 

gst-launch -v v4l2src ! gstreamfiltershere ! v4l2sink device=/dev/video1
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.