添加对 QuickTime 对自定义视频输入硬件的支持
我有一个发送视频流的自定义硬件设备。
如何使该流可供 QuickTime 应用程序使用?
长话短说:在 Windows 上,我创建了一个 DirectShow 过滤器,因此任何与 DirectShow 兼容的应用程序都可以从我的设备进行流式传输。我想在 Mac OS X 上做同样的事情。我想 QuickTime 是可行的方法,但我在苹果开发者网站上找不到准确的答案。
I have a custom hardware device sending a video stream.
How can make this stream available to a QuickTime application ?
Long story: On Windows, I create a DirectShow filter, so any DirectShow-compatible application can stream from my device. I'd like to do the same on Mac OS X. I guess QuickTime is the way to go, but I can't find the accurate answer on the apple developer web site.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 Mac OS 10.7 中,Apple 将 CoreMediaIO.framework 公开.
CoreMediaIO 是多媒体硬件的设备抽象层 (DAL)。它取代了传统的 QuickTime VDIG 组件 API。
有 Mac OS X 技术的“媒体层”章节中关于此框架的一小节 概述。
不幸的是 CoreMediaIO 还没有出现在 Apple 的文档中,但它有一些非常详细的头文件。
它们位于:
CMIOHardware 似乎是一个很好的起点(来自标题中的“概述”部分):
如果您必须支持旧版本的 OS X,您还可以查看 开发者库必须提供。
VDIG 组件已弃用且仅限 32 位。
With Mac OS 10.7 Apple made the CoreMediaIO.framework public.
CoreMediaIO is a device abstraction layer (DAL) for multimedia hardware. It replaces the traditional QuickTime VDIG component API.
There is a small section about this framework in the "Media Layer" chapter of the Mac OS X Technology Overview.
Unfortunately CoreMediaIO isn't showing up in Apple's documentation yet, but it has some very detailed header files.
They are located in:
CMIOHardware seems to be a good starting point (from the "Overview" section in the header):
If you have to support older versions of OS X, you could also take a look at what the Developer Library has to offer.
VDIG Components are deprecated and 32bit-only.
希望您查看HTTP 直播
hope you check out HTTP live streaming