Okay... yet another attempt from me, to fill some free time - this time there is no need for a ramdisk
- I use ffmpeg to extract an audio stream from any movie, as PCM16 stereo 44.1kHz
- I use ffmpeg to extract a video stream from any movie, as MJPEG (sequence of JPEGs in 1 file)
I read the STDOUT of both processes, do some buffering, syncing, and play it back (AWT + OpenAL).
It smoothly plays back HD content (1080p, JPEG quality: 100%) with 20% CPU usage for java and 18% CPU usage for ffmpeg.