appInventor 支持 720p 流媒体吗?
我一直在尝试在 AppInventor 中构建一个 720p 流媒体视频播放器,但无法弄清楚如何让视频播放器像 720p 那样远程执行任何操作,也无法弄清楚如何让它收听/附加到WIFI 上的 UDP 视频流。
App Inventor 视频播放器组件的文档位于此处: http://appinventor.googlelabs.com/learn/reference/components/media .html#VideoPlayer
Android 中支持的视频尺寸的文档在这里: http://developer.android.com/guide/appendix/media-formats.html 阅读这些文档
,我留下的印象是
- Android 在其本机小部件中仅支持 480 x 360 H.264 视频(我可以使用 H.264,但不支持 480x360)。
- App Inventor 不支持流式处理。
您的里程有变化吗?
I've been trying to build a 720p streaming video player in AppInventor, and cannot figure out how to get the video player to do anything remotely like 720p, nor can I figure out how to get it to listen-to / attach -to a UDP video stream on the WIFI.
The doc for the App Inventor video player component is here:
http://appinventor.googlelabs.com/learn/reference/components/media.html#VideoPlayer
The doc for the supported video sizes in android is here:
http://developer.android.com/guide/appendix/media-formats.html
Reading these docs, I'm left with the impression that
- Android only supports 480 x 360 H.264 video (I'm fine with H.264, but not 480x360) in it's native widgets.
- App Inventor does not support Streaming.
Has your mileage varied?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
实际上,没有关于编码大小或设备是否需要硬件加速的规范,因此取决于制造商和型号。不过,Google 在其 Android 兼容性定义文档中设置了一些最低要求,如果制造商想要 Android Market。
App Inventor 是一个非常有趣的 Google 实验室项目,并意识到它是一个“实验室”项目,因此尝试用它构建一个流媒体播放器可能有点超出范围。我认为它更适合爱好者和教育人士(乐高 Mindstorm 模块)而不是其他任何东西。由于 App Inventor 只是封装了 Android 框架,因此您最好直接进入 Android SDK 并在那里进行操作。
我的建议是,如果您尝试制作流媒体应用程序,请使用 Java 和 Android SDK。
Actually there isn't a spec for what encoding sizes or if hardware acceleration is required of devices so depends on the manufacturer and model. There is however some minimal set of requirements set by Google in their Android Compatibility Definition Document if a manufacturer wants Android Market.
App Inventor is really interesting Google Labs project and realize that it is a 'Labs' project so trying build a streaming player with it might be a bit out of scope. I think its more for the hobbyist and education folk (Lego Mindstorm modules) than anything else. Since App Inventor just wraps the Android Framework, you would be better off going straight to the Android SDK and doing it there.
My recommendation, if you are trying to do a streaming app, use Java and the Android SDK.
App Inventor 支持“活动启动器组件”,该组件可用于启动 Android 视频播放器应用程序,该应用程序将播放 RTSP 流。
我在 Activity Starter 组件上使用以下属性来启动 rtsp 流:
Action: android.intent.action.VIEW
DataUri:rtsp://a.sample.domain/somestream.sdp
App Inventor supports the "Activity Starter Component" which can be used to start the Android Video Player application, which will play an RTSP stream.
I used the following properties on the Activity Starter component to start an rtsp stream:
Action: android.intent.action.VIEW
DataUri: rtsp://a.sample.domain/somestream.sdp