Patent ID: 11930246
Assignee: SHANGHAI BILIBILI TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 9:
10. A non-transitory computer-readable storage medium, storing computer programs, when the computer programs are executed by a processor, the computer programs cause the processor to perform operations comprising:
in response to receiving packaged video data associated with a video, performing an unpacking operation on the packaged video data to obtain a video stream in a first encoded format by a player;
decoding the video stream in the first encoded format using a first hardware decoder, and playing the video at a first resolution by the player;
receiving an instruction of switching to a second resolution of the video;
performing the unpacking operation on the packaged video data to obtain a video stream in a second encoded format by the player;
decoding the video stream in the second encoded format using a software decoder and starting to play the video at the second resolution, wherein playing the video at the second resolution starts seamlessly following a completion of playing the video at the first resolution based on the video stream in the first encoded format stored in a buffer and decoded by the first hardware decoder;
decoding the video stream in the second encoded format using a second hardware decoder; and
in response to determining that a decoding progress of the second hardware decoder catches up with a decoding progress of the software decoder, playing the video at the second resolution based on the video stream in the second encoded format decoded by the second hardware decoder and ending the software decoder.