Message on a newly created chunk by multifilesink

Jan Schmidt thaytan at noraisin.net
Fri Oct 5 17:38:57 PDT 2012


On Fri, 2012-10-05 at 11:41 -0400, sam shmayev wrote:
> Hi,
> 
> 
> I use multifilesink element to save live stream to chunks.
> 
> 
> But I need to know when a new chunk is created.
> May be I can use post-messages property.

Yes, use the post-messages property, and listen on the bus.

Check out the docs, if you haven't already:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html

J.

> 
> 
> Assume live stream is videotestsrc.
> 
> 
> My pipeliene is :
> videotestsrc ! multifilesink post-messages=1
> location="/home/sam/chunk_%d\" next-file=4 max-files=0
> max-file-size=10000 name=sink
> 
> 
> Any ideas?
> Examples?
> 
> 
> Thanks.
> 
> 
> -- 
> S.Shmayev
> 
> 
> Office:  +972-72-2777239
> Mobile: +972-54-6216356
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Jan Schmidt <thaytan at noraisin.net>



More information about the gstreamer-devel mailing list