<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 27 sept. 2017 4:02 PM, "piti_wity" <<a href="mailto:pietrolorenzetti93@gmail.com">pietrolorenzetti93@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am working on a ROS project where I need to stream audio from a raspberry<br>
PI 3 to my computer.<br>
<br>
At the moment I am working only on the raspberry and I have worked out a<br>
correct gstreamer pipeline to be used, which is the following:<br>
<br>
gst-launch-0.10 alsasrc device=hw:1,0 ! audioconvert ! audioresample !<br>
alsasink<br>
<br>
Anyway, when I use the ROS package audio_common (<br>
<href=&quot;<a href="http://wiki.ros.org/audio_common&quot" rel="noreferrer" target="_blank">http://wiki.ros.<wbr>org/audio_common&quot</a>;> ), in particular the<br>
audio_capture feature (  ) the error "[ERROR] [1506519371.050052798]: Failed<br>
to create encoder element" pops out.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Did you select mp3 format, and if so, do you have lamemp3enc element installed?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I tried a lots of difference set-ups and several plugins, but since gstream<br>
is correctly working when I launch it from the command line, I am quite sure<br>
that it is due to some configuration issues.<br>
<br>
Thanks a lot in advance.<br>
<<a href="https://github.com/ros-drivers/audio_common/blob/master/audio_capture/src/audio_capture.cpp" rel="noreferrer" target="_blank">https://github.com/ros-<wbr>drivers/audio_common/blob/<wbr>master/audio_capture/src/<wbr>audio_capture.cpp</a>><br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br></div></div></div>