If the “post-messages” property of multifilesink is TRUE, it sends an
application message named
"GstMultiFileSink" after writing each file and message to be parsed in the
pipeline or bin bus. like below
case GST_MESSAGE_ELEMENT:
{
const gchar *filename;
gint index;
GstClockTime timestamp, stream_time, running_time, duration;
guint64 offset, offset_end;
GstStructure *s = gst_message_get_structure (msg);
filename = gst_structure_get_string (s, "filename");
gst_structure_get_string (s, "index", &index);
gst_structure_get_clock_time (s,"timestamp",×tamp);
gst_structure_get_clock_time (s,"stream-time",&stream_time);
gst_structure_get_clock_time (s,"running-time",&running_time);
gst_structure_get_uint64(s, "offset", &offset)
gst_structure_get_uint64(s, "offset-end", &offset_end);
}
break;
Refer
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-multifilesink.htmlfor more.
for bus call back registration refer Gstreamer example code.
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel