video writer causes memory leak, take out the append, video needs to take in folder, find revert