No-compromise bandwidth optimization: why statmux for broadcasters

No-compromise bandwidth optimization: why statmux for broadcasters

Introduction

Satellite broadcasting platforms face ever-increasing demands both from viewers who want progressively higher quality video and operators who aim to expand their channel and service offerings — all while having to stay within the available bandwidth, a limited and very expensive resource.

For satellite operators, bandwidth cost is directly linked to transponder leasing: every megabit per second costs money. The more bandwidth is required, the higher the cost of content delivery. With the issue of spectrum costs or scarcity becoming more and more acute, increasing importance is attached to optimizing the utilization of the available resource.

Thus, the broadcaster has two alternatives: fit more channels inside the existing bandwidth or improve picture quality while keeping the same number of channels. Both are directly related to managing the bitrate, or the volume of data that the channel needs to transmit each second. The bitrate is defined by channel compression, determining the visual quality of the compressed video: the higher the bitrate, the more artifact-free and detailed the picture. However, bitrate is not the whole story. Quality can also be improved by using more sophisticated coding algorithms like deep rate–distortion optimization (RDO) or transitioning to more modern standards (e.g., HEVC instead of AVC). The downside with these approaches is that they increase the computational load and require compatibility with the existing equipment. Very few digital receivers are capable of decoding HEVC, let alone the more resource-intensive AV1 or VVC.

The conclusion is straightforward: it is not enough to merely increase the encoder efficiency. To really improve the transmission quality and achieve flexible resource management, a different approach to bitrate distribution among the channels is required. This is what creates the need for technologies that would allow us to treat transmission bandwidth not as a fixed per-channel resource but as a common pool that can be redistributed more intelligently.

In the next section, we will look at the traditional methods of bitrate distribution, the reasons why broadcasters grew dissatisfied with them, and the practical ways in which statistical multiplexing (statmux) solves these issues.

Traditional approaches (CBR, VBR) and why they sometimes fail

Imagine having four AVC HD channels that need to be broadcast within a common bandwidth of 22 Mbps, ensuring the best possible quality.

The simplest option is to use CBR coding for each of the channels, distributing the available bandwidth evenly. In this arrangement, each channel is allocated about 5.5 Mbps, a fairly typical bitrate for an AVC HD channel.

At some point in time, we might see the following picture:

  • Channel 1: newsroom, little to no motion
  • Channel 2: broadcast finished, color bar test pattern on the screen
  • Channel 3: live concert, lots of dynamics and fine detail
  • Channel 4: action movie, fast scenes and frequent scene changes
Visual presentation of four different TV channels in the Elecard MultiStream Player (MSP) multiviewer
Figure 1. Visual presentation of four different TV channels in the Elecard MultiStream Player (MSP) multiviewer

It is obvious that at this time channels 1 and 2 do not require as high a bitrate as channels 3 and 4 to broadcast content with an acceptable quality. In as little as a minute, however, the situation can change: the "slow" channels can become "fast" and the dynamic ones, on the contrary, switch to simpler content or start showing color bars.

To move away from a fixed bitrate, you can use the VBR mode by setting the average bitrate at something like 5 Mbps. In this case, the effective bitrate will vary around the specified average level: the encoder can increase the bitrate momentarily during a scene transition and then drop it to maintain the set average level. Unlike CBR, this has a modicum of adaptivity.

The problem, however, is that each channel adjusts its bitrate completely independently of the others. This causes two detrimental effects: at some point, the total bitrate for all channels can exceed the available 22 Mbps, which will cause disruptions; at other times, on the contrary, the bandwidth may remain underutilized.

That is where statistical multiplexing comes into play, a technology that allows flexible redistribution of the available bandwidth between the channels depending on the current scene complexity. If a channel is currently broadcasting content that is simple to encode, it gives up some of the bitrate to the channels with more complex scenes. The system does this automatically, in real time, helping maintain the optimum tradeoff between quality and bandwidth utilization. The maximum gain is achieved when fluctuations occur in video stream complexity on the adjacent channels.

Statistical multiplexing consumes additional computational resources (e.g., to evaluate the quality) and puts requirements on the synchronization between all encoders and the multiplexer. However, if implemented correctly, this technology brings a noticeable quality improvement. In fact, the more services are included in the statistically multiplexed pool, the more effective the system will be at distributing the aggregate bitrate because scene complexity changes in a random way. The more channels in the pool, the lower the probability that they will all require the maximum coding complexity at the same time. This enables a denser placement of channels within a limited bandwidth.

Some vendors attempt to sell independent VBR coding of multiple channels as statmux. This kind of multiplexing can look superficially similar but yields a very low bandwidth utilization. To compensate for bitrate fluctuations, null packets (zero padding) are normally used, and their proportion can be quite significant. In this configuration, the regular CBR could give more predictable and efficient results.

How statmux works, in simple terms

To achieve truly efficient bandwidth utilization, channel bitrate should be managed dynamically, estimating content complexity on all four channels simultaneously. That requires several additions to the typical signal processing circuit: a scene complexity estimator inserted before each encoder and an analyzer that receives data from all estimators and tells each coder what bitrate is currently available to it.

All that is then left is to merge all the unit streams into a multiplex of a fixed maximum bandwidth (in this case, 22 Mbps). Strange as it is, this last stage is where the implementation complexity of statmux mostly lies.

For illustration purposes, we will show a simplified diagram that demonstrates how a statistical multiplexer works, using our four channels as an example.

Block diagram of a simplified statistical multiplexer implementation
Figure 2. Block diagram of a simplified statistical multiplexer implementation

