Live video transcoding method and device
The invention provides a live video transcoding method and device. The live video transcoding method comprises the following steps: counting the number of watching people of a live video at the current moment; calculating a metric value of the live video according to the time period to which the cur...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a live video transcoding method and device. The live video transcoding method comprises the following steps: counting the number of watching people of a live video at the current moment; calculating a metric value of the live video according to the time period to which the current moment belongs and the number of viewers; and transcoding the source stream of the live video by using a target transcoding rule corresponding to a target threshold value under the condition that the metric value reaches the target threshold value in the corresponding relationship according to the corresponding relationship between the preset threshold value and the transcoding rule. According to the scheme, the bandwidth cost of the computing resources and the live video can be balanced.
本申请提供直播视频转码方法及装置,其中所述直播视频转码方法包括:统计当前时刻直播视频的观看人数;根据所述当前时刻所属的时间段和所述观看人数,计算所述直播视频的度量值;根据预先设定的阈值与转码规则的对应关系,在所述度量值达到所述对应关系中目标阈值的情况下,利用所述目标阈值对应的目标转码规则,对所述直播视频的源流进行转码。本方案可以平衡计算资源和直播视频的带宽成本。 |
---|