Error:Cannot create element "pulsesrc" ((null))

Bug #1680999 reported by zosy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Audio Recorder
Fix Committed
Medium
moma

Bug Description

when i click start recording i got this errors below, and can't start recording

(audio-recorder:19112): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(audio-recorder:19112): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Error:Cannot create element "pulsesrc" ((null)).
Error:Cannot create element "level" (level).

(audio-recorder:19112): GStreamer-CRITICAL **: gst_bin_add_many: assertion 'GST_IS_ELEMENT (element_1)' failed

(audio-recorder:19112): GStreamer-CRITICAL **: gst_element_link_many: assertion 'GST_IS_ELEMENT (element_1)' failed
Error:Cannot create audio pipeline. Cannot link..

zosy (zosy)
description: updated
Revision history for this message
moma (osmoma) wrote :

Hello,
Pulsesrc element comes from the gstreamer1.0-plugins-good package.
Have you installed it?

Please install (or reinstall) these packages. Run this command in a terminal window.
Sudo will ask your login password.

sudo apt install --reinstall -y gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly

Test the recording pipeline. Install first gstreamer1.0-tools package.
sudo apt install -y gstreamer1.0-tools

Now play some music or sound (out of loudspeakers) and test-record it with:
gst-launch-1.0 pulsesrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=test1.ogg

Press CNTR + C to stop the recording. Then replay the result (test1.ogg) file.
totem test1.ogg
--------

You may also test various recording-pipelines on the command line.
Click the [Additional settings] button, t select the "Recording commands" tab and [Show cmd] button. Please see:
https://answers.launchpad.net/audio-recorder/+question/352293
and
https://answers.launchpad.net/audio-recorder/+question/273078

Revision history for this message
zosy (zosy) wrote :

works fine now, thanks:)

moma (osmoma)
Changed in audio-recorder:
status: New → Fix Released
importance: Undecided → Low
assignee: nobody → moma (osmoma)
importance: Low → Medium
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.