Finally I use (2) - valves- rebuilding the last part of the branch.<br>Since the EOS flushes date itself, I didn't found necessary to block the pads.<br><br>It useful to destroy the encoders and the filesinks in order to avoid problems with codification and encapsulation.<br>
I would like to find a way to "restart" the encoders without removing and creating them anew every time.<br><br><div class="gmail_quote">2012/10/12 <a href="mailto:marcin@saepia.net">marcin@saepia.net</a> <span dir="ltr"><<a href="mailto:marcin@saepia.net" target="_blank">marcin@saepia.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I suggest 3).<br>
<br>
If you use 0.10 there are several things that are not so obvious but<br>
it is worth trying.<br>
<br>
m.<br>
<br>
2012/10/11 Hector Canto <<a href="mailto:hectorcanto@gmail.com">hectorcanto@gmail.com</a>>:<br>
<div><div class="h5">> Hi everyone,<br>
><br>
> I'm trying to develop a pipeline where I can maintain a continuous preview<br>
> while recording several files. I don't mind loosing data between chunks.<br>
> So far I've come with this ideas but I lack expertise with this elements or<br>
> I was unsuccessful so far:<br>
><br>
> The ideas:<br>
><br>
> 1) Use a multifilesink<br>
> 2) Use two branches with valve + encoder + muxer + filesink, shifting<br>
> between them, rebuilding them when disabled.<br>
> 3) Block the pad and rebuild the last part of the branch<br>
><br>
> The questions for each alternative:<br>
><br>
> 1.a Is there a way to control the "next-file" manually, an EOS to the sink<br>
> doesn't seems to work.<br>
> 1.b I had problems with the first chunk and with time-stamping, am I missing<br>
> something?<br>
><br>
> 3.a Would the pipeline stuck?<br>
> 3.b Do I need to build the elements again or there is a way to restart them<br>
><br>
> And finally, which alternative do you recommend?<br>
> I would like to implement (1) but I didn't found documentation or examples<br>
> to help me do it. (2) seems the easiest but also the less clean.<br>
><br>
> Thanks in advance<br>
> ----<br>
> Héctor Canto<br>
><br>
><br>
</div></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>
><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>
</blockquote></div><br><br clear="all"><br>-- <br>----<br>Héctor Canto<br><br>