有没有办法用 Quartz Composer 播放 MP3 或 aac .pls 文件?
我想在 Quartz Composer 中播放广播流。这将是开发一种新型广播播放器的第一步,该播放器具有(我希望)有趣的视觉效果来伴随音频。
给定这样的 URL:
http://provisioning.streamtheworld.com/pls/KKCM.pls
我希望作品能够播放音频。
Quicktime Player 将流式传输该电台,因此我希望有一种方法可以让 Quartz Composer 来完成此操作,但我一直无法弄清楚。
更新:我自己的研究仍在继续,我认为如果不使用 Objective-C 编写新的 Quartz Composer 插件,就没有办法做到这一点。我发现最有前途的质量控制补丁是电影导入器,但我无法使其工作。如果有人知道现有插件,请加入。
I would like to play a radio stream in Quartz Composer. This would be the first step in developing a new kind of radio player with (i hope) interesting visuals to accompany the audio.
Given a URL like this:
http://provisioning.streamtheworld.com/pls/KKCM.pls
I would like the composition to play the audio.
Quicktime Player will stream the station, so I'm hopeful there is a way to get Quartz Composer to do it, but I've been unable to figure it out.
update: My own research has continued and I don't think there is a way to do this without writing a new Quartz Composer plug-in in objective-c. The most promising QC patch I found was the movie importer, but I could not make that work. If anyone knows of an existing plug-in, please chime in.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有内置的方法来检索任意网络数据 - 内置的,您只能检索图像(
Image Importer
补丁)和 XML(XML Importer
补丁)。尝试一下 http://kineme.net/product/NetworkTools — 它的
HTTP 查询 补丁将让您下载
.pls
文件;然后(因为它是一种非常简单的格式)您可以使用内置String
补丁或内置JavaScript
补丁来解析它。There's no built-in way to retrieve arbitrary network data — built-in, you can only retrieve images (
Image Importer
patch) and XML (XML Importer
patch).Give http://kineme.net/product/NetworkTools a try — its
HTTP Query
patch will let you download the.pls
file; then (since it's a pretty simple format) you can parse it using either the built-inString
patches or the built-inJavaScript
patch.