30

Is there a program for Ubuntu that can capture your screen and your webcam at the same time?

Daansk44
  • 583
  • 1
  • 8
  • 15
  • you can simply search and install vokoscreen from Ubuntu Software Center.... this video may helpful, https://www.youtube.com/watch?v=JBSPhJVarBo – A J Sep 21 '16 at 09:49

11 Answers11

23

guvcview + recordmydesktop

I find guvcview ideal for screencasts, as it can show just the camera on a window and nothing else:

sudo apt-get install guvcview recordmydesktop
guvcview

Then just use any screen recorder. recordmydesktop works fine.

This is a sample screencast: https://www.youtube.com/watch?v=TQ5k2u25eI8

To keep guvcview always on top if you want it on top of another maximized window, you can use the same procedure that works for any Ubuntu program window:

  • right click on the top bar of the window (it contains the title and close button)
  • select "Always on Top"

recordmydesktop alternatives are discussed at: How can I record my screen?

Tested on Ubuntu 18.04.

Non-screencast questions:

ffplay from ffmpeg

The older I get the more I realise that there is nothing ffmpeg can't do when it comes to video:

sudo apt install ffmpeg
ffplay /dev/video0

enter image description here

See also: How to check available webcams from the command line?

Tested in Ubuntu 19.10.

Remove window title bar

I haven't managed this yet:

enter image description here

22

16.04 -> 18.04:

Please check How to install Kazam 1.5.3?


14.04:

Kazam 1.5.3 was released recently and it includes some very useful new features:

  • support for webcams: it can record just the webcam or it can display the webcam in a window on top of the screencast;
  • support for broadcasting to YouTube Live;
  • added on-screen keyboard indicator and mouse click indicator;
  • new countdown timer.

Kazam is available in the official Ubuntu repositories, but it's an old version so it doesn't have the new features above. To get the latest Kazam in Ubuntu you can use the Kazam PPA.

Open a terminal and use the following commands:

sudo add-apt-repository ppa:kazam-team/unstable-series
sudo apt-get update
sudo apt-get install kazam python3-cairo python3-xlib

enter image description here

Source: http://www.webupd8.org/2014/08/kazam-screencaster-gets-webcam-and.html

15

Kazam 1.5.3 has an option to capture webcam output while screen recording. Unfortunately, it is buggy.

A better alternative is to use vokoscreen. We can install it from software center or from terminal using apt.

sudo apt install vokoscreen

After launching it, you can enable webcam as shown in the picture.

enter image description here

  • 2
    Really minimalistic and good soft, does perfectly both screencast and webcam, also can be combined. As for 2020APR Kazam 1.5.3 is buggy - webcam is recorded as black square. – Max Apr 02 '20 at 17:59
11

Open Broadcaster Software - aka OBS http://obsproject.com

Used all the time by Youtube and Twitch live streamers or instructors doing tutorials. You can live stream or just record. You can implement green screen, add other overlays.. do anything you want.

  • Works great. I've set it up with two webcams plus a program window and the skype call and then share the screen with Skype. Awesome. – Ramon Suarez May 02 '20 at 07:44
7

you can do is install these two softwares from software center

1.kazam

2.cheese

from software center and do open the cheese as it captures you from the webcam and shows on the screen and use kazam to record the screen ...and thus you can capture your screen and webcam at the same time.

bolzano
  • 1,570
2

vokoscreenNG is a complete rewrite of vokoscreen with a modern UI. It is based on Qt and GStreamer. It is available as snap and can be installed using sudo snap install vokoscreen-ng.

vokoscreenNG

PulseAudio is required to enable microphone (sudo snap install pulseaudio).

DurandA
  • 123
  • 10
2

For displaying the webcam on the desktop, I recommend mplayer.

On Ubuntu/Gnome, you can hide the window border and a little shadow as a bonus :

mplayer tv:// -tv driver=v4l2:width=400:height=300 -vo xv -geometry 100%:100% -noborder
# Then in the console again
T
# Press capital T to have always on top activated
1

Kazam it seems hasn't been updated since 8/18/2014, obs-studio appears to be active at this time.

Elder Geek
  • 36,023
  • 25
  • 98
  • 183
Steven
  • 161
0

I did a workaround, as Kazam 1.5.3 was not available.

Software: I used camorama and LibreOffice Impress. Camorama is good, because it doesn't show toolbar.

First, on LibreOffice Impress set the presentation mode to Window In the menu Slide Show>Presentation Settings you can adjust to "windows". https://ask.libreoffice.org/en/question/159395/resize-presentation-display-window-to-less-than-full-screen/

Resize both WebCam viewer and LibreOffice windows, so both appear at same time.

You can use your slideshow with mouse/pointer/keyboard as in a normal presentation, while the Webcam is being show.

Not high-end, but it works. Example on my Computer

Matheus
  • 21
  • 4
0

My personal favorite for this (since recent)is vokoscreen. simple and works great. haven't had any issues with it (on my setup dell latitude 5420 with ubuntu 17.04)

  • Thanks this looked great at first, but I couldn't get the sound recording to work seamlessly here on Ubuntu 14.04. Which is weird, because sound recording works perfectly in both kazam and cheese. – workflow Aug 12 '17 at 20:19
0

As an alternative, here's a great chrome extension that does the trick: https://www.useloom.com/?ref=247716

It worked perfectly on my Ubuntu 14.04 (being browser-based) and is 100% free as long as you download your videos after capture, and don't keep them in their storage.

I played around with all available offline solutions proposed here, and they all had some nasty glitches on my particular setup. Here's to OS independence!

workflow
  • 101