Patent attributes
A decoder configuration method includes: acquiring at least two compatibility grade configurations for configuring decoding parameters of a decoder, the different compatibility grade configurations being different in priority level, decoding property and decoder compatibility; selecting one compatibility grade configuration from the compatibility grade configurations according to the priority levels from high to low; configuring the decoder according to the compatibility grade configuration; starting the decoder, and performing decoding abnormality detection processing on the decoder to obtain an abnormality detection result; and performing hardware decoding processing on a to-be-decoded video according to the compatibility grade configuration to obtain a decoding processing result based on the abnormality detection result indicating that the decoder is normal, and determining that the current compatibility grade configuration is applicable to the decoder according to the decoding processing result in response to a determination that the decoding processing result indicates successful decoding.