I've had my memory card corrupted about a dozen times deleting a video immediately after Mplayer shuts down.