VideoWall gstreamer

Thabelo Mmbengeni thabelo at gmail.com
Thu Sep 22 01:17:05 PDT 2011


you can use some thing like this, I used this to play an avi file and 4
cropped-desktop captures on top of the avi video.  Just use the Idea and
uses proper muxers and decoders for mp4. If you want to test the script just
make a video and name it video.avi  and proper screen resolutions.

gst-launch -e \
   videomixer name=mix sink_0::zorder=0 sink_0::sync=false\
sink_1::xpos=0 sink_1::ypos=0 sink_1::alpha=1 sink_1::zorder=0 \
sink_2::xpos=803         sink_2::ypos=427         sink_2::alpha=1
sink_2::zorder=0
\
sink_3::xpos=100      sink_3::ypos=570            sink_3::alpha=1
sink_3::zorder=1
\
sink_4::xpos=1 sink_4::ypos=100         sink_4::alpha=1 sink_4::zorder=1 \
sink_5::xpos=450         sink_5::ypos=1 sink_5::alpha=1 sink_5::zorder=1 \
sink_6::xpos=500      sink_6::ypos=250            sink_6::alpha=0.6
sink_6::zorder=2
\
sink_7::xpos=450         sink_7::ypos=300          sink_7::alpha=0.8
sink_7::zorder=1
\
sink_8::xpos=100        sink_8::ypos=250          sink_8::alpha=0.6
sink_8::zorder=2
! \
    ffmpegcolorspace ! xvimagesink \
videotestsrc pattern="4" ! video/x-raw-yuv, framerate=8/1, width=1024,
height=768 ! mix.sink_0 \
filesrc location="video.avi" ! avidemux ! queue  ! decodebin ! videoscale !
ffmpegcolorspace ! \
video/x-raw-yuv, width=1020, height=766 ! \
videobox border-alpha=1.0 top=-2 bottom=-2 left=-2 right=-2 ! \
videorate ! video/x-raw-yuv,framerate=8/1 ! mix.sink_1 \
ximagesrc  startx=3156 starty=120 endx=3285 endy=780 ! videoscale !
video/x-raw-rgb,width=150, height=400 ! kenburns background-color=0xFFF333 !
\
 ffmpegcolorspace !mix.sink_5 \
ximagesrc  startx=2676 starty=120 endx=2806 endy=740 ! kenburns
 background-color=0xFFF333 ! videoflip method="1" ! \
videoscale ! video/x-raw-rgb,width=500, height=180 ! ffmpegcolorspace !
mix.sink_6 \
ximagesrc  startx=2196 starty=120 endx=2326 endy=740 ! kenburns
 background-color=0xFFF333 ! videoflip method="2" ! \
videoscale ! video/x-raw-rgb,width=150, height=400 ! ffmpegcolorspace !
mix.sink_7 \
ximagesrc  startx=1716 starty=120 endx=1846 endy=740 ! kenburns
background-color=0xFFF333 ! videoflip method="3" ! \
videoscale ! video/x-raw-rgb,width=400, height=180 ! ffmpegcolorspace !
mix.sink_8


On Thu, Sep 22, 2011 at 9:37 AM, <amirulsyahmi at gmail.com> wrote:

> Hye.
>
> Did you know how to play four mp4 files simultaneously on gstreamer?
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Regards

Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110922/10640d2e/attachment-0001.htm>


More information about the gstreamer-devel mailing list