about avi files.

I want to know if there is an avi / mp4 / mpg interface to access the individual (uncompressed) frames within a video file?
Is there access to the audio stream samples?

As far as I know not. You could use FFmpeg and the Shell class to do this.