<br>Trying to display two genlocked camera images from two v4l2 capture devices in a single frame, ultimately to an appsink.<br><br>This pipeline works but can&#39;t get full frame rate :(<br><br>gst-launch v4l2src device=/dev/video0 ! queue ! \<br>
video/x-raw-yuv,format =\(fourcc\)I420, framerate=\(fraction\)30000/1001, width=640, height=480 ! \<br>videomixer name=mix sink_0::alpha=1.0 sink_0::xpos=0 sink_0::ypos=0 sink_1::alpha=1.0 sink_1::xpos=0 sink_1::ypos=480  \<br>
sink_2::zorder=3  !   xvimagesink \<br>v4l2src device=/dev/video1 ! queue ! video/x-raw-yuv,format=\(fourcc\)I420, framerate=\(fraction\)30000/1001, width=640, height=480 ! mix. \<br>videotestsrc pattern=2 ! queue ! video/x-raw-yuv,format=\(fourcc\)I420, framerate=\(fraction\)1/1, width=640, height=960 ! mix.<br>
<br><br>Top shows the gst-launch command running 7-12% CPU.<br><br>I can add a second xvimagesink while the above is running with:<br><br>gst-launch v4l2src device=/dev/video4 !  video/x-raw-yuv,format =\(fourcc\)I420, framerate=\(fraction\)30000/1001, width=640, height=480 ! xvimagesink<br>
<br>and it displays at full frame rate even though it shows 34-45% CPU in top while running.  Xorg always stays below 10%. <br><br>Occasionally the videomixer gst-launch command spits out (not often, but I saw it this time and its why I&#39;m posting this) a warning message:<br>
<br>WARNING: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.<br>Additional debug info:<br>gstbasesink.c(2597): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:<br>
There may be a timestamping problem, or this computer is too slow.<br><br><br>What is a timestamping problem and what can I do about it?<br><br><br>