Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Play video from Byte[]

 
zainu Mehmood
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I want to play video from Byte[].Any help?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on what the byte[] contains - there are lots of different video formats. The OtherOpenSourceProjectsFaq lists numerous media playback libraries.
 
Rob Spoor
Sheriff
Pie
Posts: 20550
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start by checking out JMF. You can turn the byte[] into an InputStream using ByteArrayInputStream.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic