US 11,930,246 B2
Seamless switching method, device and storage medium of software and hardware decoding resolution
Honglei Cui, Shanghai (CN); Hanchao Zheng, Shanghai (CN); and Hui Chen, Shanghai (CN)
Assigned to SHANGHAI BILIBILI TECHNOLOGY CO., LTD., Shanghai (CN)
Appl. No. 17/425,176
Filed by SHANGHAI BILIBILI TECHNOLOGY CO., LTD., Shanghai (CN)
PCT Filed Dec. 16, 2019, PCT No. PCT/CN2019/125521
§ 371(c)(1), (2) Date Jul. 22, 2021,
PCT Pub. No. WO2020/151397, PCT Pub. Date Jul. 30, 2020.
Claims priority of application No. 201910061657.1 (CN), filed on Jan. 23, 2019.
Prior Publication US 2022/0124403 A1, Apr. 21, 2022
Int. Cl. H04N 21/4402 (2011.01); H04N 19/40 (2014.01); H04N 19/44 (2014.01); H04N 19/70 (2014.01)
CPC H04N 21/4402 (2013.01) [H04N 19/40 (2014.11); H04N 19/44 (2014.11); H04N 19/70 (2014.11)] 20 Claims
OG exemplary drawing
 
1. A method of a seamless switch between resolutions based on software and hardware decoding, 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.