GStreamer pipeline occasionally fails with "Stream format not found, dropping the frame"

Could you refer to this FAQ and check if that helps?