<div dir="ltr">Hi,<div><br><div>If<br><div><div><span style="background-color:rgb(255,255,255);font-family:'Times New Roman';font-size:medium"><br></span></div><div><span style="background-color:rgb(255,255,255);font-family:'Times New Roman';font-size:medium">File splitting modes is </span><span style="background-color:rgb(230,243,255)">GST_MULTI_FILE_SINK_NEXT_MAX_SIZE</span></div>
<div><span style="background-color:rgb(230,243,255)"><br></span></div><div><span style="background-color:rgb(230,243,255)">There are no messages on the BUS for a newly created file.</span></div><div><span style="background-color:rgb(230,243,255)"><br>
</span></div><div><span style="background-color:rgb(230,243,255)">So listen don't listen. There is absolute silence there =)</span></div><div><span style="background-color:rgb(230,243,255)"><br></span></div><div><span style="background-color:rgb(230,243,255)">Ideas?</span></div>
<div><br><div class="gmail_quote">On Sat, Oct 6, 2012 at 2:38 AM, Jan Schmidt <span dir="ltr"><<a href="mailto:thaytan@noraisin.net" target="_blank">thaytan@noraisin.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, 2012-10-05 at 11:41 -0400, sam shmayev wrote:<br>
> Hi,<br>
><br>
><br>
> I use multifilesink element to save live stream to chunks.<br>
><br>
><br>
> But I need to know when a new chunk is created.<br>
> May be I can use post-messages property.<br>
<br>
</div>Yes, use the post-messages property, and listen on the bus.<br>
<br>
Check out the docs, if you haven't already:<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html</a><br>
<div class="im"><br>
J.<br>
<br>
><br>
><br>
> Assume live stream is videotestsrc.<br>
><br>
><br>
> My pipeliene is :<br>
> videotestsrc ! multifilesink post-messages=1<br>
> location="/home/sam/chunk_%d\" next-file=4 max-files=0<br>
> max-file-size=10000 name=sink<br>
><br>
><br>
> Any ideas?<br>
> Examples?<br>
><br>
><br>
> Thanks.<br>
><br>
><br>
> --<br>
> S.Shmayev<br>
><br>
><br>
> Office: <a href="tel:%2B972-72-2777239" value="+972722777239">+972-72-2777239</a><br>
> Mobile: <a href="tel:%2B972-54-6216356" value="+972546216356">+972-54-6216356</a><br>
><br>
><br>
</div>> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jan Schmidt <<a href="mailto:thaytan@noraisin.net">thaytan@noraisin.net</a>><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><b><font size="1" face="'comic sans ms', sans-serif">S.Shmayev</font></b><div><b><font size="1" face="'comic sans ms', sans-serif"><br>
</font></b></div><div><div><i>Office:</i> +972-72-2777239</div><div><i>Mobile:</i> +972-54-6216356</div></div></div><br>
</div></div></div></div></div>