parse bitrate in a more flexible way