客户端的 Java 媒体框架?

发布于 2024-07-07 05:14:04 字数 84 浏览 4 评论 0原文

如果我正在编写一个显示视频序列的小程序(例如,从摄像机流式传输,或者小程序本身在摄像机上运行),我的客户是否需要下载 Java 媒体框架库才能查看该序列?

If I’m writing an applet that shows a video sequence (eg. streaming from a camera, or the applet itself is running the on the camera), do my clients need to download the Java Media Framework libraries inorder to see the sequence?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

泅人 2024-07-14 05:14:04

他们需要在计算机上安装 Java Media Framework,或者您需要以某种方式将 JMF 与您的小程序捆绑在一起。

They need to install Java Media Framework on their computers, or you'll need to bundle the JMF together with your applet somehow.

半世蒼涼 2024-07-14 05:14:04

如果小程序使用 JMF 库,则需要将它们下载到客户端计算机(小程序执行的位置)。 然而,JMF 从 Sun 得到的开发很少(没有),并且现在几乎是遗留的(主观)。

根据相机的现代程度以及它可以输出的编解码器,也可能值得考虑 Flash的javafx

If the applet makes use of the JMF libraries they need to be downloaded to the client machine (where the applet executes). However, JMF gets very little development from Sun (read none) and is pretty much legacy now (subjective).

Depending on how modern the camera is and what codecs it can output it may also be worth considering the video support in either javafx of flash.

羁绊已千年 2024-07-14 05:14:04

使用您的小程序分发 JMF.jar 就足够了。

Distributing the JMF.jar with your applet is sufficient.

谁许谁一生繁华 2024-07-14 05:14:04

创建一个 JAR ( Java DLL ) 并放置安装目录中的所有 jar 文件,JMF 仅是 32 位的,因此 x86\java\JMF2.1.1e\lib 是它通常所在的位置。

如果您自定义了customizer.jar,那么您也需要它。

您可以像小程序一样从服务器下载它并将小程序嵌入其中然后运行它。 它在成人付费网站上为我工作了 14 年多。

Create a JAR ( Java DLL ) and put all the jar files from the install directory, JMF is 32-bit only, so the x86\java\JMF2.1.1e\lib is where it's usually located.

If you customized the customizer.jar you want that one too.

You can download it from a server like an applet and embed the applet inside and then run it. It's worked for me for 14+ years in Adult Pay sites.

小巷里的女流氓 2024-07-14 05:14:04

您是否考虑过使用Java FX? 这项技术正在处理下载媒体库等问题。 当然。 它仍在开发中。 如果可以选择成为第一个采用者,那么值得考虑这一点。

Did you consider to use Java FX? This technology is dealing with this problem of downloading media libraries and so no. Of course. It is still in development. If to be first-adopter is option, it will be worth of considering this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文