I've already reported an issue where gst_app_src_set_caps(GST_APP_SRC(app->rappsrc), caps_gray);<br><br> caps_gray = gst_caps_new_simple ("video/x-raw-gray",<br> "width", G_TYPE_INT, 640,<br>
"height", G_TYPE_INT, 960,<br> "framerate", 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->rappsrc), caps);<br>
<br> caps = gst_caps_new_simple ("video/x-raw-yuv",<br> "format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('I', '4', '2', '0'),<br> "width", G_TYPE_INT, 640,<br>
"height", G_TYPE_INT, 960,<br> "framerate", 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'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->rappsrc, conv1, app->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->rappsrc, app->rover, rqueue, conv1, encode, mux, file, NULL);<br><br>The linking succeeds, but again I get an "Internal data flow error" 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 "any" on its src pad according to gst-inspect.<br>
<br><br>