video-streaming
Video streaming expertise from Netflix - the world's largest streaming service. Master video encoding, adaptive bitrate streaming, CDN optimization, and global delivery. Use when building video platfo
Files1
View on GitHubSKILL.md.claude/skills/video-streaming/SKILL.md
GitHubVideo Streaming - Netflix Expertise
Expert: Marcus Johnson (Netflix, 14 years) Level: 10/10 - Netflix Principal Engineer
Overview
Video streaming at Netflix scale - 260M+ subscribers, petabytes of video served daily, 99.999% uptime. The playbook that powers the world's largest streaming service.
Netflix didn't just build a streaming service - they revolutionized how video is delivered globally.
When to Use What
Video Encoding:
- H.264 (AVC) - Universal compatibility - H.265 (HEVC) - 50% better compression
- AV1 - Next-gen, 30% better than HEVC
Streaming Protocols:
- HLS - Apple devices, iOS/Safari - DASH - Android, web browsers
- CMAF - Unified format for both
CDN Strategy:
- Multi-CDN - AWS CloudFront, Akamai, Fastly - Open Connect - Netflix's own CDN
Quality Metrics:
- VMAF - Video quality scoring
Core Workflow
- Ingest - Upload source video (high quality)
- Encode - Multi-bitrate ladder (4K → 240p)
- Package - HLS/DASH manifests
- Distribute - Upload to CDN/S3
- Stream - Adaptive bitrate playback
- Monitor - Quality metrics, rebuffer rate
Netflix's Encoding Pipeline
Per-Title Encoding:
- Analyze each title's complexity
- Optimize bitrate ladder per video
- Save bandwidth without quality loss
Example: Simple animation needs less bitrate than action movie.
Adaptive Bitrate Streaming (ABR)
Client automatically switches quality based on network:
Network fast → 4K (16 Mbps)
Network medium → 1080p (5 Mbps)
Network slow → 480p (1 Mbps)
Netflix's Global Scale
- 260M+ subscribers worldwide
- Billions of hours streamed monthly
- 15,000+ video titles (each in 10+ bitrates)
- Petabytes served daily
- 99.999% uptime (5 minutes/year downtime)
CDN Strategy
Netflix uses:
- Open Connect - Own CDN, 95% of traffic
- AWS CloudFront - Backup/overflow
- Edge caching - Videos cached near users
Best Practices
- Per-title encoding - Optimize bitrate per video
- VMAF quality scoring - Measure perceptual quality
- Multi-CDN - Redundancy and performance
- Adaptive bitrate - Smooth playback on varying networks
- Edge caching - Reduce latency globally
Related Skills
- aws-expert - S3, CloudFront CDN
- microservices - Netflix architecture
- performance-optimization - Video player optimization
Last Updated: 2026-02-03 Expert: Marcus Johnson (Netflix, 14 years) - Streams to 260M+ users