try adding queue before all the mix.<br><br><div class="gmail_quote">On Wed, Sep 21, 2011 at 2:04 PM, amirulsyahmi <span dir="ltr">&lt;<a href="mailto:amirulsyahmi@gmail.com">amirulsyahmi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all<br>
<br>
I need to play 4 video files in one screen. After doing some research I find<br>
this code<br>
<br>
gst-launch -e videomixer name=mix ! ffmpegcolorspace ! xvimagesink \<br>
   videotestsrc pattern=1 ! video/x-raw-yuv, framerate=5/1, width=320,<br>
height=180 ! videobox border-alpha=0 top=0 left=0 ! mix. \<br>
   videotestsrc pattern=15 ! video/x-raw-yuv, framerate=5/1, width=320,<br>
height=180 ! videobox border-alpha=0 top=0 left=-320 ! mix. \<br>
   videotestsrc pattern=13 ! video/x-raw-yuv, framerate=5/1, width=320,<br>
height=180 ! videobox border-alpha=0 top=-180 left=0 ! mix. \<br>
   videotestsrc pattern=0 ! video/x-raw-yuv, framerate=5/1, width=320,<br>
height=180 ! videobox border-alpha=0 top=-180 left=-320 ! mix. \<br>
   videotestsrc pattern=3 ! video/x-raw-yuv, framerate=5/1, width=640,<br>
height=360 ! mix.<br>
<br>
which will display like this<br>
<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n3829313/GstVideoWall.png" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/n3829313/GstVideoWall.png</a><br>
<br>
bu then I need it to play mp4 files. and I try this code<br>
<br>
gst-launch -e videomixer name=mix ! ffmpegcolorspace ! xvimagesink \<br>
   filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !<br>
video/x-raw-yuv, framerate=5/1, width=320, height=180 ! videobox<br>
border-alpha=0 top=0 left=0 ! mix. \<br>
   filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !<br>
video/x-raw-yuv, framerate=5/1, width=320, height=180 ! videobox<br>
border-alpha=0 top=0 left=-320 ! mix. \<br>
   filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !<br>
video/x-raw-yuv, framerate=5/1, width=320, height=180 ! videobox<br>
border-alpha=0 top=-180 left=0 ! mix. \<br>
   filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !<br>
video/x-raw-yuv, framerate=5/1, width=320, height=180 ! videobox<br>
border-alpha=0 top=-180 left=-320 ! mix. \<br>
   filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !<br>
video/x-raw-yuv, framerate=5/1, width=640, height=360 ! mix.<br>
<br>
and the display suppose to be like this<br>
<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n3829313/paintami.png" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/n3829313/paintami.png</a><br>
<br>
but i doesn&#39;t work. really need help in this matter.<br>
<br>
Thanks<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/VideoWall-MP4-files-gstreamer-tp3829313p3829313.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/VideoWall-MP4-files-gstreamer-tp3829313p3829313.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br><a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> <br>
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)<br><br><br>