[gst-devel] grid-overlay using gstreamer

Olivier Aubert olivier.aubert at liris.cnrs.fr
Mon Aug 23 11:43:34 CEST 2010


On Wed, 2010-08-18 at 16:01 -0500, Bert Douglas wrote:
> The idea is that you make an image with desired grid pattern.  There
> are many ways to do this.
> You can generate the image either "off line" and fetch it from a file.
> Or you can generate the image "on line" directly in memory.

> Or you can write a separate script in your favorite language
> (python,ruby,perl, etc) to write a ppm file.  That is easiest format
> to produce, without using any libraries.  Then convert to acceptable
> image file format (png, jpeg) using image editor.
Another option is to generate SVG (which in this case is much simpler
than generating ppm), and use the (not integrated yet) rsvgoverlay
element - see https://bugzilla.gnome.org/show_bug.cgi?id=435120

Olivier

> Or you can write a program that generates postscript in a text file,
> and process that using linux command line tools into an image file.
> This is probably the best combination of power and simplicity, if you
> need something more than just straight vertical and horizontal black
> lines.  But it may be somewhat difficult to get exact pixel positions.
> 
> Or you can use the cairo calls to generate an image.
> 
> Once you have the image, you get get it from a file using "file
> source" and "image decoder".
> 
> Google pulls up lots of hits on this topic.
> http://gstreamer-devel.966125.n4.nabble.com/Overlaying-an-image-on-a-live-stream-td1745726.html
> 
> Bert Douglas
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --Bert
> 
> On Wed, Aug 18, 2010 at 1:04 PM, ramanadh ravinuthala
> <ramnadh_india at yahoo.co.in> wrote:
>         Hi,
>         the videomixer doesn't have any property like block size or
>         the number of blocks.
>         actually i need a overlay on the video which divides the frame
>         into blocks of some fixed size
>         can you please provide any example pipe line
>         Thanks
>         
>         
>         
>         
>         ------------------------------------------------------------------------------
>         This SF.net email is sponsored by
>         
>         Make an app they can't live without
>         Enter the BlackBerry Developer Challenge
>         http://p.sf.net/sfu/RIM-dev2dev 
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel at lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>         
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel






More information about the gstreamer-devel mailing list