You can play the video in a Java applet, but you will need to implement your own player.
You can use JCodec ( http://jcodec.org ) to decode the video , it has the convenient FrameGrab class, and you can use it like this:
int frameNumber = 10000;
FileChannelWrapper ch = null;
try {
ch = NIOUtils.readableFileChannel(new File("path to file name"));
FrameGrab frameGrab = new FrameGrab(ch);
frameGrab.seek(frameNumber);
BufferedImage frame;
for (int i = 0; (frame = frameGrab.getFrame()) != null && i < 200; i++) {
ImageIO.write(frame, "jpg", new File(String.format("img%08d.png", i)));
}
} finally {
NIOUtils.closeQuietly(ch);
}
, : JAAD (http://jaadec.sourceforge.net/) - :
Decoder dec = new Decoder(decoderSpecificinfo);
SampleBuffer buf = new SampleBuffer();
dec.decodeFrame(aacFrame, buf);
byte[] audio = buf.getData();