Sub:HLS Segments Recording
Duncan Palmer
dpalmer at digisoft.tv
Thu Feb 12 14:56:25 PST 2015
In that case, it's likely that it isn't switching variants, which is just
good luck.
I'm a bit confused tho - you say that "the file it contain the stream of
duration equals to the gst-launch time". Isn't this what you want?
On 12 February 2015 at 15:17, Buchibabu Bandarupally <
buchibabu.bandarupally at gaiatv.in> wrote:
> Hi Duncan Palmer,
> 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.
>
> output:
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>
> 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 ?
>
> Thanks
> Buchibabu
>
> On Thu, Feb 12, 2015 at 5:55 AM, Duncan Palmer <dpalmer at digisoft.tv>
> wrote:
>
>> I don't think there's a way to do what you're trying to do with
>> gst-launch.
>>
>> 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.
>>
>> 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.
>>
>>
>> On 11 February 2015 at 18:05, Buchibabu Bandarupally <
>> buchibabu.bandarupally at gaiatv.in> wrote:
>>
>>> Hi
>>>
>>> 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
>>>
>>> gst-launch-1.0 souphttpsrc location=http://IPADDRESS:PORT/livetv/playlist.m3u8
>>> ! hlsdemux ! filesink location=xyz.ts
>>>
>>>
>>> Thanks
>>> Buchibabu
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> 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
>>
>>
>
> _______________________________________________
> 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/20150213/cf88b1df/attachment-0001.html>
More information about the gstreamer-devel
mailing list