Hi!
i m developing a web app using an applet and servlet which capture the video from client and upload to the server, now i need to reduce the movie size, so thats why i m looking for either for Divx or MPEG , please some one can guide me how can i use Fobs in my applet to encode in any of above or any codec i l l be realy great full for this support
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
i m developing a web app using an applet and servlet which capture the video from client and upload to the server, now i need to reduce the movie size, so thats why i m looking for either for Divx or MPEG , please some one can guide me how can i use Fobs in my applet to encode in any of above or any codec i l l be realy great full for this support
Ok right now fobs doesn't support encoding. So my guess is that you'll have to use jmf's set of codecs for that purpose. Now for the streaming, I think you should use RTP to do the streaming. So for encoding I think you should go for h263/RTP. (h263 is a video encoding format)
here is a link:
http://java.sun.com/products/java-media/jmf/2.1.1/samples/samplecode.html#RTPSocketPlayer
I think you'll wanna inspire from RTPPlayerApplet and RTPSocketPlayer examples.
Also look at: http://java.sun.com/products/java-media/jmf/2.1.1/guide/RTPPresenting.html