如题,使用VideoToolBox可以编码YUV422吗?
或者使用FFmpeg可以编码YUV422吗?
网上搜到的清一色都是YUV420编码成H264的案例,实在没辙了。查到可以将YUV422转成YUV420,再进行编码,那么想问
在iOS平台下,AVCapture-输出流-Delegate中,
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection;
在哪里转换啊,(CMSampleBufferRef)sampleBuffer,还请大神指点迷津,困惑好久了
或者使用FFmpeg可以编码YUV422吗?
网上搜到的清一色都是YUV420编码成H264的案例,实在没辙了。查到可以将YUV422转成YUV420,再进行编码,那么想问
在iOS平台下,AVCapture-输出流-Delegate中,
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection;
在哪里转换啊,(CMSampleBufferRef)sampleBuffer,还请大神指点迷津,困惑好久了
大家有没有什么思路,我感觉陷到了一个漩涡
问题已经解决了,详细记录这个工程的博客传送门在这里:http://blog.csdn.net/a997013919/article/details/77094979