[gst-devel] Kaapow

Julien Moutte julien at moutte.net
Fri Dec 29 17:07:46 CET 2006

You don't need freeze, look at this example launch line.

gst-launch-0.10 filesrc location=/home/dolphy/Desktop/ROCK1.png !
pngdec ! ffmpegcolorspace ! videomixer name=mixer ! ffmpegcolorspace !
ximagesink videotestsrc ! ffmpegcolorspace ! mixer.

ATTENTION: the order is important in the gst-launch line because you
can't control the Z order of the streams connected to the mixer. In your
application it's different. Enjoy..


On Fri, 2006-12-29 at 15:13 +0000, Adam Lofts wrote:
> Hi,
> I'd like to announce a project I've had over the winter. Kaapow is a
> little python application for playing with webcams. It will display
> you webcam feed and allow you to apply effects to the feed (currently
> limited to the *tv elements, see below). The url is
> http://adam.uwcs.co.uk/kaapow. This should be fun for people with
> cameras built into laptops for example. 
> So the next step I want to take is to add an "overlay" effect to put a
> picture of a gorilla on top of the camera feed, so one can look at
> oneself being a gorilla (i.e. some of the image would be transparent).
> Unfortunately this is not as simple as sticking in an edgetv element
> and a colorspace. My gut reaction was this: 
> [ filesrc ! pngdec ! freeze ! ffmpegcolorspace ]
> [ feed going in ! ffmpegcolorspace ]
> both into 
> [ videomixer ! feed going out ]
> I do get one frame of output from this, with the image on top but then
> playing stops. I've also tried playing with pad probes to eat up EOS
> events but still no success. 
> Are there any example of doing this?
> Thanks,
> Adam
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ 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