added full support for audio media, added base for re-encoding media files