I need to process some mp4 videos on the JVM, so I understand I need something that calls into OpenMAX for performance reasons. I read somewhere that the JogAmp or perhaps the JOGL sub-project provide such bindings.
I found some references on the Internet that suggested that there by something like a 'GLMediaPlayer' and a demo 'MovieCube' showcasing this, but I cannot locate any further information or source code. There is some broken applet without references to source code:
So the question is: How do I efficiently decode the frames of an mp4/h264 video on the JVM on the Raspberry Pi with performance ok for the Raspberry Pi? I know omxplayer, but I need to do further processing such as triggering specific sequences in time, applying fade-in/fade-out etc. So I need an API I can call from Java or Scala.