Gstreamer and cheese

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

Gstreamer and cheese

Anu Gopalakrishnan


Hi, I am trying to include one more video editing feature in cheese. For that I wanted to use appsink method and capture video content from buffer edit it and push it back to stream.


I have studied the example code of appsink-src and wrote something very similar. but I am not able to generate the "new-buffer" signal .
   g_signal_connect (priv->video_save_bin, "new-buffer",
        G_CALLBACK (on_new_buffer_from_source), data);

I am not able to tell the pipeline to generate this signal. I quite new to gstreamer, can someone help me out. Please.
Anu






 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer and cheese

Wim Taymans
On Tue, 2009-08-18 at 06:40 +0530, Anu Gopalakrishnan wrote:

>
>
> Hi, I am trying to include one more video editing feature in cheese.
> For that I wanted to use appsink method and capture video content from
> buffer edit it and push it back to stream.
>
>
> I have studied the example code of appsink-src and wrote something
> very similar. but I am not able to generate the "new-buffer" signal .
>    g_signal_connect (priv->video_save_bin, "new-buffer",
>         G_CALLBACK (on_new_buffer_from_source), data);
>
> I am not able to tell the pipeline to generate this signal. I quite
> new to gstreamer, can someone help me out. Please.

Did you also do: g_object_set (priv->video_save_bin, "emit-signals",
TRUE, NULL) ?

Wim

> Anu
>
>
>
>
>        
>        
>  
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel