All Products
Search
Document Center

ApsaraVideo VOD:Data metric descriptions

Last Updated:Aug 13, 2025

This document describes the definitions and calculation methods for the Quality of Service (QoS) and Quality of Experience (QoE) metrics on the playback quality dashboard.

How it works

The playback quality dashboard uses instrumentation data reported by the ApsaraVideo Player SDK. The following diagram shows the instrumentation logic.

image

  • In the ApsaraVideo Player SDK for web, player initialization is equivalent to the prepare() method, and the play() method is equivalent to the start() method.

  • When you use autoplay by calling setAutoPlay(true), playback starts as soon as the video source is ready. This is equivalent to a user clicking Play.

  • The prepare() method can run in the background. Actual playback is triggered by the start() method.

Scenario

Reporting trigger

Metric description

Successful playback

  • User exits: The user exits after playback starts.

  • Playback completes: The last frame is rendered in non-loop playback mode.

  • Playback duration of this session = sum(T1)

  • Rebuffering duration of this session = sum(T2)

  • Watch duration of this session = sum(T1) + sum(T2)

Playback failure

  • Startup fails: An error occurs during playback startup.

  • User exits: The user exits before the first frame is rendered.

  • Playback error: An unrecoverable error occurs during playback.

  • Playback duration of this session = sum(T1)

Core metrics

To quickly assess user experience and service health, focus on the most representative and impactful core metrics. This ensures that data drives efficient decision-making rather than causing information overload. You should monitor and optimize the following core metrics over the long term.

Core metrics include the following:

  • Fast startup rate: Measures the loading speed of the first frame. It is a core metric for evaluating the first-frame experience and directly affects user perception and retention. It is the primary metric for optimizing the playback experience.

  • Play failure ratio: Reflects the playback success rate. It is a core reference for judging the availability and stability of the playback service. Abnormal fluctuations can easily lead to user churn.

  • Rebuffer count rate: Assesses playback smoothness. Rebuffering issues affect the user's viewing experience and overall satisfaction. This is a key factor for optimizing the playback experience and improving user retention.

QoS metrics

Note

You can view the metric definitions and detailed descriptions in the tooltips on the metric cards.

image

Performance metrics (Fast startup rate, Slow startup rate, Time to First Frame, Average seek duration)

In a video playback quality monitoring system, performance metrics are fundamental to evaluating the user experience. The four performance metrics, fast startup rate, slow startup rate, time to first frame, and average seek duration, directly reflect the performance of playback startup and control. Optimizing these metrics can significantly improve service smoothness and increase user engagement and satisfaction.

Fast startup rate

Fast startup rate

Definition and interpretation:

Fast Startup Rate (TTFF ≤ 1s) is the percentage of actual plays where the first frame is successfully rendered within 1 second.

Formula:

Fast startup rate = (Number of plays with TTFF ≤ 1,000 ms / Actual plays) × 100%.

Scope and rules:

  • This metric excludes cases where the user exits immediately or playback fails after the start() method is called, resulting in no first frame.

  • For audio-only playback, the time to first frame is based on when the first audio frame is rendered.

Data source and unit:

This metric is expressed as a percentage.

Slow startup rate

Slow startup rate

Definition and interpretation:

Slow Startup Rate (TTFF ≥ 3s) is the percentage of actual plays where the time to render the first video frame is 3 seconds or more. As the counterpart to the fast startup rate, this metric reflects slow startup situations.

Formula:

Slow startup rate = (Number of plays with TTFF ≥ 3,000 ms / Actual plays) × 100%.

Scope and rules:

  • This metric excludes cases where the user exits immediately or playback fails after the start() method is called, resulting in no first frame.

  • For audio-only playback, the time to first frame is based on when the first audio frame is rendered.

Data source and unit:

This metric is expressed as a percentage.

Time to First Frame

Time to First Frame

Definition and interpretation:

Time to First Frame (TTFF) is the time from when the start method is called until the first frame is displayed. It is a key metric for measuring video startup speed and user experience.

Formula:

TTFF = AVG(First frame display timestamp - start call timestamp).

Scope and rules:

  • This metric excludes cases where the user exits immediately or playback fails after the start() method is called, resulting in no first frame.

  • For audio-only playback, the time to first frame is based on when the first audio frame is rendered.

Data source and unit:

This metric is calculated from the timestamps of events reported by the client-side SDK, in milliseconds (ms).

Average seek duration

Average seek duration

Definition and interpretation:

Average Seek Duration is the average video loading time after a user drags the progress bar. It reflects seeking smoothness.

