Use gst-launch element1 ! elemet2 ! ...... ! sink -e -e will send an EOS signal at the end -- View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Can-t-get-correct-video-duration-with-vp8enc-tp4663992p4664001.html Sent from the GStreamer-devel mailing list archive at Nabble.com.