¡@

Home 

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

iphone Programming Glossary: endsessionatsourcetime

How do I export UIImage array as a movie?

http://stackoverflow.com/questions/3741323/how-do-i-export-uiimage-array-as-a-movie

a CGImage. writerInput appendSampleBuffer sampleBuffer 4 Finish the session writerInput markAsFinished videoWriter endSessionAtSourceTime ¦] videoWriter finishWriting You ™ll still have to fill in a lot of blanks but I think that the only really hard remaining..

ASSETWriterInput for making Video from UIImages on Iphone Issues

http://stackoverflow.com/questions/3983882/assetwriterinput-for-making-video-from-uiimages-on-iphone-issues

buffer withPresentationTime CMTimeMake duration 1 2 Finish the session writerInput markAsFinished videoWriter endSessionAtSourceTime CMTimeMake duration 2 videoWriter finishWriting This method is not required but is used here as an example of a pixel buffer..

This code to write video+audio through AVAssetWriter and AVAssetWriterInputs is not working. Why?

http://stackoverflow.com/questions/4149963/this-code-to-write-videoaudio-through-avassetwriter-and-avassetwriterinputs-is

YES void stopVideoRecording if _isRecording _isRecording NO _videoWriterInput markAsFinished _videoWriter endSessionAtSourceTime lastSampleTime _videoWriter finishWriting NSLog @ video recording stopped And finally the CaptureOutput code void captureOutput.. some point _capSession startRunning In stopVideoRecording I do not call _videoWriterInput markAsFinished _videoWriter endSessionAtSourceTime lastSampleTime The markAsFinished is more for use with the block style pull method. See requestMediaDataWhenReadyOnQueue.. NO _capSession stopRunning if _videoWriter finishWriting NSLog @ finishWriting returned NO _videoWriter endSessionAtSourceTime lastSampleTime _videoWriterInput markAsFinished _audioWriterInput markAsFinished NSLog @ video recording stopped share..

AVAssetWritter does not work with audio

http://stackoverflow.com/questions/5200077/avassetwritter-does-not-work-with-audio

forState UIControlStateNormal recording NO writer_input markAsFinished audio_writer_input markAsFinished video_writer endSessionAtSourceTime CMTimeMakeWithSeconds NSDate date timeIntervalSinceDate start_time 30 video_writer finishWriting UISaveVideoAtPathToSavedPhotosAlbum.. linked post. Try commenting out these lines writer_input markAsFinished audio_writer_input markAsFinished video_writer endSessionAtSourceTime CMTimeMakeWithSeconds NSDate date timeIntervalSinceDate start_time 30 Edit I don't know if the way you are setting the presentation..