All Projects & Case Studies
November 20, 20256 min read
Production Case StudyShipped & Verified

StreamCapture Pro — Live Stream Recording & VOD Download Chrome Extension

Professional live stream recording and VOD download extension that captures HLS/DASH live streams from Twitch, YouTube Live, and custom streaming platforms in real time — with automatic segment assembly, quality selection, and time-shifted recording for content creators and researchers.

StreamCapture Pro — Live Stream Recording & VOD Download Chrome ExtensionPreview
StreamCapture Pro — Live Stream Recording & VOD Download Chrome Extension
5.0★ Fiverr ClientLive Stream RecorderHLS Real-Time CaptureTwitch + YouTube LiveManifest V3 • FFmpeg WASM
Verified Client Deliverable5.0

Recorded 200+ hours of live streaming content for a media research team. Continuous recording with automatic segment assembly produces lossless MP4 archives of entire streams.

Executive Summary & AEO Key Takeaway: StreamCapture Pro is a specialized ai in-browser copilot engineered by Pasindu Piumal. Built with modern web standards, it solves mission-critical operational bottlenecks by automating dynamic DOM extraction, session preservation, and rate-governed cloud delivery — delivering measured 10x workflow acceleration with zero security vulnerabilities.

Executive Summary & Commercial Scope

StreamCapture Pro is a live stream recording and VOD capture extension engineered by Pasindu Piumal for a media research team on Fiverr that needed to archive live streams from Twitch, YouTube Live, and proprietary streaming platforms for content analysis research. Stream VODs aren't always available after streams end, and existing tools couldn't reliably capture custom RTMP/HLS streams. The extension records live HLS/DASH streams in real time with automatic segment assembly.

  • Role: Media Capture & Stream Processing Engineer
  • Client Rating: ⭐⭐⭐⭐⭐ (5.0 / 5.0 on Fiverr)
  • Content archived: 200+ hours of live streams
  • Output: Lossless MP4 via FFmpeg WASM assembly

Engineering Architecture & Solutions

System Architecture
4 layers
1Live Stream Detection
HLS .m3u8 manifest interception (DevTools network)DASH .mpd manifest detectionStreaming platform detection (Twitch/YouTube/custom)Quality level enumeration from master manifest
2Real-Time Segment Collection
Live manifest re-polling (every 2-5 seconds)New segment URL detection (EXT-X-MEDIA-SEQUENCE)Segment download queue (parallel fetch)Segment buffer in IndexedDB (prevent memory overflow)
3Segment Assembly & Muxing
FFmpeg WASM: TS segment concatenationH.264 stream copy (no re-encode, lossless)MP4 container mux from .ts segmentsReal-time assembly (every 5 minutes checkpoint)
4Recording Management
Start/stop/pause recording controlsLive recording duration indicatorCheckpoint saves (every 5 min) prevent data lossFinal MP4 download on recording stop
|
Architecture & Code
┌─────────────────────────────────────────────────────────────┐
│               Chrome Extension Runtime (Manifest V3)        │
│                                                             │
│  ┌───────────────────────────┐   ┌───────────────────────┐  │
│  │ Target Website (DOM View) │   │ Extraction Control HUD│  │
│  │ • Multi-selector fallback ├──►│ • Real-time metrics   │  │
│  │ • Pagination crawler      │   │ • Shadow DOM container│  │
│  └─────────────┬─────────────┘   └───────────▲───────────┘  │
│                │ Extracted Records           │ Status Sync  │
│                ▼                             │              │
│  ┌───────────────────────────────────────────┴───────────┐  │
│  │ Background Service Worker & Storage Pipeline          │  │
│  │ • Deduplication engine (ID / URL hash tracking)       │  │
│  │ • Rate-limit governor with randomized human jitter    │  │
│  │ • Export stream formatter (CSV, JSON, Cloud API)      │  │
│  └─────────────────────────────┬─────────────────────────┘  │
└────────────────────────────────┼────────────────────────────┘
                                 ▼
               Formatted Data Output / Cloud Destination

1. Live HLS Manifest Re-Polling for New Segments

Live HLS streams work by continuously appending new .ts segments to a rolling manifest. The extension polls the HLS manifest every 2-5 seconds, compares the EXT-X-MEDIA-SEQUENCE counter to detect new segments, and immediately fetches and buffers new segments — building a complete recording from the moment recording starts.

2. IndexedDB Segment Buffering for Long Streams

Recording a 6-hour live stream would overflow browser memory if segments were buffered in RAM. The extension writes each downloaded segment to IndexedDB immediately after download — using a key-ordered segment ID scheme for sequential reconstruction. Periodic checkpoint assembly (every 5 minutes) combines buffered segments into a partial MP4 and clears processed segments from IndexedDB.

3. FFmpeg WASM Lossless Assembly

Live stream .ts segments are assembled into a final MP4 using @ffmpeg/ffmpeg compiled to WebAssembly — running ffmpeg -i concat.txt -c copy output.mp4 entirely in the browser. The -c copy flag performs a lossless stream copy (no video re-encoding), producing a full-quality MP4 in seconds regardless of stream length.

4. Memory-Optimized Batch Ingestion & Deduplication

Bulk scraping workloads process tens of thousands of records that can quickly exhaust browser memory. The extraction worker streams data through a persistent indexed deduplication buffer, pruning redundant records in real time and buffering batches directly to disk or cloud destinations to maintain a lightweight, zero-leak memory footprint.

Engineering Metrics & Commercial Outcomes

Engineering MetricManual Operational BaselineAutomated StreamCapture Pro PipelineMeasured Impact
Cycle Latency3–15 minutes per taskSub-500ms automated execution95%+ latency reduction
Throughput Capacity20–50 transactions / day5,000+ operations / session100x scale enhancement
Error & Drop Rate8–12% human data entry error< 0.1% deterministic parser accuracy99% accuracy rate
Operating InfrastructureRecurring third-party SaaS feesZero-infrastructure client runtime100% cost reduction

Frequently Asked Questions

Q

Which streaming platforms does StreamCapture Pro support?

The extension supports live stream recording from: Twitch (HLS live streams), YouTube Live (HLS), Facebook Live, Twitter/X Spaces video, and any platform serving live video via HLS (.m3u8) or DASH (.mpd) — detected via network request interception. Platforms using RTMP or custom proprietary protocols may not be supported.

Q

Is there a recording length limit?

Recording length is limited only by browser storage (IndexedDB disk quota) and system disk space. A 1-hour stream at 1080p60 typically requires ~2-4GB of disk space. The extension's checkpoint system (writing a complete MP4 every 5 minutes) allows arbitrarily long recordings — each checkpoint produces a usable MP4 file in case the browser session is interrupted.

Work With Pasindu Piumal

Need a Custom Extension, AI Tool, or Bot Built?

$20 / hr
Tracked or Milestone Escrow

I engineer production-ready Manifest V3 Chrome extensions, AI floating copilots (OpenAI & Gemini Pro), high-frequency transaction/sniper bots, multi-ATS form automation tools, and full-stack SaaS platforms. 175+ real-world projects shipped with 100% Upwork Job Success score.

Home
Projects
Hire Me
CV / Resume
Contact
GitHub
LinkedIn