video transfer

how 2 transfer a video using java.any 1 have code
[56 byte] By [thelastdona] at [2007-10-3 4:06:11]
# 1

The video is nothing but a data file of bytes.

Just read the video file byte-by-byte and send it to the server or client (I presume the client needs the file).

This will work. To actually broadcast a video stream - such as Windows Media Services or RealServer does you need a more complex platform.

watertownjordana at 2007-7-14 22:05:37 > top of Java-index,Core,Core APIs...
# 2
how to do an byte conversion from video(mpeg)
thelastdona at 2007-7-14 22:05:37 > top of Java-index,Core,Core APIs...
# 3
There is no need to do any conversion to transfer raw data using sockets. Describe your actual problem if it's something other then just file transfer from one point to another.
Michael.Nazarov@sun.coma at 2007-7-14 22:05:37 > top of Java-index,Core,Core APIs...
# 4
the actual problem s i should send a video from server.the client should accept it and play the video.(mpeg format).how 2 do this?
thelastdona at 2007-7-14 22:05:37 > top of Java-index,Core,Core APIs...
# 5
As for transfer - answer posted: just send data as is.As for playing mpeg - this is not networking problem. You should use some kind of mpeg library, first party software or write code by youself.
Michael.Nazarov@sun.coma at 2007-7-14 22:05:37 > top of Java-index,Core,Core APIs...
# 6

I think that the fastest approach is to send it via HTTP and receive in a browser

I have been trying a solution using activex components, really easy to setup. And the server part is as easy as expose it through http using tomcat or something like. Even without the need of JSP or Servlets

Take a look at this

http://forum.java.sun.com/thread.jspa?threadID=765826&messageID=4367894#4367894

aranzugliaa at 2007-7-14 22:05:37 > top of Java-index,Core,Core APIs...
# 7
i tried for file transfer of video. it did not work.what to do?
thelastdona at 2007-7-14 22:05:37 > top of Java-index,Core,Core APIs...