发明名称 METHOD AND DEVICE FOR VIDEO PROCESSING
摘要 A method and a device are provided for processing a video transmitted over a communication network. The video processing may include timing playback of an image frame of the video so as to maintain a continuous playback of the video regardless of network delays and other adverse factors. An ith image frame of the video may be fetched for processing from a buffer queue. A sampling interval of the ith image frame may be calculated. Further, a waiting time and a regulated waiting time of the ith image frame may be calculated. A playing interval of the ith image frame may be determined based on the regulated waiting time. If the time elapsed since start of playback of an (i−1)th image frame of the video is not shorter than the playing interval of the ith image frame, the ith image frame may be played at the current time point.
申请公布号 US2015009284(A1) 申请公布日期 2015.01.08
申请号 US201414494677 申请日期 2014.09.24
申请人 Tencent Technology (Shenzhen) Company Limited 发明人 Yin Chengguo
分类号 H04N7/14;H04L12/931;H04L12/861 主分类号 H04N7/14
代理机构 代理人
主权项 1. A method for processing a video in a network device that comprises a processor, the method comprising: fetching, by the processor, from a buffer queue, a current image frame of the video; calculating, by the processor, a sampling interval of the current image frame, wherein the sampling interval is a temporal difference between a first time point at which the current image frame is sampled and a second time point at which a previous image frame of the video is sampled, wherein the previous image frame is an image frame of the video that was fetched from the buffer queue immediately before the current image frame; calculating, by the processor, a waiting time of the current image frame, wherein the waiting time is a time period between the current image frame being added into the buffer queue and the current image frame being fetched from the buffer queue; calculating, by the processor, a regulated waiting time of the current image frame based on the waiting time of the current image frame and a regulated waiting time of the previous image frame; determining, by the processor, a playing interval of the current image frame based on the regulated waiting time of the current image frame, the sampling interval of the current image frame, and a preset waiting delay; determining, by the processor, whether time elapsed since start of playback of the previous image frame is shorter than the playing interval of the current image frame; and playing, by the processor, the current image frame at a current time point if the time elapsed since the start of playback of the previous image frame is not shorter than the playing interval of the current image frame.
地址 Shenzhen CN