mp4 validation and some another changes