AW: HLSSINK on new segment callback
Thornton, Keith
keith.thornton at zeiss.com
Tue Mar 15 13:48:49 UTC 2016
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
More information about the gstreamer-devel
mailing list