Is there a program for Ubuntu that can capture your screen and your webcam at the same time?
16.04 -> 18.04:
Please check How to install Kazam 1.5.3?
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
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.
- 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
Tested in Ubuntu 19.10.
Remove window title bar
I haven't managed this yet:
- On Ubuntu 18.04 can I hide the title bar AND still see the close/minimize/maximize icons?
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.
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.
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!
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.