Epicenter
Well-Known Member
Pardon my newbishness to the MPEG4 format, but I was exploring today the options of audio formats to decode in realtime running a game. MP3 is much less 'open' and bears licensing issues, and carries a heavy CPU toll- even with a fixed-point decoder lib. Same for OGG Vorbis, although it is at least entirely open. I'm seeing a 40 FPS hit with audio decoding using either of those two. While a remaining 84 FPS is still nice, I absolutely need 90 FPS+ for my purpose, and will be rendering more than this, so this sort of performance is just unacceptable.
I'm considering some new ideas, like 22khz or 44khz ADPCM, but these are fairly large files, even though they seem to carry no major CPU cycle toll to use. This brings into play more substantial load time, RAM consumption and of course SD card space constraints.
An odd idea hit me-- in my list of possible conversions in the application I was using to test my source material in different formats, I found some MPEG-4 audio solutions. This brings me to wonder, does the MPEG4 format contain some sort of support for audio tracks, or does it merely expect to contain video frames and be laid side-by-side with AC3 or AAC et cetera in a container?
The reason I ask is, if MPEG4 contains support for audio already, perhaps there is the possibility of utilizing the MMSP2's built-in MPEG4 decoding hardware to offload the hefty task of audio decoding from the ARM920T. Unlikely I suppose since it is probably specially geared to work only on the low-level common math tasks for MPEG4 codecs in the aid of decoding video frames. However, it never hurts to ask-- has this been considered and/or explored? Is documentation and understanding of the MPEG4 functionality of the MMSP2 still too poor?
Thanks for any information.
I'm considering some new ideas, like 22khz or 44khz ADPCM, but these are fairly large files, even though they seem to carry no major CPU cycle toll to use. This brings into play more substantial load time, RAM consumption and of course SD card space constraints.
An odd idea hit me-- in my list of possible conversions in the application I was using to test my source material in different formats, I found some MPEG-4 audio solutions. This brings me to wonder, does the MPEG4 format contain some sort of support for audio tracks, or does it merely expect to contain video frames and be laid side-by-side with AC3 or AAC et cetera in a container?
The reason I ask is, if MPEG4 contains support for audio already, perhaps there is the possibility of utilizing the MMSP2's built-in MPEG4 decoding hardware to offload the hefty task of audio decoding from the ARM920T. Unlikely I suppose since it is probably specially geared to work only on the low-level common math tasks for MPEG4 codecs in the aid of decoding video frames. However, it never hurts to ask-- has this been considered and/or explored? Is documentation and understanding of the MPEG4 functionality of the MMSP2 still too poor?
Thanks for any information.