GStreamer on ROS using common_audio package

Nicolas Dufresne nicolas at ndufresne.ca
Wed Sep 27 23:03:49 UTC 2017


Le 27 sept. 2017 4:02 PM, "piti_wity" <pietrolorenzetti93 at gmail.com> a
écrit :

I am working on a ROS project where I need to stream audio from a raspberry
PI 3 to my computer.

At the moment I am working only on the raspberry and I have worked out a
correct gstreamer pipeline to be used, which is the following:

gst-launch-0.10 alsasrc device=hw:1,0 ! audioconvert ! audioresample !
alsasink

Anyway, when I use the ROS package audio_common (
<href="http://wiki.ros.org/audio_common"> ), in particular the
audio_capture feature (  ) the error "[ERROR] [1506519371.050052798]: Failed
to create encoder element" pops out.


Did you select mp3 format, and if so, do you have lamemp3enc element
installed?


I tried a lots of difference set-ups and several plugins, but since gstream
is correctly working when I launch it from the command line, I am quite sure
that it is due to some configuration issues.

Thanks a lot in advance.
<https://github.com/ros-drivers/audio_common/blob/master/audio_capture/src/
audio_capture.cpp>



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170927/d84011ed/attachment-0001.html>


More information about the gstreamer-devel mailing list