Patent ID: 11930197
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 9:
10. A computer device, comprising at least one processor and at least one memory, the at least one memory storing computer instructions, the computer instructions, when loaded by the at least one processor, implement operations comprising:
obtaining target type information of a target video upon receiving a play instruction of the target video, the target type information indicating a type of the target video;
obtaining specified type information of a plurality of decoders configured in a terminal, the specified type information of the decoders indicating types of videos of which decoding is supported by the decoders;
determining, from the plurality of decoders by comparing the specified type information of the plurality of decoders with the target type information, a target decoder that supports decoding of the target video, the target decoder including a first target decoder and a second target decoder; and
decoding the target video by using the target decoder to play a decoded video, comprising: decoding a target original video frame by using the first target decoder, the target original video frame being one of a plurality of original video frames comprised in the target video; and in response to determining that the decoding of the target original video frame by the first target decoder fails:
determining a moment of the target original video frame;
storing the target original video frame in a first buffer region; and
decoding, by using the second target decoder, an original video frame that is in the first buffer region and has a moment the same as the moment of the target original video frame, to obtain a target decoded video frame, and playing the target decoded video frame.