Android 上的 ASF 流媒体?
我目前正在测试是否可以编写一个 Android 应用程序来显示我的 IP 网络摄像头 (Foscam Fi8918w) 的流。我知道有些应用程序可以做到这一点,但这些应用程序不具备我需要的功能。
通过分析摄像头,我发现一个嵌入了两个流的 ASF 流:
流 1:640*480 的 Motion JPEG 视频 (MJPG)
流 2:IMA WAV ADPCM 音频(8000Hz,16 位单声道)
然后我在 Google 上搜索 Android ASF 指令,但没有任何说明结果。我唯一发现的是 Android 媒体播放器不支持它。
维基百科有一个与 ASF 的链接规范,所以这背后并没有什么魔力。除了自己实现一切,真的没有其他办法吗?
I am currently testing if it is possible to write an Android app that shows the stream of my IP webcam (Foscam Fi8918w). I know that there are some apps that are able to do that, but that apps do not have the functionality I need.
By analysing the cam I found an ASF Stream with two streams embedded:
Stream 1: Motion JPEG Video (MJPG) at 640*480
Stream 2: IMA WAV ADPCM Audio (8000Hz, 16bit Mono)
Then I searched Google for Android ASF instructions without any results. The only thing I found was Android media player does not support it.
Wikipedia had a link with the ASF specification, so it's no magic behind that. Is there really no other way to do it than implement everything by myself?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能想尝试 RockPlayer [精简版,免费]。与大多数其他媒体播放器(包括普通播放器)不同,它实现了软件解码,因此支持更多格式。
我不知道它是否会解码您的 ASF 流,但由于它是免费的,请尝试一下。如果没有,我已经向开发人员发送了几次电子邮件,其中包含集成的想法 - 如果您联系他们,他们很可能愿意提供支持。
You may want to try RockPlayer [Lite Version, Free]. Unlike most other media players including the stock one, it implements software decoding so supports more formats.
I don't know if it will decode your ASF stream but since it's free, give it a try. If not, I've emailed the developers a couple of times with ideas which were integrated - They may well be willing to add support if you contact them.