write index table and rip, muxer works pretty well now