Interleave question

Wouter Klouwen dublet at acm.org
Fri May 16 03:42:03 PDT 2014


Just to bring this to a conclusion, I was referring to the 1.x series of 
documentation while using 0.10.x.  Referring to the correct 
documentation helped me get the interleaving to swap channels working.


On 15/05/2014 15:24, Chuck Crisler wrote:
> 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.
>
> 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.
>
>
> On Wed, May 14, 2014 at 12:36 PM, Wouter Klouwen <dublet at acm.org 
> <mailto:dublet at acm.org>> wrote:
>
>     Hello all,
>
>     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.
>
>     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*:
>     $ 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
>
>     But when I execute this with an mp3 file, I get this output:
>
>     0:00:00.076005000  5324   00528D00 ERROR GST_PIPELINE grammar.tab.c:71
>     3:gst_parse_perform_link: could not link audioconvert3 to i
>     0:00:00.081005000  5324   00528D00 ERROR GST_PIPELINE grammar.tab.c:71
>     3:gst_parse_perform_link: could not link audioconvert0 to d
>     0:00:00.086005000  5324   00528D00 ERROR GST_PIPELINE grammar.tab.c:71
>     3:gst_parse_perform_link: could not link audioconvert2 to i
>     WARNING: erroneous pipeline: could not link audioconvert3 to i
>
>     This is using gstreamer 0.10.
>
>     Could someone enlighten me as to why this doesn't work?
>
>     *:
>     http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-interleave.html
>
>     Thanks in advance,
>          Wouter
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.freedesktop.org
>     <mailto:gstreamer-devel at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140516/b20d6de0/attachment.html>


More information about the gstreamer-devel mailing list