The raw content arrives at the input interfaces of the statistical multiplexing system (these can be different physical interfaces like SDI, IP, ASI, etc.). It is then decoded, resulting in the raw (uncompressed) video—this is the starting point of our block diagram (Raw Input 1–4). 
Located next to these are the analyzers (Analyzer 1–4) which continuously estimate scene complexity by specific algorithms. This estimation can be performed frame-by-frame or as an average over a small time interval. The analyzers pass their results to the Bitrate Manager which knows the total budget allotted to the video stream pool. The key concept here is that the total bitrate for the entire channel pool is constant.

Given the content complexity data for each channel, the Bitrate Manager distributes the budget proportionally to the current estimates and tells each encoder (VBR Encoder 1–4) the bitrate to target at this time. Each video stream is then multiplexed into an SPTS, and all SPTSs are merged into a statmuxed MPTS. This kind of architecture is universal and could in theory use encoders by any vendor, whether CPU- or GPU-based, provided they support on-the-fly bitrate management.

A more complex and potentially more efficient statmux implementation exists where bitrate is controlled frame-by-frame via a quantization parameter (QP). This approach gives better opportunities for optimization but is less universal because it has to be tied to a specific encoder.

Bitrate of a statistically multiplexed MPTS — analysis done in Elecard Boro
Figure 3. Bitrate of a statistically multiplexed MPTS — analysis done in Elecard Boro

Elecard's statistical multiplexer implementation

Elecard's statistical multiplexer integrates two products, CodecWorks Transcoder and CodecWorks Mux.

CodecWorks Mux is responsible for generating the resulting statmuxed MPTS and managing the encoders on the CodecWorks Transcoder side. This is where the output parameters for the multiplex are specified.

CodecWorks Transcoder, in turn, estimates scene complexity, performs VBR video encoding, generates individual MPEG-TS programs, and broadcasts them to the network (e.g., using UDP multicast). It can run on the same server as CodecWorks Mux or can be distributed across multiple machines in a network. In the latter case, it provides a separate VBR SPTS for each program.

When CodecWorks Mux receives the prepared SPTSs from CodecWorks Transcoder, it keeps their TS structure but allows all required operations to be performed on them such as PID change (remapping), extraneous PID removal (filtering), PCR adjustment, PSI/SI table modification, and more. All of these are done on the fly, without momentary service disruptions.

The platform also provides flexible management capabilities: at any time, you can remove a program from the statistical multiplexing pool and switch it to the CBR mode without affecting the rest of the channels. The reverse is also possible, meaning you can add new programs to the multiplex and include them in the statmux pool.

Evaluating the benefits of statmux

Despite the obvious benefits of statistical multiplexing, there is currently no unified industry standard for evaluating those benefits. General, purely technical methodologies exist like Rate–Distortion curve analysis, which is based on the PSNR metric. However, such indicators do not always reflect the viewer's subjective perception, so their accuracy is often questioned.

Obviously, the quality of a statmux-encoded video should not be worse in the viewer's subjective perception than that of a CBR-encoded one. Since the end users here are human beings, subjective quality assessment remains the most accurate measure. It is, however, difficult to use in practice because it requires carrying out experiments involving a group of viewers. Therefore, VMAF is considered a more convenient metric, one that is better aligned with viewer perception.

Another indicator used in the relevant specifications is the number of null packets (padding) as a percentage of the total MPTS bitrate. These are used by the multiplexer for technical purposes like TS bitrate alignment in MPTS or precise PCR positioning. It is logical that the less padding is required, the more usable bitrate is left for the video, potentially resulting in better quality. Currently, 0.5% to 1% is considered a good padding level.

Conclusion

Statistical multiplexing is one of the best solutions to the broadcaster's main problem of how to use the expensive bandwidth most efficiently while preserving high video quality. This technology enables better results with the same resources, thus directly contributing to infrastructure efficiency.

Elecard's solution offers a modern, flexible, and technologically mature implementation of statmux. It combines the benefits of an advanced software architecture and the practical reliability proven in real-world deployments. Here are the features that make it especially valuable:

  • Modern architecture: software-only implementation provides flexibility, scalability, and efficiency.
  • Domestic product: included in the Registry of Domestic Software by the Russian Ministry of Digital Development, runs on x86 servers (including Russian-assembled equipment), and does not require specialized hardware.
  • Efficiency and savings: avoiding the reliance on specialized equipment reduces capital expenditures, while the intelligent bitrate management allows you to add more channels or improve the quality of the existing ones within the same bandwidth.
  • Support nearby: the development and technical support take place in Russia, guaranteeing prompt replies, deep involvement, and the ability to customize the solution to your specific requirements.

Elecard's statistical multiplexer is not just an optimization tool. It is a way to make the broadcaster's infrastructure more efficient, flexible, and better prepared for ever-growing video quality demands in the future.

 


shmakovAuthor

Dmitriy Shmakov is a leading engineer at Elecard. He has been working in video analysis since 2021. Dmitriy is in charge of support of the Elecard's largest clients, such as Telstra, Globo, Amagi, Innet, etc.

 

 

Elecard CodecWorks Transcoder — professional platform for real-time encoding and transcoding into HEVC/H.265, AVC/H.264, and MPEG-2 video. Supports adaptive bitrate streaming via HLS, CMAF, and MPEG-DASH protocols, and is compatible with various Conditional Access Systems (CAS).

Elecard CodecWorks Mux — professional software solution for real-time media multiplexing and remultiplexing with flexible management of SPTS/MPTS transport streams, PSI/SI tables, and PID remapping.

 

November 30, 2026