so if i have avi file i just can replace my avi file at video.avi?<br><br><div class="gmail_quote">On Thu, Sep 22, 2011 at 4:17 PM, Thabelo Mmbengeni <span dir="ltr">&lt;<a href="mailto:thabelo@gmail.com">thabelo@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;">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.<div>

<br></div><div><div>gst-launch -e \</div><div>   videomixer name=mix <span style="white-space:pre-wrap">        </span>sink_0::zorder=0 <span style="white-space:pre-wrap">        </span>sink_0::sync=false\</div>
<div><span style="white-space:pre-wrap">                                                </span>sink_1::xpos=0<span style="white-space:pre-wrap">                </span>sink_1::ypos=0 <span style="white-space:pre-wrap">                </span>sink_1::alpha=1 <span style="white-space:pre-wrap">        </span>sink_1::zorder=0 <span style="white-space:pre-wrap">        </span>\</div>

<div><span style="white-space:pre-wrap">                                                </span>sink_2::xpos=803<span style="white-space:pre-wrap">        </span>        sink_2::ypos=427<span style="white-space:pre-wrap">        </span>        sink_2::alpha=1 <span style="white-space:pre-wrap">        </span>sink_2::zorder=0 <span style="white-space:pre-wrap">        </span>\</div>

<div><span style="white-space:pre-wrap">                                                </span>sink_3::xpos=100     <span style="white-space:pre-wrap">        </span>sink_3::ypos=570           <span style="white-space:pre-wrap">        </span>sink_3::alpha=1 <span style="white-space:pre-wrap">        </span>sink_3::zorder=1 <span style="white-space:pre-wrap">        </span>\</div>

<div><span style="white-space:pre-wrap">                                                </span>sink_4::xpos=1 <span style="white-space:pre-wrap">                </span>sink_4::ypos=100<span style="white-space:pre-wrap">        </span>        sink_4::alpha=1 <span style="white-space:pre-wrap">        </span>sink_4::zorder=1 <span style="white-space:pre-wrap">        </span>\</div>

<div><span style="white-space:pre-wrap">                                                </span>sink_5::xpos=450<span style="white-space:pre-wrap">        </span>        sink_5::ypos=1<span style="white-space:pre-wrap">                </span>sink_5::alpha=1 <span style="white-space:pre-wrap">        </span>sink_5::zorder=1 <span style="white-space:pre-wrap">        </span>\</div>

<div><span style="white-space:pre-wrap">                                                </span>sink_6::xpos=500     <span style="white-space:pre-wrap">        </span>sink_6::ypos=250            sink_6::alpha=0.6<span style="white-space:pre-wrap">        </span>sink_6::zorder=2 <span style="white-space:pre-wrap">        </span>\</div>

<div><span style="white-space:pre-wrap">                                                </span>sink_7::xpos=450 <span style="white-space:pre-wrap">        </span>        sink_7::ypos=300 <span style="white-space:pre-wrap">        </span>         sink_7::alpha=0.8<span style="white-space:pre-wrap">        </span>sink_7::zorder=1 <span style="white-space:pre-wrap">        </span>\</div>

<div><span style="white-space:pre-wrap">                                                </span>sink_8::xpos=100 <span style="white-space:pre-wrap">        </span>       sink_8::ypos=250 <span style="white-space:pre-wrap">        </span>         sink_8::alpha=0.6<span style="white-space:pre-wrap">        </span>sink_8::zorder=2 !<span style="white-space:pre-wrap">        </span>\</div>

<div>   <span style="white-space:pre-wrap">        </span>ffmpegcolorspace ! xvimagesink \</div><div><span style="white-space:pre-wrap">        </span>videotestsrc pattern=&quot;4&quot; ! video/x-raw-yuv, framerate=8/1, width=1024, height=768 ! mix.sink_0 \</div>

<div><span style="white-space:pre-wrap">        </span>filesrc location=&quot;video.avi&quot; ! avidemux ! queue  ! decodebin ! videoscale ! ffmpegcolorspace ! \</div><div><span style="white-space:pre-wrap">                                </span>video/x-raw-yuv, width=1020, height=766 ! \</div>

<div><span style="white-space:pre-wrap">                                </span>videobox border-alpha=1.0 top=-2 bottom=-2 left=-2 right=-2 ! \</div><div><span style="white-space:pre-wrap">                                </span>videorate ! video/x-raw-yuv,framerate=8/1 ! mix.sink_1 \</div>

<div><span style="white-space:pre-wrap">        </span>ximagesrc  startx=3156 starty=120 endx=3285 endy=780 ! videoscale ! video/x-raw-rgb,width=150, height=400 ! kenburns background-color=0xFFF333 ! \</div><div>
<span style="white-space:pre-wrap">                                </span> ffmpegcolorspace !mix.sink_5 \</div><div><span style="white-space:pre-wrap">        </span>ximagesrc  startx=2676 starty=120 endx=2806 endy=740 ! kenburns  background-color=0xFFF333 ! videoflip method=&quot;1&quot; ! \</div>

<div><span style="white-space:pre-wrap">                                </span>videoscale ! video/x-raw-rgb,width=500, height=180 ! ffmpegcolorspace ! mix.sink_6 \</div><div><span style="white-space:pre-wrap">        </span>ximagesrc  startx=2196 starty=120 endx=2326 endy=740 ! kenburns  background-color=0xFFF333 ! videoflip method=&quot;2&quot; ! \</div>

<div><span style="white-space:pre-wrap">                                </span>videoscale ! video/x-raw-rgb,width=150, height=400 ! ffmpegcolorspace ! mix.sink_7 \</div><div><span style="white-space:pre-wrap">        </span>ximagesrc  startx=1716 starty=120 endx=1846 endy=740 ! kenburns background-color=0xFFF333 ! videoflip method=&quot;3&quot; ! \</div>

<div><span style="white-space:pre-wrap">                                </span>videoscale ! video/x-raw-rgb,width=400, height=180 ! ffmpegcolorspace ! mix.sink_8</div><div><div></div><div class="h5"><div><br></div><br><div class="gmail_quote">On Thu, Sep 22, 2011 at 9:37 AM,  <span dir="ltr">&lt;<a href="mailto:amirulsyahmi@gmail.com" target="_blank">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">Hye.<br>
<br>
Did you know how to play four mp4 files simultaneously on gstreamer?<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
</blockquote></div><br><br clear="all"><div><br></div></div></div><font color="#888888">-- <br>Regards<br><br>Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)<br>
</font></div>
<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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><b><i>Yang Benar</i></b><div><br><div><b>Pekerja Separuh Masa,</b></div><div><b>Warung Pak Joko (Pecel ayam dan Ayam Penyet)</b></div><div><span style="font-family:arial, sans-serif"><b>Relau, Bayan Lepas, Pulau Pinang</b></span></div>
<div><font face="arial, sans-serif"><b><br></b></font></div><div><span style="font-family:arial, sans-serif"><b><br></b></span></div><div><span style="font-family:arial, sans-serif"><b><br></b></span></div><div><br></div>
</div><br>