I think you will find examples of this in the unit tests of Gstreamer editing services : <a href="http://gstreamer.freedesktop.org/data/src/gst-editing-services/">http://gstreamer.freedesktop.org/data/src/gst-editing-services/</a><div>
Check the unit tests at gstreamer-editing-services-0.10.1/tests/check/ges<br clear="all">--vineeth<br>
<br><br><div class="gmail_quote">On Mon, Mar 14, 2011 at 8:25 AM, raul cordeiro holanda <span dir="ltr"><<a href="mailto:raulhcordeiro@gmail.com">raulhcordeiro@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br><br>I already know that gstreamer has video editing capabilities because i<br>see that PITIVI use it.<br>I'm studing how to edit videos with gstreamer and i already has a<br>guess - GNonLin plugin - but i decide to ask them<br>
if i'll can do what i need and i think here is the best place to<br>discover! Below i say what i need and what i already do.<br><br>I has a aplication that generates frames for me and i need implement a<br>fixed time size video on memory (no file) - in form of a sliding<br>
window.<br>When my app receives a event notification (a mouse click i.e.), they<br>need flush this video to file on disk.<br><br>1) implement a pipeline that connect my app and gstreamer (with appsrc<br>plugin); this is OK (tested and validated)<br>
2) implement the video encoding on a give format; this is ok (tested<br>and validated)<br>3) implement the sliding window; (how to do that? some simple<br>examples? to help me start?)<br>4) Monitor a evento to flush the sliding window to a file on disk (i<br>
already has ideas for this, but tips is always good and welcome!! =)<br><br>Below is a single sketch to show what i need.<br><br> video's sliding<br> window on<br> memmory<br>|<----------1min---------->|<br>
|<----------1min---------->|<br> |<----------1min---------->|<br> |<----------1min---------->|<br> |<----------1min---------->|<br>|---------------------------------------------------------------------------------------------------><br>
(time)<br> |<br> event<br> |<br> |<---30s--->|<br> video file<br> to disk!!<br>
<br>Any help is appreciated. Thanks in advance!!!<br><br>--<br>Raul Holanda Cordeiro<br>Celular: +55 (85) 8863-6877<br>Celular: +55 (85) 8805-3592<br>Skype: raulhcordeiro<br><font color="#888888"><br>-- <br>Raul Holanda Cordeiro<br>
Celular: +55 (85) 8863-6877<br>
Celular: +55 (85) 8805-3592<br>Skype: raulhcordeiro<br><br>
</font><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>
<br></blockquote></div><br></div>