Im trying to develop a versatile video playback class for my game
I have a windowed version which works every time. but this fullscreen which is the same, works only sometimes.
just try multiple times and you will see, like in 50% of your tries you wont see anything but hearhttp://www.artificialzeromedia.com/publishvideoproblem.rar
now if alt+tab out and in again it works again
so this is some kind of video memory allocation problem of some sort. if aynone has an idea...
also note that for fullscreens I usually use BufferStrategy but since I just want to show video and nothing else, I deleted that because... well double buffering and stuff would cause the video to flicker, and I ultimately couldn't stop it
EDIT: you need the classpath which is used in the batch, although your javac path may differ
the app shuts itself down after 10 secs, after the video finished
you may use ESC to stop the app
also: might only work for windows, because if the JMF version