------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
you can use 'videomixer'
This is a part of 'gst-plugins-good' package BR, Praveen ________________________________________ From: ramanadh ravinuthala [[hidden email]] Sent: Wednesday, August 18, 2010 3:50 PM To: [hidden email] Subject: [gst-devel] grid-overlay using gstreamer Hello, i want the grid-overlay to be displayed on the gstreamer video which will divide the video into blocks of some size is there any plugin available Thanks "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by ramanadh ravinuthala
------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: The idea is that you make an image with desired grid pattern. There are many ways to do this. ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Bert Douglas
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 > <[hidden email]> 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 > [hidden email] > 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 [hidden email] 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |