How to record a screencast with audio in gnome shell

I'm trying to change my configuration so that the default ctrl+alt+shift+r also records audio. I've used this code:

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"

In my console, and it works ok, it just doesn't stop once I hit ctrl+alt+shift+r again.

Any help would rock!


An alternative is to use this Gnome Extension EasyScreenCast, it uses gnome-shell's screencast

It handles audio and many more options

You need to choose what audio source to record from, as shown here:

enter image description here