Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么要转换 #16

Open
lichaoqun opened this issue Jan 9, 2020 · 0 comments
Open

为什么要转换 #16

lichaoqun opened this issue Jan 9, 2020 · 0 comments

Comments

@lichaoqun
Copy link

lichaoqun commented Jan 9, 2020

我注意到 在使用系统相机的情况下, 需要先将摄像头捕捉到的数据 CVImageBufferRef 转为 NSData(NV12 数据排列格式), 然后在H264 编码时候, 又将 NSData(NV12 数据排列格式) 转为 CVImageBufferRef, 既然这样, 为什么不直接使用 CVImageBufferRef 呢? 求解...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant