90 likes | 213 Vues
This paper explores the challenges and solutions for synchronizing media playback in a centralized media library using XBMC. The problem of achieving accurate audio and video synchronization across multiple viewing locations is addressed, focusing on typical delays of ±80ms for video and ±160ms for audio. The proposed design employs NTP for precise timing, utilizes HTTP for communication, and exchanges SMIL playlists to facilitate playback across devices. A proof of concept demonstrates functionality, while discussing design problems and future work in low-level timing control.
E N D
Ed Daelli and Mike Kopps CS525 Dr. Chow Playback Synchronization for XBMC
Introduction • Problem • Synchronization • Design • Demonstration Outline
Centralized media library • Music • Videos • Movies • Whole house audio • Synchronous media playback • Multiple viewing locations • Transitive viewing locations Introduction
Server software • Complicated • Requires always-on machine • Unfeasible for NAS boxes • Centralized control • Specialized equipment • Expensive • Professional Installation • Closed Source Problem
Video • < ±80ms Synchronized • > ± 160ms Not Synchronized • Audio • Little research found • Experiment • Consolidate Stereo Tracks • Create Stereo File from Mono • Offset Mono tracks Synchronization
NTP • Resolution: 233 picoseconds • Accuracy: 200 µs on LAN • Small Area Only • Shared media server • Retrieve Playlist • SMIL format • Playlist begin time • Client calculates start location • Original Start Time • Current Wall Time • Event Registration • Notify skip, next, previous Design
Proof of concept design • Uses XBMC as media player • Communication over HTTP • Exchange SMIL playlists • Use HTTP “commands” to synchronize. Design
Demonstration Design
Problems • Hardware dependencies • O/S dependencies • Future Work • Low level timing control • Video playback • Auto Discovery Conclusion