Method and device for switching video streams
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsYongxing Li, Huifeng Shen, Jun Ge, Jingbo Huang, Xu Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsYongxing Li, Huifeng Shen, Jun Ge, Jingbo Huang, Xu Li
Estimating the term…
Disclosed is a method and device for switching video streams. The method comprises: acquiring video streams of a video in response to receiving a playback request for the video sent by a terminal, the video streams comprising: a video stream with a first group of pictures (GOP) frame number and a video stream with a second GOP frame number; sending the video stream with the first GOP frame number to the terminal, searching for a third key frame in the video stream with the first GOP frame number, and extracting a decoding time stamp (DTS) of the third key frame; searching the video stream with the second GOP frame number for a frame having an identical DTS; determining whether the frame is a fourth key frame in response to finding the frame having the identical DTS; and sending the video stream with the second GOP frame number to the terminal.
A method for switching video streams, comprising:
A device for switching video streams, comprising:
A non-transitory computer storage medium storing a computer program, which when executed by one or more processors, cause the one or more processors to perform operations, the operations comprising:
Dependencies are inferred from the claim text.