Saving video file with tag and track post video analysis

Hi we are tracking video and we want to save the tagged and mapped video file post-analysis but we can not able to do it can anyone please help.