<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Gstreamer with USB Microphone over Network in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383252#M55399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it. I had to use alsasrc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch alsasrc device=hw:2 ! audioconvert ! audioresample&amp;nbsp; ! alawenc ! rtppcmapay ! udpsink host=192.168.20.26 port=5001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 12:54:30 GMT</pubDate>
    <dc:creator>philippeballeyd</dc:creator>
    <dc:date>2014-10-13T12:54:30Z</dc:date>
    <item>
      <title>Gstreamer with USB Microphone over Network</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383249#M55396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333;"&gt;I'm using the image fsl-image-gui on the IMX6Q Sabre Board (Poky Yocto project)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333;"&gt;I'd like to stream the sound of a USB Microphone connected to the board to my computer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333;"&gt;I managed to make that microphone work on the local loop of my computer (without installing any audio driver) with these gstreamer commands:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;gst-launch autoaudiosrc ! audioconvert ! audioresample&amp;nbsp; ! alawenc ! rtppcmapay ! udpsink host=127.0.0.1 port=5001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;gst-launch udpsrc port=5001 caps="application/x-rtp" ! rtppcmadepay ! alawdec ! alsasink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;This worked pretty fine, so the microphone is working and so is that gst-launch command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;When i connect the microphone to the USB port of the bo&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;ard, i get the following message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;usb 1-1.3: new full-speed USB device number 24 using ci_hdrc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;usb_audio: Warning! Unlikely big volume range (=656), cval-&amp;gt;res is probably wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;usb_audio: [6] FU [PCM Capture Volume] ch = 1, val = -10496/0/16input: Micronas UAC3556B as /devices/soc0/soc.1/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1.3/1-1.3:1.3/input/input23&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;hid-generic 0003:074D:3556.000E: input: USB HID v1.00 Device [Micronas UAC3556B] on usb-ci_hdrc.0-1.3/input3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Should i be worried about such a message? (I'm getting the exact same when i connect it to my computer, so i assume it is not a big deal)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;So i start the streaming with the previous command (with the correct ip obviously :smileyhappy:) but i'm not getting any sound.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;When i check on wireshark, i do receive some package from the board so the stream is working but to me, these packets seems like they don't carry any information. All bytes set to 0xD5.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;i tried to check in the alsamixer application if the mic wasn't muted, but i couldn't even find the MIC option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;So i believe the mic isn't detected, or maybe autoaudiosrc isn't selecting the right source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Or maybe i'm missing an audio plugin? The constructor of the mic told me that it was using generic plugins, but maybe they are not included in my image?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Moreover i also tried with the microphone of a USB Webcam, and it also doesn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Any pointers would be of great help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Thank you :smileywink:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383249#M55396</guid>
      <dc:creator>philippeballeyd</dc:creator>
      <dc:date>2014-10-10T09:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer with USB Microphone over Network</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383250#M55397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i use aplay -l and arecord -l, the USB mic appears properly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;card 0: wm8962audio [wm8962-audio], device 0: HiFi wm8962-0 []&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp; Subdevices: 1/1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp; Subdevice #0: subdevice #0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;card 2: UAC3556B [UAC3556B], device 0: USB Audio [USB Audio]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp; Subdevices: 1/1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp; Subdevice #0: subdevice #0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 10:12:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383250#M55397</guid>
      <dc:creator>philippeballeyd</dc:creator>
      <dc:date>2014-10-13T10:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer with USB Microphone over Network</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383251#M55398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out that my USB Mic is seen as a whole new sound card.&lt;/P&gt;&lt;P&gt;when i press F6 in alsamixer, and select the said card, i can unmute the mic.&lt;/P&gt;&lt;P&gt;But i think gstreamer is using the default sound card.&lt;/P&gt;&lt;P&gt;Is there another gstreamer plugin than autoaudiosrc, since it doesn't take any parameters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 12:50:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383251#M55398</guid>
      <dc:creator>philippeballeyd</dc:creator>
      <dc:date>2014-10-13T12:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer with USB Microphone over Network</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383252#M55399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it. I had to use alsasrc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch alsasrc device=hw:2 ! audioconvert ! audioresample&amp;nbsp; ! alawenc ! rtppcmapay ! udpsink host=192.168.20.26 port=5001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 12:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-with-USB-Microphone-over-Network/m-p/383252#M55399</guid>
      <dc:creator>philippeballeyd</dc:creator>
      <dc:date>2014-10-13T12:54:30Z</dc:date>
    </item>
  </channel>
</rss>

