Demuxer/muxer components refactoring.