add xvid/flv formats, add motion plugin varients + save file, fix build bug