¡@

Home 

2014/10/15 ¤U¤È 10:08:40

iphone Programming Glossary: exportpath

How can I add overlay text on a video, then re-encode it?

http://stackoverflow.com/questions/10190333/how-can-i-add-overlay-text-on-a-video-then-re-encode-it

objectAtIndex 0 NSString VideoName NSString stringWithFormat @ @ mynewwatermarkedvideo.mp4 documentsDirectory NSString exportPath NSTemporaryDirectory stringByAppendingPathComponent VideoName NSURL exportUrl NSURL fileURLWithPath VideoName if NSFileManager.. assetExport.outputURL exportUrl assetExport.shouldOptimizeForNetworkUse YES strRecordedFilename setString exportPath assetExport exportAsynchronouslyWithCompletionHandler ^ void dispatch_async dispatch_get_main_queue ^ self exportDidFinish..

How to use scaleTimeRange in an AVMutableComposition?

http://stackoverflow.com/questions/17450864/how-to-use-scaletimerange-in-an-avmutablecomposition

initWithAsset mixComposition presetName AVAssetExportPresetPassthrough NSString videoName @ export.mov NSString exportPath NSTemporaryDirectory stringByAppendingPathComponent videoName NSURL exportUrl NSURL fileURLWithPath exportPath iphone ios..

How to add audio to video file on iphone SDK

http://stackoverflow.com/questions/3440266/how-to-add-audio-to-video-file-on-iphone-sdk

initWithAsset mixComposition presetName AVAssetExportPresetPassthrough NSString videoName @ export.mov NSString exportPath NSTemporaryDirectory stringByAppendingPathComponent videoName NSURL exportUrl NSURL fileURLWithPath exportPath if NSFileManager.. exportPath NSTemporaryDirectory stringByAppendingPathComponent videoName NSURL exportUrl NSURL fileURLWithPath exportPath if NSFileManager defaultManager fileExistsAtPath exportPath NSFileManager defaultManager removeItemAtPath exportPath error.. videoName NSURL exportUrl NSURL fileURLWithPath exportPath if NSFileManager defaultManager fileExistsAtPath exportPath NSFileManager defaultManager removeItemAtPath exportPath error nil _assetExport.outputFileType @ com.apple.quicktime movie..

Help Fix Memory Leak release

http://stackoverflow.com/questions/4914853/help-fix-memory-leak-release

NSDocumentDirectory NSUserDomainMask YES NSString documentsDirectoryPath dirs objectAtIndex 0 NSString exportPath documentsDirectoryPath stringByAppendingPathComponent EXPORT_NAME retain if NSFileManager defaultManager fileExistsAtPath.. stringByAppendingPathComponent EXPORT_NAME retain if NSFileManager defaultManager fileExistsAtPath exportPath NSFileManager defaultManager removeItemAtPath exportPath error nil NSURL exportURL NSURL fileURLWithPath exportPath AVAssetWriter.. retain if NSFileManager defaultManager fileExistsAtPath exportPath NSFileManager defaultManager removeItemAtPath exportPath error nil NSURL exportURL NSURL fileURLWithPath exportPath AVAssetWriter assetWriter AVAssetWriter assetWriterWithURL exportURL..

How to zip folders in iPhone SDK?

http://stackoverflow.com/questions/8150185/how-to-zip-folders-in-iphone-sdk

NSUserDomainMask YES NSString docDirectory paths objectAtIndex 0 BOOL isDir NO NSArray subpaths NSString exportPath docDirectory NSFileManager fileManager NSFileManager defaultManager if fileManager fileExistsAtPath exportPath isDirectory.. exportPath docDirectory NSFileManager fileManager NSFileManager defaultManager if fileManager fileExistsAtPath exportPath isDirectory isDir isDir subpaths fileManager subpathsAtPath exportPath NSString archivePath docDirectory stringByAppendingString.. defaultManager if fileManager fileExistsAtPath exportPath isDirectory isDir isDir subpaths fileManager subpathsAtPath exportPath NSString archivePath docDirectory stringByAppendingString @ .zip ZipArchive archiver ZipArchive alloc init archiver CreateZipFile2..