Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/42.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone HTTP视频流逐帧传输_Iphone_Objective C_Ios_Ipad_Ios5 - Fatal编程技术网

Iphone HTTP视频流逐帧传输

Iphone HTTP视频流逐帧传输,iphone,objective-c,ios,ipad,ios5,Iphone,Objective C,Ios,Ipad,Ios5,我有HTTP视频流,所以我想从中逐帧接收。我见过这种AVCaptureSessionDelegate方法,但这只适用于摄像头视频: - (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection { }

我有HTTP视频流,所以我想从中逐帧接收。我见过这种AVCaptureSessionDelegate方法,但这只适用于摄像头视频:

    - (void)captureOutput:(AVCaptureOutput *)captureOutput 
    didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer 
   fromConnection:(AVCaptureConnection *)connection 
    { 
    } 

我也读过iFrameExtractor,但这是视频文件的解决方案,而不是流。关于这个要求有什么解决方案吗?

我知道你可以从iPhone摄像头拍摄的视频中获得单个快照,但我认为这不是你想要的。您可以像iframeextractor一样使用ffmpeg,因为它同样适用于文件。早在2010年,我们就在开发一款可以播放mpeg、avi、divx、xvid和许多其他格式的应用程序。所以你的要求当然是可能的