Refactoring of FFmpeg glue code
Refactoring of stats code, audio graphs added