which is better? JMF or VLCJ. especially for streaming youtube videos

9.2k views Asked by At

I am an average java developer and i am trying to come up with a browser that is developed entirely in java. I want that my browser must be able to play youtube videos, and for that i was planning to use JMF. Here are my questions:

1) can JMF be used to stream and play videos from links like youtube. If yes, can Some one please point to a demo link(a basic one will do, rest i will develop)

2) If that is possible, should we use JMF or VLCJ? If you recommend VLCJ, where can i find "libvlc"? I had a hard time looking for it.

Thanks to everyone for their help in advance

4

There are 4 answers

1
Janek Olszak On

JMF seems to be abandoned, so VLCJ is a better choice

you can find libvlc.dll here . Pick the biggest. Or just install VLC player.

0
pelutxe On

JMF is quite obsolete right now. It's so old that its player won't open any of the video files used nowadays and if you're trying to capture webcam video you won't be able to detect your camera if you're running on Windows 7.

I heard Xuggler is fine but I really couldn't get it to work after trying hard for a few days so I would recommend VLCJ, which works great and its really easy to set up.

The libraries used in VLCJ are included in VideoLAN's folders when installing VLC. Just install VLC's last version and go to C:/Program Files/VideoLAN/VLC/ and there you'll find both libvlc.dll and libvlccore.dll

0
Michael Berry On

VLCj will play Youtube videos easily, JMF won't and is long dead - I wouldn't touch it for any new projects personally. If you're going down the VLCj route though you'll want to look at out of process players, you can't reliably include multiple players in process.

0
user489041 On

You cant do youtube with JMF. Also check out Xuggler