{"id":13906655,"url":"https://github.com/stephan-gh/hlsdump","last_synced_at":"2025-10-26T10:30:34.718Z","repository":{"id":143903697,"uuid":"176991559","full_name":"stephan-gh/hlsdump","owner":"stephan-gh","description":"Simple command line tool for dumping HTTP Live Streaming (HLS) streams (live or VOD) as-is with no transformations","archived":false,"fork":false,"pushed_at":"2021-05-08T12:48:37.000Z","size":11,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T19:16:08.484Z","etag":null,"topics":["audio","go","hls","http","streaming","video"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephan-gh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-03-21T17:15:12.000Z","updated_at":"2024-01-11T20:23:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"485ea310-d59a-4053-bff9-112d64e599f3","html_url":"https://github.com/stephan-gh/hlsdump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephan-gh%2Fhlsdump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephan-gh%2Fhlsdump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephan-gh%2Fhlsdump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephan-gh%2Fhlsdump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephan-gh","download_url":"https://codeload.github.com/stephan-gh/hlsdump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238310135,"owners_count":19450798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","go","hls","http","streaming","video"],"created_at":"2024-08-06T23:01:40.052Z","updated_at":"2025-10-26T10:30:34.403Z","avatar_url":"https://github.com/stephan-gh.png","language":"Go","readme":"# hlsdump\nhlsdump is a simple command line tool that allows dumping [HTTP Live Streaming (HLS)] streams (live or VOD)\nas-is with no transformations like transcoding or repacking to another video/audio container format. This can\nbe used to fully dump a HLS stream for later investigation.\n\n**Note:** hlsdump does not know anything about particular video/audio containers or codecs, it just understands\nthe HLS playlist format and downloads all segments it can find.\n\n## Building\nhlsdump is written in Go and can be built using `go build`. Then, simply run `./hlsdump` (or `hlsdump.exe` on Windows).\n\nCheck `./hlsdump -help` to see all available command line options.\n\n## Example\nApple (the original developer of HLS) provides some example streams at: https://developer.apple.com/streaming/examples/\n\nTo dump the [\"basic stream\"](https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html)\nusing hlsdump, you would use `./hlsdump https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8`.\nNote that this will create many many small files in the current directory since each segment is stored in a separate file.\n\nTo avoid that, the one and only transformation that hlsdump supports is to use the `EXT-X-BYTERANGE` feature\nto store all segments in a single file. You can enable that using the `-single-file` parameter.\n\nhlsdump will then download the master playlist and all available streams (different video resolutions, audio qualities, ...).\nThe downloaded stream playlists `.m3u8` next to a audio/video file can be typically also played with players like [VLC] or [mpv],\nor further transformed using [ffmpeg].\n\n**Note:** The master playlist is also dumped to the current directory, but currently it is not transformed to point to the downloaded\nstream playlists. It can be easily edited with a text editor to point there, though.\n\n[VLC]: https://www.videolan.org/vlc/\n[mpv]: https://mpv.io/\n[ffmpeg]: https://ffmpeg.org/\n[HTTP Live Streaming (HLS)]: https://en.wikipedia.org/wiki/HTTP_Live_Streaming\n","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephan-gh%2Fhlsdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephan-gh%2Fhlsdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephan-gh%2Fhlsdump/lists"}