core-video
Knowing resolution of AVCaptureSession's session presets
I\'m accessing the camera in iOS and using session presets as so: captureSession.sessionPreset = AVCaptureSessionPresetMedium;[详细]
2023-04-13 06:02 分类:问答Does AVQueuePlayer support asynchronously adding AVPlayerItems?
I have a video player that needs to play a sequence of videos from the network. The URLs for these videos are not known in advance, as they come from XML or JSON responses from other HTTP requests.[详细]
2023-03-31 12:57 分类:问答How fast do I need to draw with CVDisplayLink?
How fast do I need to draw with CVDisplayLink? Am I correct in thinking that, after drawing m开发者_C百科y scene in my display link callback, if CVGetCurrentHostTime() > outputTime->hostTime, t[详细]
2023-03-30 15:35 分类:问答CVImageBuffer comes back with extra column padding. How do I crop it?
I have a CVImageBuffer that comes back with recorded height of 640px and width of 852px. The bytes per row are 3456. You\'ll notice that 3456/852px != 4 (it\'s something like 4.05). After some inspect[详细]
2023-03-16 19:35 分类:问答Playing Raw Video data in ios
I have an audio file and a video file containing raw audio and video data respectively. I have successfully played the audio file on ios using CoreAudio and AudioToolBox Frameworks. Now I want to play[详细]
2023-03-12 06:36 分类:问答How to get Bytes from CMSampleBufferRef , To Send Over Network
Am Captuing video usin开发者_如何学运维g AVFoundation frame work .With the help of Apple Documentation http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articl[详细]
2023-03-09 18:23 分类:问答first memcpy into buffer faster than direct access to pixels of CVPixelBufferGetBaseAddress
I noticed that accessing the pixels returned by CVPixelBufferGetBaseAddress directly (I\'m u开发者_JAVA百科sing two nested for-loops) is about 100 times slower than first allocating a buffer with mall[详细]
2023-03-03 19:10 分类:问答AVAssetWriterInputPixelBufferAdaptor returns null pixel buffer pool
I\'m sure something\'s wrong with my buffer attributes, but it\'s not clear to me what -- it\'s not well documented what\'s supposed to go there, so I\'m guessing based on CVPixelBufferPoolCreate -- a[详细]
2023-03-01 16:49 分类:问答Creating video from scratch in iOS
I\'ve got an app where the user shoots some video, enters a title for it, and picks a music track. I\'ve got the music dubbing working with AVMutableComposition, but the titling is a bad hack -- just[详细]
2023-02-28 09:08 分类:问答Real-time way to extract all video frames in YV12 (YUV420) format from QuickTime movie?
I have QTMovie open in QTKit. I need to get each frame of this video in YV12 format (kYUV420PixelFormat), in real time (ie. I\'m passing it to foreign code which only accepts YV12 and needs to play t[详细]
2023-02-25 03:06 分类:问答