gpt4 book ai didi

objective-c - iOS 中的 H.264 编码器和解码器

转载 作者:行者123 更新时间:2023-11-28 22:58:50 25 4
gpt4 key购买 nike

在我们的 iOS 应用程序中,我们需要从 iPhone 或 iPad 相机捕获缓冲区并使用 h.264 对其进行编码并将其发送到服务器,类似地,设备将接收 h.264,它需要解码为原始 RGB 格式并将其显示在屏幕上,

我想知道如何开始使用它,谷歌搜索后似乎,iOS 不支持它,我们需要编写自定义 H.264 编码器和解码器,

我将获得流媒体内容

最佳答案

https://developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVAssetExportSession_Class/Reference/Reference.html

The export will not scale the video up from a smaller size. Video is compressed using H.264; audio is compressed using AAC. Some devices cannot support some sizes.

关于objective-c - iOS 中的 H.264 编码器和解码器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10329607/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com