video recording with gstreamer