Gstreamer-1.0 Mp4 video RTSP streaming - appsrc

Stephenwei lofy.stephen at gmail.com
Thu Feb 21 08:29:37 UTC 2019


reference your URL
#############################################################################
stElement *playbin = gst_element_factory_make ("playbin", "play");
    app->videosink = gst_element_factory_make ("appsink", "video_sink");
    g_object_set (G_OBJECT (app->videosink), "emit-signals", FALSE, "sync",
TRUE, NULL);
    g_object_set (G_OBJECT (playbin), "video-sink", app->videosink, NULL);
    gst_app_sink_set_drop(GST_APP_SINK (app->videosink), TRUE);

############################################################################
playbin will be demux, decode your location file. Accordig the code, it was
send the RAW data to appsink

I guess your mp4.c filter the streaming because as below

const gchar *videocaps =  "video/x-h264, stream-format=(string)avc,
alignment=(string)au, level=(string)2.1, profile=(string)high,
codec_data=(buffer)01640015ffe1001967640015acd941e08fea1000000300100000030320f162d96001000668ebe3cb22c0,
width=(int)480, height=(int)270, framerate=(fraction)25/1,
pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive,
chroma-format=(string)4:2:0, bit-depth-luma=(uint)8,
bit-depth-chroma=(uint)8, parsed=(boolean)true";




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list