[gst-devel] real time video mixing

Marc Leeman marc.leeman at gmail.com
Wed Jun 10 13:54:04 CEST 2009


> How can I do real-time video mixing with gstreamer? For example, I want to
> overlay a video over another video, after some it has started playing.

Based on an article by taytan:

gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240 ! alpha \
  method=custom target-r=160 target-g=220 target-b=60 angle=10 ! \
  videomixer name=mix ! ffmpegcolorspace ! xvimagesink filesrc \
  location=test.avi ! decodebin ! videoscale ! \
  video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! mix.

We call it the 'hide-the-pr0n' pipeline. If you mention pr0n in a
presentation with engineers, you always get their full attention.

-- 
  greetz, marc
The earth is like a tiny grain of sand, only much, much heavier.
crichton 2.6.26 #1 PREEMPT Tue Jul 29 21:17:59 CDT 2008 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090610/c67e71bf/attachment.pgp>


More information about the gstreamer-devel mailing list