<div dir="ltr">I don't see a problem in your server/client streams but I am not very knowledgeable about MPEG. What I suggest is that you divide and conquer. Solve one problem first, then the other. It is probably best to solve the server transmitting too fast first. Enable logging in the modules that you are using. It looks like you are using some Linux distro so export GST_DEBUG=*:3;filesrc:5 That should get you started. If you don't see anything interesting in that log, choose other modules and increase the log level for them and repeat the test. That is the way it works. Then apply that strategy to other systems and pipelines. In your pipelines that run for 5 minutes but fail to break out audio, it doesn't look like you are doing anything with the audio streams. Again, turn up the logging and follow the results.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 29, 2014 at 12:13 PM, Gstlili <span dir="ltr"><<a href="mailto:ti_mourad@yahoo.fr" target="_blank">ti_mourad@yahoo.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><div>Thank you Chuck for help !</div>
<div><br></div><div>I tried removing the caps and the rtpmp2tdepay, as you suggest, but the pipeline doesnt work (same behavior).</div><div><br></div><div>I broadcasted my mpeg-2 ts stream using Gstreamer instead of VLC :</div>
<div><br></div><div><span style="font-weight:bold">Sender:</span></div><div><span style="font-style:italic">gst-launch-0.10 -v filesrc location=dolit.ts ! mpegtsparse ! rtpmp2tpay ! udpsink port=1234 host=127.0.0.1 sync=false</span></div>
<div><br></div><div><span style="font-weight:bold">Receiver :</span></div><div><span style="font-style:italic">gst-launch-0.10 -v udpsrc port=1234 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! rtpmp2tdepay ! mpegtsdemux name=d .audio_0045 ! queue max-size-buffers=0 max-size-time=0 ! filesink location=./AudENG.wav d.audio_0046 ! queue max-size-buffers=0 max-size-time=0 ! filesink location=./AudFRA.wav</span></div>
<div><br></div><div><br></div><div>The wav files are well saved but i remarqued that the sender doesn't streamed (played) the ts file because it quikely finished ( in 3 seconds while my stream duration is 5 mn !!! ):</div>
<div><br></div><div><span style="font-style:italic">gst-launch-0.10 -v filesrc location=dolit.ts ! mpegtsparse ! rtpmp2tpay ! udpsink port=1234
 host=127.0.0.1 sync=false</span></div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div>...</div><div>Pipeline is PREROLLED ...</div><div>Setting pipeline to PLAYING ...</div><div>New clock: GstSystemClock</div>
<div>Got EOS from element "pipeline0".</div><div><span style="font-weight:bold">Execution ended after 3301466342 ns.</span></div><div>Setting pipeline to PAUSED ...</div><div>Setting pipeline to READY ...</div><div>
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = NULL</div><div>/GstPipeline:pipeline0/GstRTPMP2TPay:rtpmp2tpay0.GstPad:sink: caps = NULL</div><div>/GstPipeline:pipeline0/GstRTPMP2TPay:rtpmp2tpay0.GstPad:src: caps = NULL</div>
<div>/GstPipeline:pipeline0/MpegTSParse:mpegtsparse0.GstPad:src0: caps = NULL</div><div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div><div><br></div><div>I used the two following streamers which well broadcast the <span style="font-style:italic">dolit.ts</span> in <span style="font-weight:bold">5 mn</span> but my wav files are <span style="font-weight:bold">empty !!!!!!!!</span></div>
<div><br></div><div><span style="font-weight:bold">Streamer 1:</span></div><div><span style="font-style:italic">gst-launch-0.10 -v filesrc location=./dolit.ts ! decodebin ! x264enc ! video/x-h264 ! rtph264pay pt=96 ! udpsink port=1234 host=127.0.0.1 sync=false</span></div>
<div><br></div><div><span style="font-weight:bold">Streamer 2:</span></div><div><span style="font-style:italic">gst-launch-0.10 filesrc location=dolit.ts ! mpegtsdemux ! mpegtsmux ! udpsink clients=<a href="http://127.0.0.1:1234" target="_blank">127.0.0.1:1234</a></span></div>
<div><br></div><div><br></div><div>How can i stream my ts file over network udp/rtp and well read it ?</div><div><br></div><div>Please can someone provide any help about this ? </div><div><br></div><div>Thanks</div><div><br>
</div><div><br></div><div><br></div><div><span></span></div><div><br></div><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt">
 <div dir="ltr"> <font face="Arial"> Le Lundi 28 avril 2014 15h09, Chuck Crisler-2 [via GStreamer-devel] <<a href="http://user/SendEmail.jtp?type=node&node=4666658&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> a écrit :<br>
 </font> </div>  <div><div><div><div dir="ltr"><div>It looks like your 2 audio files are stored in MP2T format, not RTP. You could save them in MP2T encapsulated in RTP but why? There really isn't much (if any) benefit. <br clear="none">
</div>Remove the caps and the rtpmp2tdepay, the rest may work.<br clear="none">
</div><div><br clear="none"><br clear="none"><div>On Mon, Apr 28, 2014 at 4:48 AM, Gstlili <span dir="ltr"><<a rel="nofollow" shape="rect" link="external">[hidden email]</a>></span> wrote:<br clear="none">
<blockquote style="border-left:2px solid #cccccc;padding:0 1em">I am still blocked...<br clear="none">
<br clear="none">
I think that there is a problem of synchronisation between the RTP stream<br clear="none">
and the pipeline execution...<br clear="none">
<br clear="none">
am I doing something wrong here?<br clear="none">
<br clear="none">
I will be happy for help.<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
--<br clear="none">
View this message in context: <a rel="nofollow" shape="rect" href="http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666639.html" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666639.html</a><br clear="none">


<div><div>Sent from the GStreamer-devel mailing list archive at Nabble.com.<br clear="none">
_______________________________________________<br clear="none">
gstreamer-devel mailing list<br clear="none">
<a rel="nofollow" shape="rect" link="external">[hidden email]</a><br clear="none">
<a rel="nofollow" shape="rect" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br clear="none">
</div></div></blockquote></div><br clear="none"></div>
<br clear="none">_______________________________________________
<br clear="none">gstreamer-devel mailing list
<br clear="none"><a rel="nofollow" shape="rect" link="external">[hidden email]</a>
<div><br clear="none"><a rel="nofollow" shape="rect" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div>
<br clear="none">

        
        
        
        <br clear="none">
        <br clear="none">
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a rel="nofollow" shape="rect" href="http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666640.html" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666640.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;line-height:1.5em">
                
                To unsubscribe from Save all audio ES in separate wav files, <a rel="nofollow" shape="rect" link="external">click here</a>.<br clear="none">
                <a rel="nofollow" shape="rect" href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif" link="external" target="_blank">NAML</a><div>

        </div></div></div></div><br><br></div>  </div> </div>  </div> </div>

        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666658.html" target="_blank">Re: Save all audio ES in separate wav files</a><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank">GStreamer-devel mailing list archive</a> at Nabble.com.<br><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>
<br></blockquote></div><br></div>