How to Configure SSIM
MCS from version 1.3.0
Table of Contents
Overview
What is SSIM?
SSIM (Structural Similarity Index Measure) is a perceptual video quality metric that compares each test frame to a reference frame, focusing on structural information, contrast, and luminance. Unlike simpler metrics like PSNR (Peak Signal-to-Noise Ratio) or MSE (Mean Squared Error), SSIM aligns more closely with how the human eye perceives video quality.
SSIM Values in MCS
MCS provides four SSIM values for display:
SSIM – Displays the lowest SSIM value among the Y (luma) and U/V (chroma) channels.
SSIMY – Displays the SSIM value for the luminance (Y) channel.
SSIMCB – Displays the SSIM value for the Cb (chroma) channel.
SSIMCR – Displays the SSIM value for the Cr (chroma) channel.
Why Use SSIM in MCS?
Better Correlation with Human Perception: SSIM highlights visual distortions that impact viewer experience.
Proactive Quality Assurance: Detects issues like blocking, blurring, noise, and color distortions before they affect viewers.
Seamless Integration: Supports real-time monitoring across various video formats, ensuring high-quality viewing for live production, playout, distribution, and OTT services.
Use Cases
Live & On-Demand Content: Monitor SSIM scores to detect and address quality drops in real-time.
Compression Optimization: Balance quality and bandwidth by comparing different encoding settings.
Content Delivery: Track SSIM metrics to identify and resolve degradation in distribution networks.
How to Configure SSIM in MCS
Enable Fingerprinting
Click on the menu icon to open the widget menu.
A display of all the available widgets will open.
Navigate to Sources → Sources Config.
Sources Configuration will open.
For both the reference and test streams:
Double-click an existing source configuration that is disabled (Fingerprinting cannot be enabled for active sources) or create a new source configuration.
In the Common tab, locate the Finger Printing toggle at the top of the page and switch it to "on."
Configure the Path
Click the menu icon to open the widget menu.
A display of all the available widgets will open.
Navigate to Sources → Paths.
Channel Path Configuration will open.
Click the Add button (plus icon) on the top right corner to create a new channel path.
Enter a name for the channel path in the Label field.
From the Available Sources menu on the left, drag the reference and test streams to the configuration area.
Position the reference stream to the left of the test stream.
Create a connection by clicking the blue circle on the reference stream box and drag a line to the test stream box.
Save the configuration by clicking Save.
Note:
Ensure you use only sources with fingerprinting enabled. Without it, SSIM metrics will not display for the test stream.
Achieve Content Matching
Once the reference and test streams are fingerprinted and connected, MCS will automatically identify matching frames.
Configure UMD Hashtags in the Layout
Prerequisites
Configure a Tile to display UMD objects:
Edit or Create a Tile in the Tile Editor:
To edit an existing tile, double-click a tile from the Tiles List in the right menu.
Refer to this guide to create a new tile.
Add a UMD Object for Each SSIM Value (There are 4 SSIM options to display):
Drag a UMD object type from the Types menu on the left into the tile displayed in the middle of the screen.
Align UMD Indexes:
The UMD index in the Tile Editor will correspond to the UMD index in the Layout configuration where the tile is placed.
For more details, refer to the guide on configuring tiles.
Configure a Layout Template. Refer to the layout template configuration guide.
Steps
Click the menu icon to open the widget menu.
A display of all the available widgets will open.
Navigate to Outputs → Layouts.
Layouts Configuration will open.
Open an existing layout configuration or create a new layout configuration.
In the middle section of the Layout Configuration:
Assign UMD values to the test stream. (Do not assign values to the reference stream; they will not display.)
Assign up to 4 UMD values using the following hashtags:
#SSIM# – Lowest SSIM value across Y (luma) and U/V (chroma).
#SSIMY# – SSIM value for luminance (Y).
#SSIMCB# – SSIM value for Cb (chroma).
#SSIMCR# – SSIM value for Cr (chroma).
Note:
You can create up to 8 UMD objects on a tile, but only 4 UMD values can be configured on a layout through the MCS GUI. The remaining 4 can be configured using the API.
View SSIM Values
Click the menu icon to open the widget menu.
Navigate to Outputs → Operator Console.
Operator Console will open.
Click the Layout Select button at the bottom of the page.
Choose the layout you configured.
The SSIM values for the test stream will display in the corresponding UMD objects on the tile.
Adjust Sampling Interval (Optional)
By default, SSIM values are sampled every 10 seconds.
To adjust this interval, modify the
APP_SSIM_INTERVAL
value (in milliseconds) in the.env
file.
For example:APP_SSIM_INTERVAL=10000
Related Articles