Home > Documentation, English, open-source, OSS Solutions, ubuntu > Embedding webcam with SimpleScreenRecorder

Embedding webcam with SimpleScreenRecorder

webcam2In case, like me, you use SimpleScreenRecorder on Ubuntu to do screencasts, you might be missing something: the ability to embed your webcam’s feed *inside* the screencast (like this little capture on the right side which shows how amazed I am).

Well, there’s a simple, command-line based solution to that, as explained by Maarten Baert, developer of SimpleScreenRecorder: just use one of the 3 following commands (for me, the last one is the only one that works and I haven’t searched *at all* for why the others don’t. I just copy-pasted it.

ffplay -f v4l2 /dev/video0
avplay -f v4l2 /dev/video0
mplayer tv:// -tv driver=v4l2:width=640:height=480 -vo xv

Obviously, for the last one, you can change the resolution just by changing the number there.

You can check the details here: https://github.com/MaartenBaert/ssr/issues/64#issuecomment-27766079

SimpleScreenRecorder is not inside the default Ubuntu packages, so you’ll have to add it to your sources following the procedure in the “Download” paragraph here: http://www.maartenbaert.be/simplescreenrecorder/#features

  1. N Tun
    September 27, 2014 at 10:18 pm

    avplay -f video4linux2 /dev/video0

  2. Dijion
    July 25, 2016 at 1:38 am

    try using the last one but erase -tv

    • Yannick Warnier
      July 25, 2016 at 3:21 am

      Doesn’t seem to change anything… (as compared to “with” -tv)

  1. October 16, 2014 at 10:56 pm
  2. January 27, 2015 at 2:42 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: