Ask Your Question
0

no element or plugin 'alsasrc'

asked 2018-03-26 06:38:30 -0600

nina-lg gravatar image

Hi,

[System Info:]

  • Ubuntu 16.04 in a Virtualbox
  • Kernel: Linux 4.13.0-36-generic
  • Architecture: x86-64
  • ROS kinetic

I am trying to set up the audio pipeline with audio_common following the steps in this tutorial.

http://wiki.ros.org/audio_common/Tuto...

When I try to test the audio pipeline with

gst-launch-0.10 alsasrc ! audioconvert ! audioresample ! alsasink

I get the following error:

ERROR: pipeline could not be constructed: no element "alsasrc".

During the audio-common download I recognised that gstreamer version 1.0 was installed (not 0.10), but the command above gives the same error, even with gst-launch-1.0.

Does someone have an idea how to solve this and make the pipeline work? Any comment would be appreciated!

Best Nina

edit retag flag offensive close merge delete

Comments

Is arrdem/Voicely#1 similar?

gvdhoorn gravatar imagegvdhoorn ( 2018-03-26 06:46:16 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-03-26 07:40:22 -0600

nina-lg gravatar image

Kind of. But I already had all plugins installed. I now installed sudo apt-get install gstreamer1.0-alsa and it seemed that the pipeline was setup properly. But still i cannot hear my microphone input through the headphones...

edit flag offensive delete link more

Comments

That would be a different (ie: new) problem then.

gvdhoorn gravatar imagegvdhoorn ( 2018-03-26 07:41:58 -0600 )edit

Exactly.. that's why I opened this one. https://answers.ros.org/question/2865...

nina-lg gravatar imagenina-lg ( 2018-03-26 07:51:29 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-03-26 06:38:30 -0600

Seen: 1,029 times

Last updated: Mar 26 '18