preparing codecs , multi file format input