What camera to choose for using with JMF (Java Media Framework)

For the past 2-3 weeks I’ve been searching for different ways to implement custom video streaming and in more general video capturing and manipulating, going through DVR-cards, Video Capture Cards and stuff like that.

Somehow JMF was able to stay out of my sight for all this time, but since I find out about it I’m more and more sure that this is a comfortable level for me to start playing around with video and stuff.

One major topic that occurs to me while searching for more info was the presence of many posts where people were complaining about the fact that any particular camera ( most of the time I think they mean web cameras) doesn’t work with JMF. Even though there are a lot of different cameras (not necessarily a web cam) that are not that expensive I want to play it safe and buy one that is proven to work well with the JMF.

Also due to lack of experience maybe this is irrelevant but since I’ll buy the camera mostly for learning and experimenting I want to have the maximum freedom possible to mess with different features, options and so on.

I currently support legacy software that uses JMF to integrate a web camera into a Java based kiosk software.

While it is neat to play around with if you are learning, I would highly recommend against using it in any production application you are planning. The following are a number of drawbacks:

It is a Dead Project

It hasn’t been active for over 5 years now, meaning that there could be compatibility issues in future versions of the operating system that make it completely incompatible. Further, any bugs that you might run into will never be fixed.

It is Closed Source

Even if you encounter a bug and feel adventurous enough to try and fix it, you will not be able to because it is closed source and Oracle has no intention of distributing it.

It is Old

It is painfully old and really is only a good solution for a Windows environment. Perhaps you would like to run your application on a Mac or Linux, it wouldn’t work very well as support for these is lacking.

It must be installed on the client

There are a number of binaries that must be installed on the client machine for it to work correctly, other libraries don’t require this.

Knowing all of that I will say that I have tried JMF on a vast number of web cameras, integrated and standalone and it was perfectly compatible with them (on Windows). I have never once encountered a webcam that it wasn’t able to recognize or use.

There is the FMJ project which is an open source replacement for JMF, however it seemed a bit buggy to me and I had trouble getting it to work correctly. It does not appear to be fully featured.

My personal recommendation is JavaCV. It is an open source Java wrapper to the popular OpenCV framework, which wraps functionality for media devices and hardware accelerated media allowing this functionality to be easily used within a Java application that is truly Write Once, Run Anywhere.

Without having to install OpenCV, I was able to write a Java WebStart application (with full permissions of course) to utilize a webcam on multiple operating systems. The learning curve is a bit higher though.

While JMF is easy to get started with and has a lower learning curve, JavaCV is far and away the better choice for webcam integration and capture in a Java application.

4

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật