We require a script writing that will collect the bandwidth stats (bytes in & bytes out) in a RRD (MRTG style) database file.
The script should read a config file that specifies the names of which streams it has to collect stats for, the script will be run once every 5 minutes to update the database file.
The script can be written in either perl or PHP.
Simple!
Any questions, please ask.