[gst-devel] grid-overlay using gstreamer

Nitin Das nitin.162 at gmail.com
Thu Aug 19 05:40:56 CEST 2010


I think you can use the videotestsrc having pattern=
                           (7): checkers-1       - Checkers 1px
                           (8): checkers-2       - Checkers 2px
                           (9): checkers-4       - Checkers 4px
                           (10): checkers-8       - Checkers 8px

and overlayed on your gstreamer video using videomixer with some
transparency level.

--nitin

On Thu, Aug 19, 2010 at 2:31 AM, Bert Douglas <bertd at tplogic.com> 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.
>
> You can do this "by hand" using an image editor.  This may be tedious and
> error prone.
>
> 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.
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100819/265b54b8/attachment.htm>


More information about the gstreamer-devel mailing list