Message on a newly created chunk by multifilesink

sam shmayev shmayev at gmail.com
Fri Oct 12 09:47:55 PDT 2012


Hi,

If

File splitting modes is GST_MULTI_FILE_SINK_NEXT_MAX_SIZE

There are no messages on the BUS for a newly created file.

So listen don't listen. There is absolute silence there =)

Ideas?

On Sat, Oct 6, 2012 at 2:38 AM, Jan Schmidt <thaytan at noraisin.net> wrote:

> 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>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
*S.Shmayev*
*
*
*Office:*  +972-72-2777239
*Mobile:* +972-54-6216356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121012/9fdf62e0/attachment.html>


More information about the gstreamer-devel mailing list