You can run multiple pipeline in a gstreamer application , <br>in you app you need to create different pipeline and set them in playing state separately. I dont see any issue in doing that ?<br><br><br><div class="gmail_quote">
On Mon, May 30, 2011 at 9:31 PM, E-J van der Linden <span dir="ltr">&lt;<a href="mailto:EJvanderLinden@hetnet.nl">EJvanderLinden@hetnet.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I try to have two pipelines in one gst-launch command.<br>
<br>
gst-launch -v alsasrc ! &quot;audio/x-raw-int,channels=2,rate=44100,depth=32,height=32&quot; ! audioconvert ! rtpL16pay ! udpsink host=localhost port=8000 \<br>
udpsrc port=8000 ! &quot;application/x-rtp,media=audio,clock-rate=44100,channels=2,payload=96&quot; ! rtpL16depay ! alsasink sync=false<br>
<br>
The output is<br>
<br>
Setting pipeline to PAUSED ...<br>
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-buffer-time = 200000<br>
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-latency-time = 10000<br>
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2, height=(int)32<br>
Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstAudioSrcClock<br>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2, height=(int)32<br>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2, height=(int)32<br>
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2<br>
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2, height=(int)32<br>
/GstPipeline:pipeline0/GstRtpL16Pay:rtpl16pay0.GstPad:src: caps = application/x-rtp, media=(string)audio, clock-rate=(int)44100, encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, payload=(int)96, ssrc=(uint)407862357, clock-base=(uint)3043520952, seqnum-base=(uint)48790<br>

/GstPipeline:pipeline0/GstRtpL16Pay:rtpl16pay0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2<br>
/GstPipeline:pipeline0/GstRtpL16Pay:rtpl16pay0: timestamp = 3043520952<br>
/GstPipeline:pipeline0/GstRtpL16Pay:rtpl16pay0: seqnum = 48790<br>
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)audio, clock-rate=(int)44100, encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, payload=(int)96, ssrc=(uint)407862357, clock-base=(uint)3043520952, seqnum-base=(uint)48790<br>

<br>
I see that the second pipe doesn&#39;t run, there isn&#39;t sound !!<br>
When I run two gst-launch commands, there is sound.<br>
<br>
The thing is that I want to program the two pipelines in one program and if I can&#39;t get this to work with gst-launch I think I can&#39;t program it...<br>
<br>
Ernst-Jan<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>