Dynamic detection of segment pattern

    公开(公告)号:US10887672B1

    公开(公告)日:2021-01-05

    申请号:US16522468

    申请日:2019-07-25

    摘要: Method and apparatus for detecting a pattern used by an encoder when outputting segments for HTTP streaming. A pattern detector receives, as part of a HTTP streaming protocol, a sequence of video segments and a sequence of audio segments forming at least a portion of a media presentation. The pattern detector identifies a duration of the video segments and then sums the durations of the sequence of audio segments until the summed duration is an integer multiple of the duration of the video segments. The pattern detector determines the number of the audio segments used to form the summed duration which includes the number of audio segments forming a cycle of the pattern. This pattern is then added to a manifest of the media presentation along with a repeat indicator defining the number of times the pattern is repeated.