[gst-devel] grid-overlay using gstreamer
Bert Douglas
bertd at tplogic.com
Wed Aug 18 23:01:44 CEST 2010
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100818/8f3d4c41/attachment.htm>
More information about the gstreamer-devel
mailing list