add demuxer2 and fix demuxer1 bug