<div>All,</div>
<div> </div>
<div>I am trying to split a 640x320 web camera into two streams and then recombine the streams into one stream. </div>
<div> </div>
<div>Here is what I have so far. (Please be aware I am running Fedora Core 12 with the latest gstreamer libraries compiled from source and everything is running on the same machine). I wanted to do proof of concept from command line before I code it.</div>

<div> </div>
<div>Capure Webcamera and stream via MPEG2/TS to port 1234</div>
<div> </div>
<div>gst-launch v4l2src ! video/x-raw-yuv,width=640,height=480 ! ffenc_mpeg2video ! mpegtsmux ! udpsink host=192.168.1.2 port=1234</div>
<div> </div>
<div>Next I start the each zone that does the cropping from the original stream.</div>
<div> </div>
<div>Zone 1:</div>
<div>gst-launch -v udpsrc port=1234 ! mpegtsdemux ! ffdec_mpeg2video ! videocrop top=0 left=0 right=320 bottom=0 ! ffenc_mpeg2video ! mpegtsmux ! udpsink host=192.168.1.2 port=20001</div>
<div> </div>
<div>Zone 2:</div>
<div>
<div>gst-launch -v udpsrc port=1234 ! mpegtsdemux ! ffdec_mpeg2video ! videocrop top=0 left=320 right=0 bottom=0 ! ffenc_mpeg2video ! mpegtsmux ! udpsink host=192.168.1.2 port=20002</div>
<div> </div>
<div>Now when I try to use the following command to view each stream, sometimes it works sometimes it doesn&#39;t</div>
<div> </div>
<div>View Zone 1:</div>
<div>gst-launch udpsrc port=20001 ! mpegtsdemux ! ffdec_mpeg2video ! ffmpegcolorspace ! xvimagesink sync=false</div>
<div> </div>
<div>View Zone 2:</div>
<div>gst-launch udpsrc port=20002 ! mpegtsdemux ! ffdec_mpeg2video ! ffmpegcolorspace ! xvimagesink sync=false</div>
<div> </div>
<div> </div>
<div>Here is how I am trying to combine the two streams and view them as one.</div>
<div> </div>
<div>gst-launch -v udpsrc port=20001 ! mpegtsdemux ! ffdec_mpeg2video ! videobox left=0 top=0 ! videomixer name=zone1 ! videomixer name=zone2 ! alpha ! ffmpegcolorspace ! xvimagesink sync=false udpsrc port=20002 ! mpegtsdemux ! ffdec_mpeg2video ! videobox left=-320 top=0 ! zone2.</div>

<div> </div>
<div>Am I forgetting something? I have scanned the email archieve to see if anyone has tried to do the same thing but have found nothing.</div>
<div> </div>
<div>Sean</div>
<div> </div>
<div> </div>
<div> </div></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>