add bitrate validation
Merge pull request #973 from ruil2/bitrate

    add bitrate validation