X-Window source?

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

X-Window source?

José Luis
Hi all!

I'm looking for a solution to save a X-Window on a file (or another GST sink element). I find programs as "recordmydesktop" that can save a window (or a piece of the screen) to a file.

Is there any way to do that using Gstreamer?

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

X-Window source?

José Luis Segura Lucas
Hi all!

I'm looking for a solution to save a X-Window on a file (or another GST sink element). I find programs as "recordmydesktop" that can save a window (or a piece of the screen) to a file.

Is there any way to do that using Gstreamer?


------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: X-Window source?

Tristan Matthews-2
2010/5/18 José Luis Segura Lucas <[hidden email]>
Hi all!

I'm looking for a solution to save a X-Window on a file (or another GST sink element). I find programs as "recordmydesktop" that can save a window (or a piece of the screen) to a file.

Is there any way to do that using Gstreamer?


You'll want to use ximagesrc with the encoder of your choice, and then output to a filesink. There are plenty of ximagesrc examples online that do just that.

http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-ximagesrc.html

-t

 

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Tristan Matthews
email: [hidden email]
web: http://tristanswork.blogspot.com

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: X-Window source?

José Luis Segura Lucas
Oh, Ok. Thanks a lot! I didn't know anything about this gst element. I will read.

Thanks Tristan!

2010/5/18 Tristan Matthews <[hidden email]>
2010/5/18 José Luis Segura Lucas <[hidden email]>

Hi all!

I'm looking for a solution to save a X-Window on a file (or another GST sink element). I find programs as "recordmydesktop" that can save a window (or a piece of the screen) to a file.

Is there any way to do that using Gstreamer?


You'll want to use ximagesrc with the encoder of your choice, and then output to a filesink. There are plenty of ximagesrc examples online that do just that.

http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-ximagesrc.html

-t

 

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Tristan Matthews
email: [hidden email]
web: http://tristanswork.blogspot.com

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: X-Window source?

Kapil Agrawal
In reply to this post by José Luis
check
gst-inspect ximagesrc,

I guess this is what you need.

best
Kapil

On Tue, May 18, 2010 at 3:30 PM, José Luis <[hidden email]> wrote:
Hi all!

I'm looking for a solution to save a X-Window on a file (or another GST sink element). I find programs as "recordmydesktop" that can save a window (or a piece of the screen) to a file.

Is there any way to do that using Gstreamer?

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel