Ubuntu screen as "webcam"

7

1

I want to enable my screen as a video capture drive, so I can share (stream) my desktop screen instead my webcam.

I'm using Mint 12 (based on Ubuntu).

Thiago Belem

Posted 2012-01-07T14:32:28.223

Reputation: 529

Answers

2

There are several software that help you doing that. For example:

  1. http://www.ws4gl.org/ Webcam Studio for stream your video from different sources, also from desktop.
  2. http://recordmydesktop.sourceforge.net/about.php
  3. https://launchpad.net/kazam It seems pretty good.
  4. http://xvidcap.sourceforge.net/ I used that when i needed to make a video of my desktop

And for another list of available software check that post: http://ostatic.com/blog/six-top-screen-capture-tools-for-linux#intro

Hope that this help.

Ivan

Posted 2012-01-07T14:32:28.223

Reputation: 285

3I don't want to "record my desktop", I want to get my screen and stream it as video input, like a webcam or other device on /dev/video – Thiago Belem – 2012-01-07T22:01:32.520

Take a look at kazam (it is used to make screencast, and maybe you can stream it in some way, for example using a video streaming software that read from the video that you are recording). And try that software: http://www.ws4gl.org/ It is used to stream from different sources it says also from desktop.

– Ivan – 2012-01-07T22:42:44.407

1

VLC should, in theory be able to take a video stream from your desktop- with "screen://" as your input option and output it to another streaming source. However whether if will work with the software you have in mind would depend on what that software is.

Journeyman Geek

Posted 2012-01-07T14:32:28.223

Reputation: 119 122

0

Something like this should work:

ffmpeg -f x11grab -framerate 30 -video_size 1920x1080 -i :0.0+1920,0 -f v4l2 -vf scale=3840:-1 -vcodec rawvideo -pix_fmt rgb24 /dev/video1

Just do sudo apt install ffmpeg first, then you'll probabbly have to create /dev/video1, so touch /dev/video1 && sudo chmod 666 /dev/video*

ratskin

Posted 2012-01-07T14:32:28.223

Reputation: 101