<div dir="ltr"><div>I can't enlighten you as to why it doesn't work but I might be able to direct you how to fix it yourself.<br><br></div>Generally, failure to link is due to caps errors. So, you need to crank up the logging to see what is not happy, where the link process fails. The logging during setup can be quite verbose, but you need to get some things. So, try export GST_DEBUG=*:3, GST_ELEMENT:5 see what you get and go from there. Please report your findings a) for additional comment/help if needed, b) as a guide for others.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 12:36 PM, Wouter Klouwen <span dir="ltr"><<a href="mailto:dublet@acm.org" target="_blank">dublet@acm.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
I'd like to use gstreamer to play some videos while directing the audio output to specific channels. My computer has two sets of stereo outputs (LR & rear LR) and I'd like to be able to direct which of these receives the output of playback.<br>
<br>
As far as I understand it, the interleave & deinterleave plugins should be able to do what I want, so to get my head around how this could work, I tried the example in the documentation*:<br>
$ gst-launch filesrc location=file.mp3 ! decodebin ! audioconvert ! "audio/x-raw,channels=2" ! deinterleave name=d interleave name=i ! audioconvert ! wavenc ! filesink location=test.wav d.src_0 ! queue ! audioconvert ! i.sink_1 d.src_1 ! queue ! audioconvert ! i.sink_0<br>
<br>
But when I execute this with an mp3 file, I get this output:<br>
<br>
0:00:00.076005000 5324 00528D00 ERROR GST_PIPELINE grammar.tab.c:71<br>
3:gst_parse_perform_link: could not link audioconvert3 to i<br>
0:00:00.081005000 5324 00528D00 ERROR GST_PIPELINE grammar.tab.c:71<br>
3:gst_parse_perform_link: could not link audioconvert0 to d<br>
0:00:00.086005000 5324 00528D00 ERROR GST_PIPELINE grammar.tab.c:71<br>
3:gst_parse_perform_link: could not link audioconvert2 to i<br>
WARNING: erroneous pipeline: could not link audioconvert3 to i<br>
<br>
This is using gstreamer 0.10.<br>
<br>
Could someone enlighten me as to why this doesn't work?<br>
<br>
*: <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-interleave.html" target="_blank">http://gstreamer.freedesktop.<u></u>org/data/doc/gstreamer/head/<u></u>gst-plugins-good-plugins/html/<u></u>gst-plugins-good-plugins-<u></u>interleave.html</a><br>
<br>
Thanks in advance,<br>
Wouter<br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote></div><br></div>