如题,使用VideoToolBox可以编码YUV422吗?
或者使用FFmpeg可以编码YUV422吗?
网上搜到的清一色都是YUV420编码成H264的案例,实在没辙了。查到可以将YUV422转成YUV420,再进行编码,那么想问
在iOS平台下,AVCapture-输出流-Delegate中,
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection;
在哪里转换啊,(CMSampleBufferRef)sampleBuffer,还请大神指点迷津,困惑好久了