I&#39;ve already reported an issue where gst_app_src_set_caps(GST_APP_SRC(app-&gt;rappsrc), caps_gray);<br><br>    caps_gray = gst_caps_new_simple (&quot;video/x-raw-gray&quot;,<br>          &quot;width&quot;, G_TYPE_INT, 640,<br>

          &quot;height&quot;, G_TYPE_INT, 960,<br>          &quot;framerate&quot;, GST_TYPE_FRACTION, 30000, 1001,<br>          NULL);<br> <br>causes an internal data flow error, but changing to gst_app_src_set_caps(GST_APP_SRC(app-&gt;rappsrc), caps);<br>

<br>    caps = gst_caps_new_simple (&quot;video/x-raw-yuv&quot;,<br>            &quot;format&quot;, GST_TYPE_FOURCC, GST_MAKE_FOURCC (&#39;I&#39;, &#39;4&#39;, &#39;2&#39;, &#39;0&#39;),<br>          &quot;width&quot;, G_TYPE_INT, 640,<br>

          &quot;height&quot;, G_TYPE_INT, 960,<br>          &quot;framerate&quot;, GST_TYPE_FRACTION, 30000, 1001,<br>          NULL);<br>  <br>runs fine.  Both situations link the elements, its a run time error.  Original message here: <br>

<br><a href="http://gstreamer-devel.966125.n4.nabble.com/video-x-raw-gray-on-appsrc-causes-internal-error-when-pipeline-runs-td3740099.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/video-x-raw-gray-on-appsrc-causes-internal-error-when-pipeline-runs-td3740099.html</a><br>

<br>but I got no response.<br><br><br>Now I&#39;m having issues with getting a text overlay to end up on the proper frame, it may be a computer speed queuing issue, as on my quad core it seems to be always correct but on the dual core target systems the overlay gets ahead of the video as judged by a video hardware overlay on the images.  We are tying to replace the video hardware overlay with a gstreamer textoverlay element.<br>

<br>    link_ok=gst_element_link_many (app-&gt;rappsrc, conv1, app-&gt;rover,  rqueue, encode, mux, file, NULL);    // order matters!<br><br>works but seems the overlay gets ahead of the video frames on the dual core systems.<br>

<br>Trying to get the overlay to link directly to the appsrc:<br><br>link_ok=gst_element_link_many (app-&gt;rappsrc, app-&gt;rover, rqueue, conv1, encode, mux, file, NULL);<br><br>The linking succeeds, but again I get an &quot;Internal data flow error&quot; when the pipeline runs.  The textoverlay supports<br>

<br>      video/x-raw-yuv<br>                 format: I420<br>                  width: [ 1, <a href="tel:2147483647" value="+12147483647" target="_blank">2147483647</a> ]<br>                 height: [ 1, <a href="tel:2147483647" value="+12147483647" target="_blank">2147483647</a> ]<br>
              framerate: [ 0/1, 2147483647/1 ]<br><br>on  sink pad and appsrc supports &quot;any&quot; on its src pad according to gst-inspect.<br>
<br><br>