Integrating IP Broadcasting with Audio Tags: Workflow and Challenges

Rhys Burchett-Vass, Arshdeep Singh, Gabriel Bibbó, Mark D. PlumbleyarXiv 2024 · DOI

Abstract

The broadcasting industry is undergoing a significant shift from rigid, hardware-dependent Serial Digital Interface (SDI) infrastructures to flexible, software-defined IP-based workflows. This paper investigates the integration of real-time AI-driven audio tagging into these IP streams using the Network Device Interface (NDI) protocol and containerized microservices. We evaluate the performance of Pre-trained Audio Neural Networks (PANNs) and their efficient counterparts (E-PANNs) in a live production context. Our findings highlight the critical trade-offs between buffer size, classification accuracy, and system latency, identifying a "sweet spot" for real-time sound event detection.

Introduction

Traditional broadcasting has long relied on Serial Digital Interface (SDI), characterized by fixed physical connections and dedicated hardware. While reliable, SDI lacks the scalability and reconfigurability required for modern, dynamic production environments. The industry's transition to IP broadcasting allows audio and video to traverse standard networks, but introducing intelligent processing—such as automated sound event identification—remains a challenge due to the "inelastic" nature of broadcast data. Unlike standard web traffic, broadcast streams cannot tolerate significant jitter or delay without compromising the viewer experience. This research proposes a modular, low-latency framework for integrating AI audio tagging into live IP workflows.

System Architecture and Methods

The proposed framework leverages several key technologies to ensure scalability and reliability:

  • NDI (Network Device Interface): An open standard for high-quality video and audio transport over IP, enabling seamless routing between network sources and software modules.
  • Containerization: By deploying the audio tagging tools as Docker-based microservices, the system gains modularity. This approach allows for independent scaling and ensures that a failure in one AI instance does not disrupt the entire broadcast chain.
  • AI Models: The system utilizes PANNs (Pre-trained Audio Neural Networks), specifically the CNN14 architecture, and E-PANNs, a streamlined version optimized for lower computational overhead. These models were pre-trained on Google’s AudioSet, encompassing over 2 million audio clips across 632 classes.

To handle continuous audio streams, the system implements a specialized dual ring buffer mechanism.

The audio processing pipeline utilizing ring buffers for continuous stream handling.

As shown in the figure above, the first buffer stores incoming audio frames, while the second extracts and accumulates the specific number of samples required for the AI model to make a prediction. Once identified, the system generates XML-based metadata frames that travel alongside the primary media stream.

Performance Analysis and Results

A primary focus of the study was the "latency-accuracy tightrope." Larger buffer sizes provide more context for the AI model, increasing accuracy, but introduce processing delays that can desynchronize metadata from the live video.

Efficiency Gains

The experimental results demonstrate that the E-PANNs model, with 24 million parameters compared to CNN14’s 81 million, provides a significant reduction in latency without a prohibitive loss in classification performance.

Latency comparison between PANNs and E-PANNs across varying buffer sizes.

As illustrated in the latency analysis, E-PANNs consistently maintains lower processing times across all tested buffer sizes. The researchers identified a buffer size of 48,128 samples (approximately 1 second at 48kHz) as the optimal balance for live production. At this setting, the system accurately identifies events like "Car" or "Telephone bell" while keeping latency within acceptable bounds for real-time monitoring.

Conclusion and Future Work

This research successfully demonstrates a proof-of-concept for automated sound event detection in IP-based broadcasting. By triggering visual alerts for operators (e.g., identifying unwanted background noise in a nature documentary), the system enhances production efficiency.

However, the current implementation faces limitations due to the overhead of Python-based NDI bindings. Future work will focus on migrating the core codebase to C++ for improved stability and lower latency. Additionally, the team plans to explore Transformer-based architectures like the Audio Spectrogram Transformer (AST) and move toward fully automated closed captioning for both speech and environmental sound events.

Summary updated

BibTeX
@misc{burchettvass2024integrating,
  author = {Rhys Burchett-Vass and Arshdeep Singh and Gabriel Bibbó and Mark D. Plumbley},
  title = {{Integrating IP Broadcasting with Audio Tags: Workflow and Challenges}},
  year = {2024},
  eprint = {2407.15423},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.15423},
}
Figure