views:

62

answers:

3

hello guys...!

I am jay, I am supposed to write a video player which should have a capability to stream a video from a remote server.

There may be more than one video streams incoming.

please do help me discussing the issues in developing such a player based on following points.

  1. Underlying framework for the player to use.
  2. Language to prefer.(anyways I am thinking of java but your suggestions are most welcome)
  3. Which player would be more efficient..? browser based or stand alone video player like the most ones we use.
  4. Modifying a Open Source would be more efficient or shall I go for my own player to be written form scratch?
+1  A: 

Use open source livemedia (VLC) library

  1. It can work both on Linux and windows
  2. Its in C++
  3. Its a stand alone. With stand alone you can add many more features.
  4. Livemedia is LGPL. You can change open source library, but you have to make it open or if you dont want to make it open then you cant make it commercial.
alam
+1  A: 

2) Language to prefer.(anyways I am thinking of java but your suggestions are most welcome)

Much as I like Java, a garbage collected language is likely to give you more issues with "freezes" during video playing.

3) Which player would be more efficient..? browser based or stand alone video player like the most ones we use.

From first principles, anything that you can do in a browser you can also do in a standalone application ... but not vice versa. In theory, that applies to performance too.

However, browser-based solutions have there own advantages, like ease of deployment and ease of use / user acceptance.

4) Modifying a Open Source would be more efficient or shall I go for my own player to be written form scratch?

It is usually a good idea to start from an existing (ideally high quality) codebase. It saves effort, reduces your learning curve, and if you do a good job your code will be an improvement on an already good product.

Stephen C
We used java as a client for a video player about 11 years ago without having issues with "freezing", so I think that is more speculation than fact. I am not saying Java is the best language for such a task, but it should be more than sufficient.
Robin
I think the Browser based player will degrade the performance, despite the deployment bcomes easy, for more than 20 streams that I have to show in real time...! isnt it?
jaydeepw
@Robin - yes, it is speculation. Why don't you post an answer ... and give the OP the benefit of your real experience. Some details of how the video player is implemented would be very useful. (For instance, is it a pure Java app or does it use native libraries the video streaming, codecs, etc?)
Stephen C
A: 

I would suggest trying http://www.xuggle.com/xuggler/

  1. somewhat cross platform (prebuilt libraries for some, others you would have to build)
  2. Java API using a native library (JNI/JNA)
  3. stand alone
  4. LGPL. I'd advise against starting completely from scratch
brian_d
hey guys what are ur view on getting up from scratch using Java Media Framework....!and 1 more thing..thanks to all of u for guiding me in the right direction.
jaydeepw
My experience with JMF is that it is very outdated, limited codec support and frustrating to use.
brian_d