tags:

views:

27

answers:

2

Given a uncompressed input file with predefined frame format, need to build a simple video player. Could anyone advise where to start? like search keywords, what library to use or examples. Thanks!

For now, I just read all frames and store in linked list which seems not a good idea. Since it should be able to read/playback at same time.

A: 

You probably looking for the Java Media Framework

Samples you find here:

and here

stacker
I mean to play frames. say: i have 9999 frames in memory.BufferedImage img[9999];Is there any library can play this and set different playback speed? Thanks.
Stan
Just google "bufferedimage display" this provides you a plenty of code examples. Simply use a timer to change speed (don't forget to upvote ;-)
stacker
End up by using JFrame and JLabel.setIcon.
Stan
A: 

I'm partial to Xuggler. See the MediaTool part of Xuggler that makes it really easy to write programs using media files.

Xuggle