29

Is there a way to record my screen, as well as the internal audio? Like, if I were recording a game, it would record the screen, and the sounds from the game.

  • For games specifically, you could try glc: see my answer for this question. – user76204 Jan 6 '13 at 19:52
18

SimpleScreenRecorder did the trick for me when recording online playing videos. It has an (experimental) OpenGL feature. In Ubuntu:

sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
sudo apt-get update
sudo apt-get install simplescreenrecorder

With the OpenGL feature you can select to record an specific application window. So you can even keep working while recording in the background. Don´t play any music though, because the audios will mix together (unless, of course, U R a DJ ;) )

| improve this answer | |
  • Works exceptionally well! Nice internal audio recording, awesome that encoding speed can be changed to get fluent higher framerate! – Rasmus May 31 '17 at 20:37
  • I can not recommend this enough. It works and it is intuitive – give it a shot! – peterhil Sep 2 '17 at 1:13
  • As of 17.04 it is in the official repositories and you don't need to add the PPA. – Scimonster Dec 26 '17 at 12:18
  • 2
    does it record the voice/audio you speak into the microphone? – MycrofD Jan 10 '18 at 10:45
  • @MycrofD yes it does - make sure you are using the correct audio input source (built-in worked for me). – BenedictWilkinsAI Jun 10 at 9:56
16

Maybe RecordMyDesktop could work for you? It has the ability to record your screen and audio, but I'm not sure if it supports games.

You can install it with

sudo apt-get install recordmydesktop

If you want a GUI, you need to also install one of the packages gtk-recordmydesktop (GTK) or recorditnow (Qt)

It is discontinued but it does work as expected.

| improve this answer | |
  • It's quite hard to use it with Games unfortunately, I found the OpenGL recorder quite bad last time I tried it – MrVaykadji Mar 17 '14 at 16:41
  • This worked otherwise, but I did not get internal audio straight or not with Jack. The UI is quite unintuitive also – the first time I had five recordings going on before I realised the big squares on the panel are meant to represent stop symbols! And I am a graphic designer in addition to being a programmer... – peterhil Sep 2 '17 at 1:03
  • It's using microphone, not the internal audio. – Hi-Angel Jan 5 '19 at 0:34
  • Does the recordmydesktop process store data into a disk while recording, or holds everything in RAM and flashes the data only when you signal to terminate the process? – mercury0114 Aug 22 at 20:32
2

I am using recordscreen.py Python script. It launches ffmpeg or avconv behind the scenes, so make sure you have them installed.

Record entire desktop to output.mkv at 15 FPS:

recordscreen.py output.mkv

Record at 30 FPS with different audio and video codec:

recordscreen.py -r 30 --vcodec=vp8 --acodec=pcm output.mkv

Or record into .webm:

recordscreen.py output.webm

I haven't tried recording games with it, so I will be interested to hear how it goes.

And just for historical perspective here's one of the earliest blog posts about it.

| improve this answer | |
1

1. Install OBS as in: https://github.com/jp9000/obs-studio/wiki/Install-Instructions#linux

sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt-get update && sudo apt-get install obs-studio

2. Open OBS; in the Mixer panel, click the "gear" of "Desktop Audio", then "Properties" and Select "Built-In Audio Analog Stereo"

3. Again in the Mixer panel, silence the microphone/Aux clicking on its volume icon

4a. Video_Source_Method_1. In the "Sources" panel, click the + and Select Screen Capture XSHM. Saves mouse pointer if box checked.

4b. Video_Source_Method_2. Install VLC, as in: (doesn't save mouse)

5. Click Transition in the center of the screen, you have to see your screen in the right window now.

6. if desired change the output folder: At the "Controls" panel (right-side), click "Settings", then click "Output" in the left menu.

7. Finally, click Start Recording in "Controls" panel.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.