Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 830
aadi Avatar asked Feb 23 '11 04:02

aadi


2 Answers

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.

like image 66
Janek Olszak Avatar answered Sep 18 '22 16:09

Janek Olszak


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

like image 21
pelutxe Avatar answered Sep 20 '22 16:09

pelutxe