首先要对VideoToolBox的基础概念有一定的了解



IOS硬编码流程:CMSampleBufferRef(数据:未压缩的YUV视频帧)->CMSampleBufferRef(H264编码的)

IOS硬解码流程: H264流->CMSampleBufferRef(YUV数据帧)

具体实现参考:Demo:https://github.com/huang123aini/VideoToolbox_Encoder_Decoder
首先要对VideoToolBox的基础概念有一定的了解
IOS硬编码流程:CMSampleBufferRef(数据:未压缩的YUV视频帧)->CMSampleBufferRef(H264编码的)
IOS硬解码流程: H264流->CMSampleBufferRef(YUV数据帧)
具体实现参考:Demo:https://github.com/huang123aini/VideoToolbox_Encoder_Decoder
本文标题:IOS硬编硬解
本文链接:https://www.haomeiwen.com/subject/gnbiiltx.html
网友评论