Sunday, November 23, 2014

create a fake webcam




1- download v4l2loopback from github
root@fake-webcam:/# wget https://github.com/umlaeute/v4l2loopback/archive/master.zip

2- compile and install v4l2loopback

root@fake-webcam:/# unzip v4l2loopback-master.zip
root@fake-webcam:/# cd v4l2loopback-master
root@fake-webcam:/# make
root@fake-webcam:/# make install


3- create video device: /dev/video3 /dev/video4 and /dev/video5
root@fake-webcam:/# modprobe v4l2loopback video_nr=3,4,5 card_label="video 3","video 4 ","video 5"

4- create simple frame on the video4
root@fake-webcam:/$ gst-launch videotestsrc ! ffmpegcolorspace ! "video/x-raw-yuv,format=(fourcc)YUY2" ! v4l2sink device=/dev/video4

5- test the video4 device to see what it display
root@fake-webcam:/$ mplayer tv:// -tv device=/dev/video4



6- change the video device to video4 on skype video options then test call


--- video/screen when video calling between skype user


4 comments:

  1. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. adult live webcams

    ReplyDelete
  2. New web site is looking good. Thanks for the great effort. adult cams

    ReplyDelete
  3. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. couplecam.co.uk

    ReplyDelete
  4. I just want to let you know that I just check out your site and I find it very interesting and informative.. vrcams

    ReplyDelete