We want a function that receives the path to a media file and return the average audio peak of the file.
Something like this:
double getAveragePeak (const char * a_fileName);
The return means to be something like decibels.
The function or class can make use of other libraries available in Linux (preferably Ubuntu) as GStreamer.
The time for execution of the routine should be preferably less than 1 / 4 of the normal runtime of the media.
Supported formats must be at least mp3, avi, mpg, but preferably each one supported by GStreamer.
P.S. We will use Qt 4.7.2, so you can use too if you find something to help you inside Qt.
Some info about Audio Normalization can be found at:
[url removed, login to view]