User Tools

Site Tools


wiki:statmux_priorities

This is an old revision of the document!


StatMux Priorities



This information comes from an Envivio document, there is no listed author so I am unable to credit or reference anyone.

In a Stat Mux system, all channels get the same priority, there is no way from the GUI to change the priority of a channel (to give it more bits ultimately). There is an Advanced Parameter that can help, but it is quite limited.

Context


In the Statmux context, channel’s priority should help preserving the video quality of several channels. This user story aims at implementing and testing a short term version of the statmux priorities, i.e. with a limited number of priorities and without supporting advanced features like mix of codec.

According to [1], priorities can be implemented easily without completely modified the source code. Indeed, just by weighting channel complexity, we could provide a simple priority management.

Specifications



In this first version, the priority will be set only by mpeg4.cfg by specifying for each channel the prioritized level (1 or 0), using the following line:

<serviceName>.<profileName>.vid<videoId>.statmuxPriority=1. With <videoId> starting from 0.

Example:


To set a priority to this channel:

Service1.Profile 1-1.vid0.statmuxPriority=1

By default, all channels will set to un-prioritized.

The expected behavior is that a prioritized channel will have a better average objective video quality than without being prioritized. It could be checked by comparing in the same pool the same channel with and without priority.

The improved VQ will be achieved by allocating more bitrate to prioritized channels compared to others. However, a prioritized channel could have in particular cases, a lower bitrate and so a lower VQ compared to non-prioritized channel.

The maximal increase of bitrate, i.e. by comparing a channel bitrate with a VERY HIGH PRIORITY and the same channel with a normal priority, could be changed by mpeg4.cfg using the following parameter:

statmux.m_smxPriorityRateFactor=0.5.

The default value is 0.2. The overridden value is clipped between 0.05 and 1.

wiki/statmux_priorities.1481274585.txt.gz · Last modified: 2023/03/09 22:35 (external edit)