input adapters: support for rotating inputs

This is needed because some overhead cameras got installed upside-down...
replay: set up audio channel map on event mark

This fixes #2.