Formula:

Average seek duration = Total loading time from dragging the progress bar / Number of seek operations.

Scope and rules:

  • This metric includes the time for the video buffer to recover after a seek operation.

Data source and unit:

The average value is calculated in milliseconds (ms).

Error metrics (Play failure ratio, Non-start ratio, Error count per 100s)

In a video playback quality monitoring system, error metrics are core indicators for assessing service availability and system stability. The three metrics, play failure ratio, non-start ratio, and error count per 100s, can accurately quantify various abnormal player behaviors. By efficiently monitoring and promptly responding to abnormal metrics, you can effectively ensure the user's viewing experience and improve the reliability and health of the platform's services.

Play failure ratio

Play failure ratio

Definition and interpretation:

Play Failure Ratio is the percentage of playback events that are terminated due to an unrecoverable error. The failure rate reflects the overall reliability of playback. A lower value indicates higher stability. This metric is affected by the player SDK, user device stability, network conditions, and CDN stability.

Formula:

Play failure ratio = (Number of failed plays / Total plays) × 100%.

Scope and rules:

  • This metric includes abnormal termination scenarios such as device errors, decoding failures, and stream interruptions.

  • This metric excludes cases of brief stuttering or successful playback after an automatic retry.

Data source and unit:

This metric is based on the number of abnormal status reports from the player SDK. It is expressed as a percentage.

Non-start ratio

Non-start ratio

Definition and interpretation:

Non-Start Ratio is the percentage of playback attempts where the user exits before the first frame is displayed or the startup fails. This metric reflects the user experience during the initial playback phase.

Formula:

Non-start ratio = (Number of non-started plays / Total plays) × 100%.

Scope and rules:

  • Startup can also fail for business reasons, such as abnormal playback parameters.

  • This metric includes two scenarios: user-initiated abandonment and failure due to network abnormalities.

Data source and unit:

This metric is based on statistics of missing first-frame callback events plus exit events. It is expressed as a percentage.

Error count per 100s

Error count per 100s

Definition and interpretation:

Error Count per 100s is the average number of unrecoverable errors that terminate playback per 100 seconds of video watched. It measures the frequency of unrecoverable errors during playback.

Formula:

Error count per 100s = (Number of errors / Total watch time in seconds) × 100.

Scope and rules:

  • This metric includes abnormal termination scenarios such as device errors, decoding failures, and stream interruptions.

  • This metric excludes cases of brief stuttering or successful playback after an automatic retry.

Data source and unit:

The unit is 'count'. The number of unrecoverable errors per 100 seconds is calculated.

Rebuffering metrics (Rebuffer count rate, Rebuffer duration per 100s, Rebuffer count per 100s)

In the playback quality monitoring system, rebuffering metrics reflect playback smoothness, which is important for user retention. The three metrics, rebuffer count rate, rebuffer duration per 100s, and rebuffer count per 100s, provide a comprehensive view of playback smoothness. Continuously monitoring and optimizing these metrics improves the playback experience, reduces interruptions, and increases user satisfaction.

Rebuffer count rate

Rebuffer count rate

Definition and interpretation:

Rebuffer Count Rate is the percentage of playback sessions that pause due to network latency or an insufficient buffer. It does not include buffering caused by the user actively dragging the progress bar. This metric reflects video playback smoothness.

Formula:

Rebuffer count rate = (Number of plays with rebuffering / Actual plays) × 100%.

Scope and rules:

  • Number of plays with rebuffering: The number of plays where the rebuffer count is ≥ 1.

  • This metric counts playback records that have experienced network waiting.

  • This metric does not count buffering caused by seek operations.

Data source and unit:

This metric is based on the player's buffer event count. It is expressed as a percentage.

Rebuffer duration per 100s

Rebuffer duration per 100s

Definition and interpretation:

Rebuffer Duration per 100s is the average total network rebuffering duration for every 100 seconds of video played. It reflects the severity of rebuffering during the user's viewing process. It excludes rebuffering before the first frame loads and rebuffering caused by seek operations. This metric can be used to monitor network quality and playback smoothness. A lower value indicates a better experience.

Formula:

Rebuffer duration per 100s = (Total rebuffer duration in seconds / Total watch time in seconds) × 100.

Scope and rules:

  • This metric only counts the rebuffering duration caused by network buffering during user viewing.

  • This metric does not include the player's startup buffer time or the buffer time after the user drags the progress bar.

Data source and unit:

The unit is seconds (s). Both playback duration and rebuffer duration are accurately collected by the client.

Rebuffer count per 100s

Rebuffer count per 100s

Definition and interpretation:

Rebuffer Count per 100s is the average number of network rebuffering events that occur for every 100 seconds of video played. It measures the frequency of rebuffering events during playback.

Formula:

Rebuffer count per 100s = (Number of rebuffering events / Total watch time in seconds) × 100.

Scope and rules:

  • This metric directly reflects the frequency of rebuffering.

  • This metric does not include player startup buffering or buffering after the user drags the progress bar.

Data source and unit:

The unit is 'count'. The number of rebuffering events per 100 seconds is calculated.

QoE metrics

Note

You can view the metric definitions and detailed descriptions in the tooltips on the metric cards.

image

Viewing behavior metrics (Total plays, Actual plays, Completion count, Completion rate, 5-second bounce ratio)

In the playback quality monitoring system, viewing behavior metrics measure user engagement and content consumption depth. They are a key reference for evaluating content popularity, user stickiness, and business conversion efficiency. The five metrics, total plays, actual plays, completion count, completion rate, and 5-second bounce ratio, help businesses effectively plan content and optimize products.

Total plays

Total plays

Definition and interpretation:

Total plays refers to the total number of valid video playback sessions initiated by users on the client. A play is counted when the client first calls start after prepare is called. Repeated calls to start after a pause do not count as new plays.

Significance:

This metric reflects the activity of video playback and is a basic metric for measuring user usage frequency.

Scope and rules:

  • This metric only counts the number of times the client confirms receipt of the initial start call.

  • This metric does not count replaying the same stream after a pause.

Data source and unit:

This metric is counted by player SDK event triggers. It is a unitless count value.

Actual plays

Actual plays

Definition and interpretation:

Actual Plays is the number of plays where the first frame is successfully rendered. It excludes plays where start is called but a successful first-frame rendering callback is not received.

Significance:

This metric measures whether a video was successfully played. It is crucial for reflecting a smooth user viewing experience.

Scope and rules:

  • This metric excludes the following scenarios:

    • The user calls play, but playback cannot start due to network or device issues.

    • The video cannot start playing due to errors in the video source's encoding or decoding, or video authentication issues.

Data source and unit:

This metric is counted based on the number of first-frame rendering callbacks from the player SDK.

Completion count

Completion count

Definition and interpretation:

Completion Count is the number of plays where the last frame (end frame) of the audio or video is successfully displayed. A loop playback is counted as one completion.

Formula:

Completion count = Total number of plays that successfully displayed the end frame (finish_cnt).

Significance:

Completion count measures the number of times users watch a video completely. It is an important metric for evaluating user stickiness and video appeal.

Scope and rules:

  • All of the following scenarios are counted as completions:

    • A user seeks directly to the end of the video and displays the end frame.

    • A user seeks to any position and then continues to play normally to the end frame.

    • During loop playback, the user exits after the end frame is displayed.

  • Loop playback is not counted repeatedly.

Data source and unit:

This metric is counted by the player SDK through the playback completion event. It is a unitless count value.

Completion rate

Completion rate

Definition and interpretation:

Completion Rate is the percentage of completed plays out of the total number of plays. It is an important measure of user viewing completion.

Formula:

Completion rate = (Completion count / Actual plays) × 100%.

Scope and rules:

  • This metric uses the display of the end frame at the end of playback as the completion marker.

  • Loop playback is counted only once.

Data source and unit:

This metric is expressed as a percentage.

5-second bounce ratio

5-second bounce ratio

Definition and interpretation:

5-Second Bounce Ratio is the percentage of actual plays where the user actively exits or stops playback within the first 5 seconds.

Formula:

5s bounce ratio = (Total number of plays with a duration of less than 5 seconds / Actual plays) × 100%.

Scope and rules:

  • Even if a user seeks to a position beyond the 5-second mark, if the playback time is less than 5 seconds, it is still included in the statistics.

Data source and unit:

This metric is expressed as a percentage.

User metrics (Unique users, Average play duration per user, Average plays per user, Average completion per user)

In the playback quality monitoring system, user metrics reflect overall user activity, content consumption habits, and engagement. Monitoring the four metrics, unique users, average play duration per user, average plays per user, and average completion per user, provides deep insights into content reception, user activity, and platform engagement.

Unique users

Unique users

Definition and interpretation:

Unique Users is the number of deduplicated users who have played videos using the player SDK.

Formula:

Unique users = count(distinct(uuid)).

Significance:

This metric measures the actual number of active devices covered by the player, reflecting the user base scale.

Scope and rules:

  • Devices are deduplicated based on the unique identifier uuid. The uuid is generated on the client side based on an algorithm. Uninstalling and reinstalling may cause the uuid to change, leading to overcounting of users. For the ApsaraVideo Player SDK for web, clearing the browser cache or switching browsers will cause the uuid to change.

  • Only users who have successfully started playback are counted.

Data source and unit:

This metric is based on SDK device ID statistics. It is a count value.

Average play duration per user

Average play duration per user

Definition and interpretation:

Average Play Duration per User is the average effective playback duration accumulated from startup to exit for a user. It reflects the user's viewing depth of video content. Higher quality video content will increase the average play duration. This metric can guide video content optimization.

Formula:

Average play duration per user = Total actual user playback duration / Number of unique users.

This is equivalent to: Average play duration per user = sum(watch_duration) / count(distinct case when watch_cnt > 0 then uuid end).

Scope and rules:

  • Total actual user playback duration excludes the following times:

    • Pause time

    • Seek time generated by dragging the progress bar

    • Network rebuffering time

    • Error retry time

    • Other progress bar pause times

  • Loop playback duration is included in the statistics.

  • For variable-speed playback, the duration is based on the actual watch time. For example, for a 10s video played at 2x speed, the recorded playback duration is 5s.

Data source and unit:

This metric is based on player SDK event timing statistics. The minimum unit is milliseconds.

Average plays per user

Average plays per user

Definition and interpretation:

Average Plays per User is the average number of successful plays per user. It reflects user activity and usage frequency. This metric can differ significantly between long-video and short-video services.

Formula:

Average plays per user = Actual plays / Unique users.

Data source and unit:

This metric is calculated by dividing the actual plays count by the number of unique users. It is a unitless count.

Average completion per user

Average completion per user

Definition and interpretation:

Average Completion per User is the average number of times a user watches a video completely. It measures the completeness and interest of user video viewing.

Formula:

Average completion per user = Completion count / Unique users.

Data source and unit:

This metric is calculated by dividing the completion count by the number of unique users. The result is an average count statistic.

Average metrics (Average play duration, Average video duration, Average bitrate per start, Average bitrate per play)

In the playback quality monitoring system, average metrics are key reference data for evaluating user viewing behavior, content characteristics, and playback quality. By continuously tracking the four metrics, average play duration, average video duration, average bitrate per start, and average bitrate per play, you can comprehensively reflect the user's single-session viewing depth and the quality level of video playback.

Average play duration

Average play duration

Definition and interpretation:

Average Play Duration is the effective watch time of a single play. It measures the viewing depth of a single playback session.

Formula:

Average play duration = Total actual user playback duration / Actual plays.

Scope and rules:

  • Total actual user playback duration excludes the following times:

    • Pause time

    • Seek time generated by dragging the progress bar

    • Network rebuffering time

    • Error retry time

    • Other progress bar pause times

  • Loop playback duration is included in the statistics.

  • For variable-speed playback, the duration is based on the actual watch time. For example, for a 10s video played at 2x speed, the recorded playback duration is 5s.

Data source and unit:

The minimum unit is milliseconds (ms).

Average video duration

Average video duration

Definition and significance:

Average Video Duration is the average video length based on statistics from the video resource header information. It reflects the duration distribution of the played content.

Formula:

Average video duration = AVG(play_video_duration).

Data source and unit:

The video duration recorded in the video header is reported by the player SDK. The minimum unit is milliseconds.

Average bitrate per start

Average bitrate per start

Definition and interpretation:

Average Bitrate per Start is the video start bitrate reported by the client. It reflects the video quality level at which the user starts playback.

Formula:

Average bitrate per start = AVG(start_bitrate).

Scope and rules:

  • This metric includes bitrate data from all completed and uncompleted video streams.

Data source and unit:

The minimum unit is bps.

Average bitrate per play

Average bitrate per play

Definition and interpretation:

Average Bitrate per Play is the average video bitrate reported by the client. It reflects the video quality level of the user's actual playback. For multi-bitrate videos, users can actively select different definition videos during playback. If the player is in auto mode, the player's Adaptive Bitrate (ABR) algorithm automatically selects the appropriate bitrate based on the current network conditions. Different ABR algorithm policies affect the final average playback bitrate.

Formula:

Average bitrate per play = AVG(play_bitrate).

Scope and rules:

  • This metric includes bitrate data from all completed and uncompleted video streams.

Data source and unit:

The minimum unit is bps.