This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Play video from Byte[]" Watch "Play video from Byte[]" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
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
Sheriff

Joined: Oct 27, 2005
Posts: 19725
    
  20

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: Play video from Byte[]