setting debug level to 5 on the queue i get this:<br><br>0:00:00.020086126  5865  0x84a7050 DEBUG                queue gstqueue.c:419:gst_queue_init:&lt;GstQueue@0x85d40e8&gt; initialized queue&#39;s not_empty &amp; not_full conditions<br>
0:00:00.022986445  5865  0x84a7050 DEBUG                queue gstqueue.c:489:gst_queue_link_src:&lt;queue0&gt; queue linking source pad<br>0:00:00.023041017  5865  0x84a7050 DEBUG                queue gstqueue.c:502:gst_queue_link_src:&lt;queue0&gt; not starting task reason wrong-state<br>
<br>i dont know if im not searching on the right place...or if i am not seeing something...but neither the documentation of the queue ou gst-inspect is helping me to find out what is missing =/<br><br><div class="gmail_quote">
On Mon, Jul 13, 2009 at 12:54 PM, Tiago Katcipis <span dir="ltr">&lt;<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a file that is alaw encoded, but the file has the bytes swaped, every two bytes must be swaped so the alaw decoder can decode properly. I started to try to build a pipe but i got stuck.<br><br>The pipe:<br><br>gst-launch -v filesrc location=alaw_inv.dat ! audio/x-raw-int,
endianness=4321, channels=1, rate=8000, width=16, depth=16,
signed=false ! audioconvert ! audio/x-raw-int, endianess=1234,
channels=1, rate=8000, width=16, depth=16, signed=false ! queue !
audio/x-alaw, rate=8000, channels=1 ! alawdec ! audioconvert ! wavenc !
filesink location=exemplo_convertido.<div>wav</div><br>I basically use audioconvert to make the swap, my problem was that the audioconvert cant connect to the alawdec, so i got the idea to use a queue to conect the audioconvert output to the alawdec. But it simply does not connect, and dont gives any good error msg, its just &quot;ATENTION: wrong connection: it is not possible to connect queue0 to alawdec0&quot;. If i take out the alawdec and try to connect to audioconvert it works just fine (but the audio is a mess because i didnt decoded the alaw).<br>

<br>any hint of what im doing wrong? queue documentation does not have any example :-(.<br><br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/0.10.1/gstreamer-plugins/html/gstreamer-plugins-queue.html" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/0.10.1/gstreamer-plugins/html/gstreamer-plugins-queue.html</a><br>

<br>best regards,<br>Katcipis<br clear="all"><font color="#888888"><br>-- <br>&quot;it might be a profitable thing to learn Java, but it has no intellectual value whatsoever&quot; Alexander Stepanov<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>&quot;it might be a profitable thing to learn Java, but it has no intellectual value whatsoever&quot; Alexander Stepanov<br>