Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Microsoft Smooth Streaming downloader #8118
Comments
|
I suspect http://research.microsoft.com/apps/tools/tuva also uses this and would be a worthwhile target for youtube-dl. |
|
Here's smooth-dl written in Python. Maybe that could be used as a basis. Haven't checked to see if it's actually working though. |
|
It can't until released under unlicense. |
Smooth Streaming (SSTR) is a protocol for media streaming over HTTP, created by Microsoft. It isn't terribly popular, but sometimes it's the only option available (see #1753, #7096).
SSTR is superficially similar to other manifest-based media streaming formats: there's an XML file which describes what streams are available and a URL pattern of media fragments. A single manifest may directly describe multiple versions of multiple audio streams and multiple video streams; this may make it a bit harder to support, given that youtube-dl seems to assume each stream has its own URL. Stream fragments are in the series-of-boxes format known from MP4 files; however mere concatenation doesn't yield a playable file, because certain crucial boxes are missing (including those containing codec parameters, which are stored in the manifest).
Since FFmpeg doesn't contain a SSTR (pseudo-)demuxer, a custom downloader will have to be written. The downloader should probably synthesise a single-stream media file and leave multiplexing to FFmpeg (like it's done with YouTube DASH).
Some documentation:
Example video: http://mediadl.microsoft.com/mediadl/iisnet/smoothmedia/Experience/BigBuckBunny_720p.ism/Manifest