Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
ISO/IEC 29341-13-11 extends the ScheduledRecording architecture with a comprehensive recording statistics service that provides detailed telemetry about recording operations, storage utilization, and content quality metrics. While Part 13-10 focuses on the scheduling and execution of recordings, Part 13-11 addresses the equally important task of monitoring recording performance, diagnosing failures, and optimizing resource usage over time. This standard is indispensable for building reliable PVR/DVR systems that can operate unattended for extended periods.
The standard defines a rich set of quality metrics that recording devices should collect and expose. These include signal-to-noise ratio (SNR) measurements at recording time, bitrate statistics for encoded content, frame-level capture statistics (total frames, dropped frames, duplicate frames), and audio synchronization offset measurements. Each metric is timestamped and associated with a specific recording schedule entry, allowing retrospective quality analysis.
Error tracking is formalized through an error log that records all recording-related anomalies. The log includes entries for tuner lock failures, transport stream errors, storage write failures, encoding pipeline errors, and resource allocation failures. Each error entry carries a severity level, a timestamp, a human-readable description, and a reference to the affected schedule entry. The service exposes actions to query the error log, acknowledge specific errors (which removes them from the active alert set), and clear the log after administrative review.
| Metric Category | Example Metrics | Engineering Significance |
|---|---|---|
| Signal Quality | SNR, BER, signal strength, lock status | Predicts recording success probability; enables proactive tuner adjustment |
| Encoding Quality | Average bitrate, peak bitrate, encoding latency | Indicates encoder load; identifies insufficient CPU or hardware encoder capacity |
| Storage Performance | Write throughput, seek latency, fragmentation level | Flags storage degradation before it causes recording failures |
| Content Integrity | GOP completeness, PTS continuity, CRC errors | Validates that recorded content is playable without artifacts |
The statistics service provides detailed storage analytics that enable capacity planning and space management. It tracks per-storage-volume metrics including total capacity, used space, available space, deletion rate (space reclaimed per day), and recording growth rate (space consumed per day). These metrics are exposed through the GetStorageMetrics action and can be used to project when storage will be exhausted under current usage patterns.
An innovative feature of the standard is the Recording Retention Analysis capability. The service can analyze the age, size, and access frequency of stored recordings and provide recommendations for content that could be archived or deleted to free space. This analysis considers user-defined retention policies — for example, “keep news recordings for 7 days” or “keep children’s content for 30 days” — and generates prioritized lists of recordings eligible for automatic cleanup.
Implementing the statistics service requires careful consideration of data volume and retention. High-resolution metrics collected for every recording can accumulate significant storage overhead over time. The standard recommends a tiered data retention strategy: raw metrics are retained for a short period (e.g., 7 days), aggregated hourly statistics are retained for a medium period (e.g., 30 days), and daily summaries are retained for the device’s lifetime. This approach balances diagnostic granularity with storage efficiency.
Another important engineering consideration is the performance impact of metric collection. The statistics collection process must not interfere with the primary recording function. Engineers should implement metric collection as a low-priority background task that yields to recording-critical operations. Using lock-free data structures for metric accumulation can prevent the statistics subsystem from introducing latency into the recording pipeline.
The standard also defines remote query capabilities, allowing control points and management consoles to retrieve statistics from multiple recording devices across the network. This aggregate view enables fleet-wide monitoring and capacity planning in multi-device installations. The remote query interface supports filtering by time range, metric type, and recording schedule, ensuring that control points can retrieve precisely the data they need without overwhelming the network with unnecessary transfers.