AW: HLSSINK on new segment callback

Thornton, Keith keith.thornton at zeiss.com
Tue Mar 15 14:36:09 UTC 2016


Sorry, my e-mail client made a mess of it :-(

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Thornton, Keith
Gesendet: Dienstag, 15. März 2016 14:49
An: nicolas at ndufresne.ca; Discussion of the development of and with GStreamer
Betreff: AW: HLSSINK on new segment callback

Hi Nicolas, when I click on your link I get a 404 error Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Nicolas Dufresne
Gesendet: Dienstag, 15. März 2016 14:14
An: Discussion of the development of and with GStreamer
Betreff: Re: HLSSINK on new segment callback

Le mardi 15 mars 2016 à 08:36 +0300, Krutskikh Ivan a écrit :
> Hi, I'm also interested in this
> 14 марта 2016 г. 21:50 пользователь "Ugur" <ugur at younow.com> написал:
> > Hi,
> > 
> > I have the following pipeline x264enc -> mpegtsmux -> hlssink
> > 
> > I want to get notified when a a segment is completed (written to the 
> > disk).
> > How can i do this?
> > 
> > Thanks

hlssink uses multifilesink internally and enable the post-message property. This means, you get notified when files are created through GStreamer bus messages. The messages are described here:

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-g
ood-plugins/html/gst-plugins-good-plugins-multifilesink.html#gst-
plugins-good-plugins-multifilesink.description

Note, I don't see any messages that will tell you when a file is being removed. Another way of getting notification, is to use GFileMonitor which is part of GLib GIO library.

cheers,
Nicolas
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list