<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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 class="HOEnZb"><font color="#888888">Buchibabu<br></font></span></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>