This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Play video from Byte[] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Play video from Byte[]" Watch "Play video from Byte[]" New topic

Play video from Byte[]

zainu Mehmood
Ranch Hand

Joined: May 09, 2007
Posts: 45
Hi Guys,
I want to play video from Byte[].Any help?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41599
Depends on what the byte[] contains - there are lots of different video formats. The OtherOpenSourceProjectsFaq lists numerous media playback libraries.

Ping & DNS - my free Android networking tools app
Rob Spoor

Joined: Oct 27, 2005
Posts: 19679

Start by checking out JMF. You can turn the byte[] into an InputStream using ByteArrayInputStream.

How To Ask Questions How To Answer Questions
jQuery in Action, 2nd edition
subject: Play video from Byte[]