ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

no element or plugin 'alsasrc'

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

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 image gvdhoorn  ( 2018-03-26 06:46:16 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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

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 image gvdhoorn  ( 2018-03-26 07:41:58 -0500 )edit

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

nina-lg gravatar image nina-lg  ( 2018-03-26 07:51:29 -0500 )edit
0

answered 2020-11-05 11:06:20 -0500

parzival gravatar image

You need to change the pkg name as per the version you have. Last I checked, it worked fine with gst-launch-1.0 alsasrc ! audioconvert ! audioresample ! alsasink

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 3,578 times

Last updated: Nov 05 '20