Closing of the feed opening before or during compression