Tips for on the fly video editing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Tips for on the fly video editing

raul cordeiro holanda
Hi all,

I already know that gstreamer has video editing capabilities because i
see that PITIVI use it.
I'm studing how to edit videos with gstreamer and i already has a
guess - GNonLin plugin - but i decide to ask them
if i'll can do what i need and i think here is the best place to
discover! Below i say what i need and what i already do.

I has a aplication that generates frames for me and i need implement a
fixed time size video on memory (no file) - in form of a sliding
window.
When my app receives a event notification (a mouse click i.e.), they
need flush this video to file on disk.

1) implement a pipeline that connect my app and gstreamer (with appsrc
plugin); this is OK (tested and validated)
2) implement the video encoding on a give format; this is ok (tested
and validated)
3) implement the sliding window; (how to do that? some simple
examples? to help me start?)
4) Monitor a evento to flush the sliding window to a file on disk (i
already has ideas for this, but tips is always good and welcome!! =)

Below is a single sketch to show what i need.

     video's sliding
        window on
          memmory
|<----------1min---------->|
  |<----------1min---------->|
      |<----------1min---------->|
          |<----------1min---------->|
             |<----------1min---------->|
|--------------------------------------------------------------------------------------------------->
(time)
                             |
                         event
                             |
                     |<---30s--->|
                       video file
                       to disk!!

Any help is appreciated. Thanks in advance!!!

--
Raul Holanda Cordeiro
Celular: +55 (85) 8863-6877
Celular: +55 (85) 8805-3592
Skype: raulhcordeiro

--
Raul Holanda Cordeiro
Celular: +55 (85) 8863-6877
Celular: +55 (85) 8805-3592
Skype: raulhcordeiro


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Tips for on the fly video editing

Vineeth-2
I think you will find examples of this in the unit tests of Gstreamer editing services : http://gstreamer.freedesktop.org/data/src/gst-editing-services/
Check the unit tests at gstreamer-editing-services-0.10.1/tests/check/ges
--vineeth


On Mon, Mar 14, 2011 at 8:25 AM, raul cordeiro holanda <[hidden email]> wrote:
Hi all,

I already know that gstreamer has video editing capabilities because i
see that PITIVI use it.
I'm studing how to edit videos with gstreamer and i already has a
guess - GNonLin plugin - but i decide to ask them
if i'll can do what i need and i think here is the best place to
discover! Below i say what i need and what i already do.

I has a aplication that generates frames for me and i need implement a
fixed time size video on memory (no file) - in form of a sliding
window.
When my app receives a event notification (a mouse click i.e.), they
need flush this video to file on disk.

1) implement a pipeline that connect my app and gstreamer (with appsrc
plugin); this is OK (tested and validated)
2) implement the video encoding on a give format; this is ok (tested
and validated)
3) implement the sliding window; (how to do that? some simple
examples? to help me start?)
4) Monitor a evento to flush the sliding window to a file on disk (i
already has ideas for this, but tips is always good and welcome!! =)

Below is a single sketch to show what i need.

     video's sliding
        window on
          memmory
|<----------1min---------->|
  |<----------1min---------->|
      |<----------1min---------->|
          |<----------1min---------->|
             |<----------1min---------->|
|--------------------------------------------------------------------------------------------------->
(time)
                             |
                         event
                             |
                     |<---30s--->|
                       video file
                       to disk!!

Any help is appreciated. Thanks in advance!!!

--
Raul Holanda Cordeiro
Celular: +55 (85) 8863-6877
Celular: +55 (85) 8805-3592
Skype: raulhcordeiro

--
Raul Holanda Cordeiro
Celular: +55 (85) 8863-6877
Celular: +55 (85) 8805-3592
Skype: raulhcordeiro


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel