<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Chuck,<br>
<br>
thanks for getting back in touch. I've attached the output of the
command with the debug environment you've recommended.<br>
The line before one of the errors are like this:<br>
<br>
INFO GST_ELEMENT_PADS
gstutils.c:1614:gst_element_link_pads_full: trying to link element
audioconvert3:(any) to element i:sink_0<br>
INFO GST_ELEMENT_PADS
gstelement.c:960:gst_element_get_static_pad: no such pad 'sink_0' in
element "i"<br>
INFO default
gstutils.c:1944:gst_element_link_pads_filtered: Could not link pads:
audioconvert3:(null) - i:sink_0<br>
ERROR GST_PIPELINE
grammar.tab.c:713:gst_parse_perform_link: could not link
audioconvert3 to i<br>
<br>
What seems to be the problem is that, according to the documentation
there should be a sink_%u in interleave with a corresponding src_%u
in deinterleave. The debug info spits out the following:<br>
GST_PLUGIN_LOADING gstplugin.c:857:gst_plugin_load_file: plugin
"C:\Program Files
(x86)\OSSBuild\GStreamer\v0.10.7\lib\gstreamer-0.10\libgstinterleave.dll"
loaded<br>
INFO GST_ELEMENT_FACTORY
gstelementfactory.c:369:gst_element_factory_create: creating element
"deinterleave"<br>
INFO GST_ELEMENT_PADS
gstelement.c:716:gst_element_add_pad:<GstDeinterleave@0211A0B8>
adding pad 'sink'<br>
INFO GST_ELEMENT_FACTORY
gstelementfactory.c:369:gst_element_factory_create: creating element
"interleave"<br>
INFO GST_ELEMENT_PADS
gstelement.c:716:gst_element_add_pad:<GstInterleave@021460B8>
adding pad 'src'<br>
<br>
Does this mean my plug is defective in some way and I should try a
different version/build?<br>
<br>
One of the other warnings that appears to be omnious is:<br>
<br>
INFO GST_ELEMENT_PADS
gstelement.c:960:gst_element_get_static_pad: no such pad 'src%d' in
element "decodebin0"<br>
<br>
Though I'm not sure whether that's a side effect of the above or
not.<br>
<br>
Any ideas welcome..<br>
<br>
Thanks,<br>
Wouter<br>
<br>
<div class="moz-cite-prefix">On 15/05/2014 15:24, Chuck Crisler
wrote:<br>
</div>
<blockquote
cite="mid:CALXOHKpte5kgkeqG4LPLMRLGfpdrdSP+E+CoCmp_pknsazJc-w@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-interleave.html</a><br>
<br>
Thanks in advance,<br>
Wouter<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>