dvr use .tmp and rename to .flv when finished.