Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I am currently using GStreamer for a similar project (lecture-capture) myself. You are probably looking for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-videomixer.html" rel="nofollow noreferrer">videomixer</a> element. Check out this example: <a href="http://blogs.gnome.org/halfline/2009/10/11/video-4-way-split-screen-gstreamer-pipeline/" rel="nofollow noreferrer">Video 4-way split screen gstreamer pipeline</a> (script is located <a href="http://git.gnome.org/browse/usability-lab/tree/eb1304-to-ogg.sh#n93" rel="nofollow noreferrer">here</a>).</p> <p>GStreamer works perfectly fine on Windows too. You may want to check out the <a href="http://www.gstreamer-winbuild.ylatuya.es/doku.php" rel="nofollow noreferrer">GStreamer WinBuilds</a> if you are interested. </p> <p><b>Example</b><br> Here's a basic script that works for me on Windows (it doesn't have the backslashes because I use the <a href="http://www.gstreamer.net/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstParse.html#gst-parse-launch" rel="nofollow noreferrer">gst_parse_launch</a> call from C code to parse the pipeline description):</p> <pre><code> v0. ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=320,height=240 ! videobox right=-320 bottom=-240 ! ffmpegcolorspace ! vmix.sink_0 v1. ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=320,height=240 ! videobox bottom=-240 ! ffmpegcolorspace ! vmix.sink_1 v2. ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=320,height=240 ! videobox right=-240 ! ffmpegcolorspace ! vmix.sink_2 v3. ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! vmix.sink_3 vmix. ! queue ! ffmpegcolorspace ! dshowvideosink filesrc location="c:/test.mpg" name="v0" filesrc location="c:/test.mpg" name="v1" filesrc location="c:/test.mpg" name="v2" filesrc location="c:/test.mpg" name="v3" videomixer name=vmix sink_0::xpos=0 sink_0::ypos=0 sink_0::zorder=0 sink_1::xpos=320 sink_1::ypos=0 sink_1::zorder=1 sink_2::xpos=0 sink_2::ypos=240 sink_2::zorder=2 sink_3::xpos=320 sink_3::ypos=240 sink_3::zorder=3 </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload