17

I can do screencasts by pressing ctrl+alt+shift+r, but I get no sound when I view the videos, I've check my built in mic and headset, they both work on skype and such, I just can't record sound with the gnome built in screencasting. Also, when I open the videos in movieplayer they are in mute by default and there's nothing the the preferences I can find to change that.

Any help would be awesome!

Jorge Castro
  • 70,934
  • 124
  • 466
  • 653
Costa Michailidis
  • 4,820
  • 8
  • 28
  • 52
  • 1
    So, it's been a few years. Any update? hahaa...hope so. – Costa Michailidis Mar 13 '16 at 01:10
  • 2
    Is there an open bug ticket to request this as a feature upstream? – orschiro Mar 14 '18 at 14:16
  • @orschiro Seems to be [bug 665548](https://bugzilla.gnome.org/show_bug.cgi?id=665548) (found on [this probable duplicate question](https://askubuntu.com/q/157676/349837) from same author). Probably [not downstream](https://bugs.launchpad.net/ubuntu/+source/gnome-shell/?field.searchtext=screencast++audio) – Pablo Bianchi Feb 03 '19 at 07:44

5 Answers5

2

EasyScreenCast (extension)

This extension simplifies the use of the video recording function integrated in gnome shell, allows quickly to change the various settings of the desktop recording.

Active Shortcut: Super + E

NOTICE: If an error occurs during the update, is recommended to reload GNOME Shell (Alt + F2, r) and reload the extension's installation page.

Pablo Bianchi
  • 14,308
  • 4
  • 74
  • 117
Cesar Devesa
  • 207
  • 2
  • 5
2

I never heard that gnome-shell screencast record video AND audio.

In this case you can record with an another software in background or choosing an another application like recordMyDesktop.

http://blog.sudobits.com/2012/02/11/best-screencasting-software-for-ubuntu-1110-1204/

akira
  • 29
  • 1
2

Actually, you can record audio. You just need to re do the pipe in the config:

Paste this into a console and that should do the trick:

gsettings set org.gnome.shell.recorder pipeline "queue ! videorate ! vp8enc quality=10 speed=2 ! mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. webmmux name=mux"
penreturns
  • 5,940
  • 4
  • 33
  • 44
2

I found a solution that worked in my case. Open terminal Ctrl+Alt+T and run the following command:

gsettings set org.gnome.shell.recorder pipeline "queue ! videorate ! vp8enc quality=8 speed=6  threads=%T ! mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert !
vorbisenc ! mux. webmmux name=mux"

OR do it with dconf Editor, and then you'll have to modify the file: /usr/share/gnome-shell/js/ui/main.js in line 110 (I think) replace:

recorder.pause();

with

recorder.close();

After that, you can decide what stream of audio (internal or external) you want in recorder installing pavucontrol.

I hope that this would help.

Peachy
  • 7,077
  • 10
  • 37
  • 45
  • Almost! It still doesn't stop recording audio when I hit ctrl + alt + shift + r the second time. Thanks for the help though : ) – Costa Michailidis Oct 19 '12 at 16:58
  • Now it doesn't work at all. New laptop, new OS: thinkpad x1 carbon, Ubuntu Gnome 13.10. The main.js file is different. It doesn't have the word pause anywhere in it. Also, this time around, changing the recorder string from the default just breaks the recorder, no function at all. Any ideas? – Costa Michailidis Jan 16 '14 at 18:37
0

According to Ubuntu Buzz - Unofficial Ubuntu blog you cannot record audio with build-in gnome-shell screencast.

This is one of great feature which is owned by the Gnome Shell, but one notable thing you should know is, you can't record any voice using this, you will get silent video

Source: Ubuntubuzz.com

I searched and found another source. I don't know if this can be considered as more "Official". A relevant question to yours , about audio

On a related note, is it planned/allowed to be able to record audio as well as video?

answered like this

For sound you could just open sound recorder and start talking.

Source: Gnome-shell development

Of course all other answers here (with dconf editor & pipeline) are workarounds you can use.

NickTux
  • 17,237
  • 6
  • 54
  • 65