64 位 Quicktime 问题
有谁知道是否有一种方法可以使用针对 Mac 的 Apple API / 框架(可以在 64 位中进行本机编译)从 Quicktime .mov 文件中提取原始的、仍压缩的音频和视频样本(IE:QTKit )?我知道Apple 针对Mac 的QuickTime 框架提供了此功能,但该框架只能在32 位下编译。
如果有人熟悉这样的框架和任何相关的示例代码,那么我们将不胜感激。
谢谢, 乔什
Does anyone out there know if there is a way to pull raw, still-compressed audio and video samples out of a Quicktime .mov file using an Apple API / Framework targeting the Mac that can be compiled natively in 64-bit (IE: QTKit)? I know this functionality is available in Apple's QuickTime Framework that targets the Mac, but this Framework can only be compiled under 32-bit.
If anyone is familiar with such a Framework and any related sample code, some insight would be much appreciated.
Thanks,
Josh
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
随 OSX 10.7 (Lion) 一起发布的 AVFoundation 框架可以从电影中提取原始压缩帧。这是一个支持 64 位的 ObjC 框架。
请参阅 AVAssetReader 类。
The AVFoundation framework released with OSX 10.7 (Lion) can extract raw compressed frames from a movie. This is an ObjC framework with 64-bit support.
See the documentation for the AVAssetReader class.
您看过 Handbrake 源代码了吗?它可能会给你一些提示。
它不是专门的 Apple API,但代码库是开源的,并且可以在 OS/X Lion 和 Tiger 上编译。我们一直在调整它以在本机 64 位 Windows 和 OS/X 机器上运行,并且它可以很好地读取我们扔给它的 .mov 文件。
http://handbrake.fr/
Have you looked at the Handbrake source yet? It may give you some hints.
It is not an Apple API specifically but the codebase is open source and does compile on OS/X Lion and Tiger. We've been tweaking it to run on native 64-bit windows and OS/X boxes and it does perfectly well reading the .mov files we've thrown at it.
http://handbrake.fr/