*Pipeline*: appsrc ! videoconvert ! theoraenc ! oggmux ! tcpserversink
port=8554
*caps for appsrc:*
caps = gst_caps_new_simple ("video/x-raw",
"width", G_TYPE_INT, 640,
"height", G_TYPE_INT, 480,
"interlace-mode",G_TYPE_STRING,"progressive",
NULL);
*Bus message callback:*
static gboolean cb_busmsg (GstBus * bus, GstMessage * message, CData * app){
GST_DEBUG ("got message %s",
gst_message_type_get_name (GST_MESSAGE_TYPE (message)));
switch (GST_MESSAGE_TYPE (message)) {
case GST_MESSAGE_ERROR: {
GError *err = NULL;
gchar *dbg_info = NULL;
gst_message_parse_error (message, &err, &dbg_info);
// Error message is caught here
g_printerr ("ERROR from element %s: %s\n",
GST_OBJECT_NAME (message->src), err->message);
g_printerr ("Debugging info: %s\n", (dbg_info) ? dbg_info :
"none");
g_error_free (err);
g_free (dbg_info);
g_main_loop_quit (app->loop);
break;
}
case GST_MESSAGE_EOS:
g_main_loop_quit (app->loop);
break;
default:
break;
}
return TRUE;
}
I'm trying to stream Xcode Opengl framebuffer for 4 days now. I'm still
stuck here. Please help.
What does Internal data stream error mean?
ERROR from element "appsrc": Internal data stream error.
Debugging info: gstbasesrc.c(2939): void gst_base_src_loop(GstPad *) ():
/GstPipeline:phostechpipe/GstAppSrc:"appsrc":
streaming stopped, reason not-negotiated (-4)
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel