Screen recording doesn't work due to "Internal data stream error"
When I try to record my screen using Ctrl-Shift-Alt-R, I only get empty .webm files. In the system log, I see the following:
Dec 21 14:35:26 dima-dell org.gnome.Shell.desktop[15110]: Recording to /home/dima/Videos/Screencast from 12-21-2018 02:35:26 PM.webm
Dec 21 14:35:26 dima-dell gnome-shell[15110]: Error in recording pipeline: Internal data stream error.
Dec 21 14:35:26 dima-dell gnome-shell[15110]: recorder_record_frame: assertion 'recorder->current_pipeline != NULL' failed
Dec 21 14:35:44 dima-dell gnome-shell[15110]: shell_recorder_close: assertion 'recorder->state != RECORDER_STATE_CLOSED' failed
Dec 21 14:35:47 dima-dell org.gnome.Shell.desktop[15110]: Recording to /home/dima/Videos/Screencast from 12-21-2018 02:35:47 PM.webm
Dec 21 14:35:47 dima-dell gnome-shell[15110]: Error in recording pipeline: Internal data stream error.
Dec 21 14:35:47 dima-dell gnome-shell[15110]: recorder_record_frame: assertion 'recorder->current_pipeline != NULL' failed
Dec 21 14:36:21 dima-dell gnome-shell[15110]: shell_recorder_close: assertion 'recorder->state != RECORDER_STATE_CLOSED' failed
Dec 21 14:36:27 dima-dell org.gnome.Shell.desktop[15110]: Recording to /home/dima/Videos/Screencast from 12-21-2018 02:36:27 PM.webm
Dec 21 14:36:27 dima-dell gnome-shell[15110]: Error in recording pipeline: Internal data stream error.
Dec 21 14:36:27 dima-dell gnome-shell[15110]: recorder_record_frame: assertion 'recorder->current_pipeline != NULL' failed
Dec 21 14:36:42 dima-dell gnome-shell[15110]: shell_recorder_close: assertion 'recorder->state != RECORDER_STATE_CLOSED' failed