发明名称 |
Frame type detection and frame size detection methods and apparatuses for video stream |
摘要 |
Embodiments of the present invention provide frame type detection and frame size detection methods and apparatuses for a video stream. The video frame type detection method includes: obtaining a size of a current video frame; obtaining a change feature value of the current video frame; obtaining an I-frame threshold of the current video frame; and determining whether the previous first video frame is an I frame according to the change feature value of the current video frame and a change feature value of the previous first video frame, the I-frame threshold of the current video frame, and the size of the current video frame, the size of the previous first video frame, and a size of a previous second video frame. The present invention provides a complete and effective frame type detection method; in addition, impact of a video frame rate is fully considered. |
申请公布号 |
US9571862(B2) |
申请公布日期 |
2017.02.14 |
申请号 |
US201414469953 |
申请日期 |
2014.08.27 |
申请人 |
HUAWEI TECHNOLOGIES CO., LTD. |
发明人 |
Gao Shan;Zhang Lei;Sun Lina |
分类号 |
H04N7/12;H04N19/89;H04N17/00;H04N19/115;H04N19/61;H04N19/103;H04N19/85;H04N21/44;H04N21/6437;H04L12/26 |
主分类号 |
H04N7/12 |
代理机构 |
Huawei Technologies Co., Ltd. |
代理人 |
Huawei Technologies Co., Ltd. |
主权项 |
1. A frame type detection method for a video stream, comprising:
obtaining a size of a current video frame, wherein the current video frame is located after the first video frame of the video stream; obtaining a change feature value of the current video frame according to the size of the current video frame and a size of a previous first video frame adjacent to the current video frame; obtaining an I-frame threshold of the current video frame according to a video frame rate and a location of the current video frame; and determining whether the previous first video frame is an I frame according to the change feature value of the current video frame, a change feature value of the previous first video frame, the I-frame threshold of the current video frame, the size of the current video frame, the size of the previous first video frame, and a size of a previous second video frame adjacent to the previous first video frame. |
地址 |
Shenzhen CN |