remove new lines
set format to mp2 based on mpeg layer
fix warning method, add actual validations