avfoundation
AVPlayer class events
Are there any delegate methods in AVPlayer class? I need to handle interruptions such as phone call etc. AVAudioPlayer supports. If AVPlayer doesn\'t s开发者_如何学Cupport it, how to stream audio with[详细]
2023-04-01 13:49 分类:问答AVURLAsset loadValuesAsynchronouslyForKeys: completionHandler: never fires on device
I\'m using next snippet to loadValues synchronously, so loading = NO never fires. An开发者_运维知识库d I have the same problem with AVAssetExportSession exportAsynchronously.[详细]
2023-04-01 08:25 分类:问答AVPlayer show cached data
How to show cached data in UISli开发者_运维知识库der from AVPlayer? I play audio with AVPlayer from network, and i want to show downloaded data.As in the comment - there is a way to get time ranges fr[详细]
2023-04-01 03:47 分类:问答Switching Videos in AVPlayer Creates Flash When Changing
I am using AVFoundation\'s AVPlayer to play 2 video clips made from 1 longer video (so the end of the first matches the beginning of the second)[详细]
2023-03-31 10:22 分类:问答AVCaptureMovieFileOutput -- trimming the file while writing
I am recording video using AVCaptureMovieFileOutput.Instead of retaining the captured video for the entire recording time, however, I would like only to retain the last 2 minutes of video.In essence,[详细]
2023-03-30 09:09 分类:问答Query for optimal pixel format when capturing video on iOS?
The AVFoundation Programming Guide states that the preferred pixel formats when capturing video are: for iPhone 4: kCVPixelFormatType开发者_如何学Go_420YpCbCr8BiPlanarVideoRange or kCVPixelFormatTyp[详细]
2023-03-30 08:50 分类:问答error in CGBitmapContextCreate
i\'m trying to create UIImage from the sampleBufferData and here what i have in the console : CGBitmapContextCreate: invalid data bytes/row: should be at least 1920 for 8 integer bits/component, 3 co[详细]
2023-03-30 03:05 分类:问答Make AVFoundation not stop iPod music
Im using the AVFoundation framework to play sound files. The problem im having is that its stopping music from playing when the audio file gets used, im not saying play both files continuously, but开发[详细]
2023-03-29 13:36 分类:问答Core Animation drawLayer:inContext driven by NSTimer, am I doing it right?
I\'m doing a project which inv开发者_运维知识库olves Core Animation and AV Foundation. I want to use Core Animation to render some effects, then export it to video file via AV Foundation. The animatio[详细]
2023-03-29 09:25 分类:问答AVVideoCompositionCoreAnimationTool and custom CALayer: setNeedsDisplay each frame?
I\'m using the AVVideoCompositionCoreAnimationTool with a AVAssetExportSession to draw overlays into a video on iPhone.[详细]
2023-03-29 06:39 分类:问答
加载中,请稍侯......