STREAMGRAB · MANIFEST ANALYSER
LOCAL ANALYSIS
Understand the stream before touching anything.
StreamGrab began as an extension that detects HLS, DASH and blob: videos and rebuilds them into an MP4. This integration keeps the safe part: an analyser that reads a pasted manifest, orders its variants and explains what it contains. It does not download segments or bypass DRM.
- Protocols
- 2
- Samples
- 4
- Network
- 0
- Downloads
- 0
What it is and what it is for
StreamGrab is an extension for Chrome, Edge, Brave, Opera, Vivaldi and Firefox that detects the video streams a page loads, including players that only expose a blob: URL (MSE, hls.js, dash.js, Video.js), and rebuilds them into a single MP4 with video and audio at the quality you choose.
It reads the manifest and downloads the segments directly, so the video does not need to be played. It supports HLS in MPEG-TS and fMP4/CMAF with separate audio, AES-128 encrypted HLS (decrypted with WebCrypto), DASH with its segment variants, extension-less manifests sniffed from fetch/XHR and CDNs that require Referer or Origin.
The output is a regular “faststart” MP4 (moov first, full sample tables and edit lists for A/V sync), not a fragmented file, so it shows its duration and seeks in every player. DRM (Widevine, PlayReady, FairPlay, SAMPLE-AES) is never bypassed: the extension says so.
When to use it
Saving your own or licensed content
Download a class, talk or recording of your own that the site only offers as a stream.
Understanding how a video is served
See which variants, codecs, audio tracks and protection an HLS or DASH manifest declares.
Debugging a player
Check whether a page uses MSE, which manifest it requests and whether the CDN requires special headers.
How it works
Detection
background.js watches requests with webRequest; inject-main.js, in the MAIN world, spots manifests inside fetch/XHR and MediaSource usage.
Analysis
src/core (xml, hls, dash, analyze) parses the manifest without browser APIs, so it also runs in Node.
Download and muxing
engine-host.js runs the download (offscreen document in Chrome) and mp4.js turns fMP4 into a faststart MP4.
What changes on pwn3d.es
- pwn3d.es integrates only the manifest analyser: paste an HLS or DASH manifest (or pick one of the 4 synthetic samples) and see variants, resolutions, codecs, audio, duration, segments and protection.
- No manifests or segments are downloaded, AES-128 is not decrypted, no MP4 is rebuilt and the extension is not installed: the page makes no network requests.
- Original limits: there is no size cap unless you set one, it cannot rebuild MSE without a fetchable manifest and it does not support WebM/VP9 DASH, HEVC in TS or packed-AAC HLS audio.
Installation and usage
Installation
git clone https://github.com/D1se0/StreamGrab.git
cd StreamGrab
npm ci && npm run buildChrome/Edge/Brave/Opera/Vivaldi: chrome://extensions → Modo desarrollador → Cargar descomprimida → dist/chrome
Firefox ≥140: about:debugging#/runtime/this-firefox → Cargar complemento temporal → dist/firefox/manifest.jsonUsage
npm run fixtures # ffmpeg genera HLS-TS, HLS AES-128, HLS-fMP4+audio y DASH
npm test # motor verificado con ffprobe, decodificación completa y sincronía A/V
npm run test:e2e # Chromium real + extensión + página hls.js/MSE + CDN con Referer
npm run lint:firefoxnpm run pack # dist/streamgrab-*.zipStack and dependencies
- JavaScript (MV3)
- Extension for Chromium browsers and Firefox
- mux.js
- MPEG-TS to MP4 transmuxing
- WebCrypto
- AES-128 segment decryption
- declarativeNetRequest
- Referer/Origin emulation for protected CDNs
- ffmpeg + ffprobe
- Fixture generation and output verification
- React + Vite
- Project website in website/
git · repository code
Explore the repository
Related tools
The original project belongs to D1se0 (MIT). The extension, ZIPs and binaries are not rehosted; the analyser uses synthetic manifests and links to the source.