refactored webm muxer