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 id=":gc" class="ii gt">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">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"><br>-- <br>&quot;it might be a profitable thing to learn Java, but it has no intellectual value whatsoever&quot; Alexander Stepanov<br>