Is there a program for Ubuntu that can capture your screen and your webcam at the same time?
11 Answers
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:
- https://unix.stackexchange.com/questions/3304/how-do-i-watch-my-webcams-feed-in-linux
- What webcam apps are available and how to check if your webcam is working?
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
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:
- 28,474
-
This doesn't have show window on top option, so only works within tile setups, e.g. won't work for most people. – Suor May 29 '19 at 04:24
-
2@Suor thanks for the comment. One workaround is "right click on menu bar" > "Always on Top", which works for most Ubuntu windows. – Ciro Santilli OurBigBook.com May 29 '19 at 06:33
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
Source: http://www.webupd8.org/2014/08/kazam-screencaster-gets-webcam-and.html

- 62,169
-
4It's worth mentioning that the webcam position can be moved around by dragging with Alt pressed. – Nacho Coloma Oct 14 '15 at 14:25
-
3
-
Even the most recent version of Kazam doesn't seem to allow you to record both a webcam and screen at the same time, as OP is asking. – Cerin Jul 03 '18 at 13:36
-
2sudo add-apt-repository ppa:kazam-team/unstable-series; ppa is returning 404 not found Error – Akhil Surapuram Sep 16 '19 at 11:07
-
the webcam records only a few frames i think. frustratingly slow. – QuestionEverything Mar 26 '21 at 02:50
-
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.

- 871
-
2Really 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
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
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.
- 1,570
-
3I don't like cheese for this because it has that bottom menu. Or can you remove it? – Ciro Santilli OurBigBook.com Dec 05 '16 at 23:06
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
.
PulseAudio is required to enable microphone (sudo snap install pulseaudio
).
- 123
- 10
-
how can you pin web-camera view to front? It's disappearing currently. – Geoff Langenderfer Apr 04 '21 at 19:20
-
1My desktop environment (Cinnamon) has an Always on Top option for windows. – DurandA Apr 04 '21 at 23:06
-
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
- 121
Kazam it seems hasn't been updated since 8/18/2014, obs-studio appears to be active at this time.
- 36,023
- 25
- 98
- 183
- 161
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.
- 21
- 4
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
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!
- 101
vokoscreen
from Ubuntu Software Center.... this video may helpful, https://www.youtube.com/watch?v=JBSPhJVarBo – A J Sep 21 '16 at 09:49