         let fileName = String(format: "output%02d.mov", arguments: [self.movieURLs.count + 1])
         let outputPath = NSTemporaryDirectory().stringByAppendingString(fileName)
         self.outputURL = NSURL(fileURLWithPath: outputPath)
-        //println("outputPath = \(outputPath)")
         
         // delete file before save the one
         let fileManager = NSFileManager.defaultManager()

                println("AVAssetWriterStatus.Completed")
            }
            
            //CFRelease(sampleBuffer);
            //CFRelease(formatDescription);
            
        }
        
    }

        self.touching = false
        
        //println("[stopping recording] duration :\(CMTimeGetSeconds(self.recordStartTime))")
        self.assetWriterInputVideo.markAsFinished()
        self.assetWriterInputAudio.markAsFinished()
        self.assetWriter?.endSessionAtSourceTime(self.recordStartTime)
