{"id":51224981,"url":"https://github.com/srmdn/dlmac","last_synced_at":"2026-06-28T10:30:34.775Z","repository":{"id":366199644,"uuid":"1275402756","full_name":"srmdn/dlmac","owner":"srmdn","description":"macOS CLI wrapper for yt-dlp and ffmpeg — download online media and extract audio from local video files","archived":false,"fork":false,"pushed_at":"2026-06-20T19:37:11.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-28T10:30:34.026Z","etag":null,"topics":["audio-extractor","bash","cli","dlmac","ffmpeg","gpl-v3","macos","media-downloader","online-media","youtube-downloader","yt-dlp"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srmdn.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-20T16:36:04.000Z","updated_at":"2026-06-20T19:37:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/srmdn/dlmac","commit_stats":null,"previous_names":["srmdn/ytmac"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srmdn/dlmac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srmdn%2Fdlmac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srmdn%2Fdlmac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srmdn%2Fdlmac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srmdn%2Fdlmac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srmdn","download_url":"https://codeload.github.com/srmdn/dlmac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srmdn%2Fdlmac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34885801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-extractor","bash","cli","dlmac","ffmpeg","gpl-v3","macos","media-downloader","online-media","youtube-downloader","yt-dlp"],"created_at":"2026-06-28T10:30:34.329Z","updated_at":"2026-06-28T10:30:34.769Z","avatar_url":"https://github.com/srmdn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dlmac\n\nmacOS CLI wrapper for [yt-dlp](https://github.com/yt-dlp/yt-dlp) and [ffmpeg](https://ffmpeg.org). Download online media and extract audio from local video files.\n\n## Requirements\n\n- macOS\n- [Homebrew](https://brew.sh)\n- yt-dlp\n- ffmpeg\n\n## Installation\n\n```bash\ngit clone https://github.com/srmdn/dlmac.git\ncd dlmac\n./install.sh\n```\n\n`install.sh` checks dependencies and offers to install missing ones via Homebrew.\n\n## Usage\n\n```\ndlmac info \u003curl\u003e                    Show video metadata\ndlmac formats \u003curl\u003e                 Show available formats\ndlmac video \u003curl\u003e                   Download best video (mp4)\ndlmac video \u003curl\u003e --quality 360p    Download best video up to 360p\ndlmac video \u003curl\u003e --quality 480p    Download best video up to 480p\ndlmac video \u003curl\u003e --quality 720p    Download best video up to 720p\ndlmac video \u003curl\u003e --quality 1080p   Download best video up to 1080p\ndlmac audio \u003curl\u003e                   Download best audio (mp3)\ndlmac audio \u003curl\u003e --format mp3      Download audio as mp3\ndlmac audio \u003curl\u003e --format m4a      Download audio as m4a\ndlmac audio \u003curl\u003e --format wav      Download audio as wav\ndlmac convert \u003cfile\u003e --to mp3       Extract audio from video to mp3\ndlmac convert \u003cfile\u003e --to m4a       Extract audio from video to m4a\ndlmac convert \u003cfile\u003e --to wav       Extract audio from video to wav\n```\n\nAll downloads saved to `./downloads/`.\n\n## Examples\n\n```bash\n# Get video info\n./dlmac info \"https://example.com/video\"\n\n# Download video at 720p\n./dlmac video \"https://example.com/video\" --quality 720p\n\n# Download audio as mp3\n./dlmac audio \"https://example.com/video\" --format mp3\n\n# Extract audio from local video\n./dlmac convert myvideo.mp4 --to mp3\n```\n\n## Compatibility\n\n**Video downloads produce H.264 video with AAC audio in an MP4 container.**\nThis is the format QuickTime, Safari, and Apple's media framework expect.\n\nIf the source offers H.264+AAC natively, dlmac downloads it directly with\nzero re-encoding — fast and lossless. If H.264+AAC is unavailable, dlmac\nautomatically re-encodes the output with ffmpeg.\n\nPlayers like VLC, IINA, and mpv can play any codec combination. The H.264+AAC\npreference only matters for QuickTime and Apple apps.\n\n## Troubleshooting\n\n**QuickTime can't open the file**\nThe output is already H.264+AAC and should work with QuickTime. If you\nstill have issues, check that ffmpeg is installed (`brew install ffmpeg`)\nand that your yt-dlp is up to date (`brew upgrade yt-dlp`).\n\n**No H.264 formats available**\nSome videos (particularly at 1080p and above) only offer VP9/AV1 video.\ndlmac falls back to whatever is available and re-encodes automatically.\nYou'll see a \"Re-encoding to H.264+AAC\" message during download.\n\n**\"Re-encoding to H.264+AAC\" message appears**\nThis is normal when the source doesn't provide H.264+AAC natively.\nThe download will take longer because ffmpeg must re-encode the entire\nvideo. The result is still a QuickTime-compatible MP4.\n\n## Limitations\n\n- macOS only\n- No playlist support\n- No interactive format selector\n- No login/cookie support\n- Quality depends on source video availability; falls back to best available\n  below the requested resolution\n\n## Legal \u0026 Ethical Notice\n\ndlmac is a general-purpose media downloader built on yt-dlp. It does not\ndiscriminate by platform — any URL yt-dlp supports will work. However, not\nall platforms permit downloading.\n\n**You are responsible for**:\n- Ensuring you have the right to download the content\n- Checking each platform's terms of service before downloading\n- Respecting copyright, licensing, and applicable laws in your jurisdiction\n\n**What dlmac does NOT do**:\n- Bypass DRM, paywalls, or access restrictions\n- Store or transmit login credentials (no cookie/auth support)\n- Access private, unlisted, or members-only content\n- Circumvent platform rate limits or anti-bot measures\n\n**Platform policies vary.** Each platform has its own terms of service\nregarding downloads. Check the relevant policies before downloading.\ndlmac does not encourage violating any platform's policies — it simply\npasses your URL to yt-dlp. The choice of what to download is yours, and\nso is the responsibility.\n\nIf you are unsure whether downloading specific content is legal in your\ncountry or permitted by the platform, consult a legal professional.\n\n## License\n\nGPL-3.0-or-later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrmdn%2Fdlmac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrmdn%2Fdlmac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrmdn%2Fdlmac/lists"}