Hi Thornton; Thank you for your reply. I use the following methord to get the filesink of splitmuxsink: GstElement*lastelement = gst_bin_get_by_name((GstBin*)splitmuxsink, "sink"); However, It failed, so can you tell me why? Thank you. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/