Java 中的 64 位媒体框架 [英] 64 bit Media Framework in Java

查看:22
本文介绍了Java 中的 64 位媒体框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在 64 位环境和 64 位 JDK 上使用 JMF,但无济于事.没有可用于 JMF 的 64 位 jmvfw DLL.

I've tried using JMF on a 64 bit environment and 64 bit JDK but to no avail. There isn't a 64 bit jmvfw DLL available for JMF.

我的问题是:是否有完全 64 位的替代媒体框架或 Java 媒体框架 64 位?

My question is: Is there any alternative Media Framework out there that is fully 64 bit or a Java Media Framework 64 bit?

我需要它来进行摄像头捕获和视频流传输,并且它必须在 64 位环境和 JDK 上运行.

I need it to do camera capturing and video streaming and it has to run on 64 bit environment and JDK.

谢谢

推荐答案

您可以在同一台机器上同时拥有 32 位 jre/jdk 和 64 位.JMF 是 32 位的.但是 java 应用程序仍然可以是 64 位的,请查看 JMStudio 代码并使用 64 位作为 java.awt.Image 并使用 32 位引入图像.

you can have both 32-bit jre/jdk and 64-bit on the same machine. JMF IS 32-bit. But the java application can still be 64-bit, check out JMStudio code for it and use the 64-bit for the java.awt.Image for example and the 32-bit to bring in the images.

如果需要,用 C++ 和汇编程序编写的 JNI 代码将是一个可能的解决方案,创建自定义 jar(java 库)并根据需要链接 .d 或 .dll 文件.

JNI code written in c++ and assembler would be a possible solution if you need it, create custom jar ( java libraries ) and link in .d or .dll files as needed.

这篇关于Java 中的 64 位媒体框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