CPC H04N 21/2662 (2013.01) [H04N 19/10 (2014.11); H04N 19/154 (2014.11); H04N 21/232 (2013.01); H04N 21/23439 (2013.01); H04N 21/236 (2013.01); H04N 21/2402 (2013.01)] | 20 Claims |
1. A method comprising:
obtaining, by a processing system including at least one processor, a scaled version of a reference copy of a video, comprising a plurality of scaled versions of a plurality of frames of the reference copy of the video;
obtaining, by the processing system, a first recorded frame of a first variant of a plurality of variants associated with the reference copy of the video, wherein the plurality of variants comprises a plurality of copies of the video encoded at different bitrates;
generating, by the processing system, a first scaled version of the first recorded frame;
calculating, by the processing system, a first plurality of image distances between the first scaled version of the first recorded frame and the plurality of scaled versions of the plurality of frames of the reference copy of the video;
determining, by the processing system, a first frame index of the first recorded frame in accordance with a first least image distance from among the first plurality of image distances that is calculated;
determining, by the processing system, a plurality of frame indexes of a sequence of recorded frames including the first recorded frame;
extracting, by the processing system, a longest increasing subsequence from the sequence of recorded frames in accordance with the plurality of frame indexes; and
detecting, by the processing system, a stall in accordance with the longest increasing subsequence, wherein the detecting the stall comprises:
identifying an excluded subsequence comprising at least one recorded frame of the sequence of recorded frames that is excluded from the longest increasing subsequence;
determining a length of the excluded subsequence;
calculating a difference in frame indexes of a first frame of the sequence of recorded frames that precedes the excluded subsequence and a second frame of the sequence of recorded frames that precedes the excluded subsequence; and
determining an occurrence of the stall when the length of the excluded subsequence is greater than or equal to the difference in frame indexes.
|