How eyevinn/hls-vodtolive works
Main Components Identification
The system should be represented with these key components:
a) Core Components:
• HLS VOD Parser
• Live Manifest Generator
• Media Sequence Manager
• Subtitle Handler
• VOD Concatenation Engine
b) External Interfaces:
• Input: HLS VOD Sources
• Output: Live HLS Streams
• Subtitle Services (dummy and slice endpoints)
[Input Sources] → [Core Processing] → [Output Streams]
Component Relationships
Key flows:
[HLS VOD Sources] →
• [VOD Parser] →
• [Media Sequence Manager] ↔ [VOD Concatenation Engine]
• ↓
• [Live Manifest Generator]
• ↓
[Live HLS Output]
[Subtitle Services] - - → [Subtitle Handler] - - → [Media Sequence Manager]
Important Elements
a) Data Flow Annotations:
• VOD manifest ingestion
• Media sequence generation
• Discontinuity handling
• Subtitle track management
b) Key Processing Points:
• Media sequence calculation
• Discontinuity sequence handling
• Bitrate adaptation
• Timeline management
Implementation Details to Highlight
Crucial aspects:
• Multiple bitrate handling
• Discontinuity boundary management
• Subtitle track integration
• VOD concatenation points
The concatenation mechanism for multiple VODs
Use standardized symbols:
• Rectangles: Processing components
• Double lines: API boundaries
• How VOD content is processed
• Where transformations occur
• How multiple VODs are concatenated
• How the live output is generated
• Where subtitle handling fits in
• The overall data flow through the system