streaming .mp4 file with appsrc from android via rtsp

valerik931 valerik931 at gmail.com
Mon Jun 19 09:29:34 UTC 2017


I set caps to appsrc after media factory configuration.

Like this:
    g_object_set(G_OBJECT(data->source), "caps",
                 gst_caps_new_simple ("video/x-h264",
                                      "format", G_TYPE_STRING, "RGB16",
                                      "codec_data", GST_TYPE_BUFFER, buffer,
                                      "alignment", G_TYPE_STRING, "au",
                                      "stream-format",G_TYPE_STRING,"avc",
                                      "width", G_TYPE_INT, video_width,
                                      "height", G_TYPE_INT, video_height,
                                      "profile", G_TYPE_STRING, "baseline",
NULL), NULL);
But I get this message:
gst_h264_parse_set_caps:<h264parse0> refused caps video/x-h264,
format=(string)RGB16, codec_data=(buffer)<long sequence>

Is it right settings or I need to add smth or remove?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/streaming-mp4-file-with-appsrc-from-android-via-rtsp-tp4683416p4683442.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list