<div dir="ltr"><div><div><div><div>Hi Duncan Palmer,<br></div>Thanks for your reply,you mentioned the xyz.ts file contains only first segment and there after on EOS event gst-launch getting exiting but i am getting the following output,and the gst-launch was not exit until i explicitly close the launch.<br><br>output:<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br><br></div>and after some time if i press Ctrl+c and if i check the file it contain the stream of duration equals to the gst-launch time .any advice ?<br><br></div>Thanks<br></div>Buchibabu<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 5:55 AM, Duncan Palmer <span dir="ltr"><<a href="mailto:dpalmer@digisoft.tv" target="_blank">dpalmer@digisoft.tv</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I don't think there's a way to do what you're trying to do with gst-launch. <br><br>The problem is that hlsdemux creates a new src pad on each variant switch. When I run the pipeline you have above, xyz.ts contains the first hls segment. However, hsldemux then switches variant, and creates a new src pad. It sends an EOS event out the existing src pad, which propogates thru the pipeline, causing gst-launch to exit on EOS.<br><br></div><div>You can either code up something to manage the pipeline, or just write a script to just pull down the HLS content. The latter would be a lot faster, and you could decide what variant you wanted to download.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 11 February 2015 at 18:05, Buchibabu Bandarupally <span dir="ltr"><<a href="mailto:buchibabu.bandarupally@gaiatv.in" target="_blank">buchibabu.bandarupally@gaiatv.in</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hi<br><br></div>is there any way to Record HTTP Live streaming Segments(chunks) using gstreamer pipeline,i am able to receive the stream but not Segments using the following pipeline <br><br>gst-launch-1.0 souphttpsrc location=http://IPADDRESS:PORT/livetv/playlist.m3u8 ! hlsdemux ! filesink location=xyz.ts<br><br><br></div>Thanks <br></div><span><font color="#888888">Buchibabu<br></font></span></div>
<br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
<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>