{"id":20653269,"url":"https://github.com/ldm0/rspleeter","last_synced_at":"2025-10-08T17:35:31.714Z","repository":{"id":37240059,"uuid":"500197143","full_name":"ldm0/rspleeter","owner":"ldm0","description":"Rust implementation of Spleeter","archived":false,"fork":false,"pushed_at":"2022-12-15T04:04:35.000Z","size":26,"stargazers_count":116,"open_issues_count":1,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T06:51:16.643Z","etag":null,"topics":["ffmpeg","multimedia","rust","spleeter"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ldm0.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}},"created_at":"2022-06-05T19:51:21.000Z","updated_at":"2025-03-10T08:56:35.000Z","dependencies_parsed_at":"2023-01-29T02:01:10.744Z","dependency_job_id":null,"html_url":"https://github.com/ldm0/rspleeter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldm0%2Frspleeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldm0%2Frspleeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldm0%2Frspleeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldm0%2Frspleeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldm0","download_url":"https://codeload.github.com/ldm0/rspleeter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249606030,"owners_count":21298848,"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":["ffmpeg","multimedia","rust","spleeter"],"created_at":"2024-11-16T17:42:19.972Z","updated_at":"2025-10-08T17:35:31.693Z","avatar_url":"https://github.com/ldm0.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rspleeter\n\nSplit a song into vocals and accompaniments, taking advantage of machine learning.\n\nRust implementation of [`spleeter`](https://github.com/deezer/spleeter). One of the [`rsmpeg`](https://github.com/larksuite/rsmpeg) demos.\n\nInspired by:\n- https://github.com/deezer/spleeter\n- https://github.com/wudicgi/SpleeterMsvcExe\n- https://github.com/gvne/spleeterpp\n\nMSRV: `1.59.0`\n\nYou can check the examples we provided.\n\n- Original: \u003chttps://ldm0.github.io/assets/ten_years.mp3\u003e\n- Vocal: \u003chttps://ldm0.github.io/assets/ten_years-vocals.mp3\u003e\n- Accompaniment: \u003chttps://ldm0.github.io/assets/ten_years-accompaniment.mp3\u003e\n\n## Getting started\n\n**Attention**: For Windows developers, get prebuilt FFmpeg from the release page or manually cross compile FFmpeg is needed. If you are using Windows, read the next section first.\n\n\n```bash\n# Install `nasm` and `libmp3lame`.\n# macOS\nbrew install nasm lame\n# Linux\nsudo apt install nasm libmp3lame-dev\n\n# Prepare pre-trained models\ncurl -L -O https://github.com/ldm0/rspleeter/releases/download/0.1.0-models/models.zip\n\nunzip models.zip -d models\n\n# Get a test song.\ncurl -L -O https://ldm0.github.io/assets/ten_years.mp3\n\n# Split the tests song with 2stems model, the output folder is `target/ten_years`.\n# Run `cargo xtask run --release -- --help` for more options.\ncargo xtask run --release -- ten_years.mp3 target/ten_years\n```\n\nThen play the `target/ten_years/accompaniment.mp3`, have fun!\n\n## FFmpeg dylib\n\nIf you find building ffmpeg annoying, you can skip it by using prebuilt FFmpeg. Download prebuilt FFmpeg artifacts from the release page, decompress it and put it under the source folder. (e.g. `./prebuilt_ffmpeg/lib/libffmpeg.dylib`).\n\nWhen `cargo xtask` find the prebuilt FFmpeg artifacts, it will link against it and skip the FFmpeg building.\n\nIf you want to build it manually, check this [doc](doc/build_ffmpeg_dylib_manually.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldm0%2Frspleeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldm0%2Frspleeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldm0%2Frspleeter/lists"}