{"id":51520066,"url":"https://github.com/darkruss48/usm-toolkit","last_synced_at":"2026-07-08T15:01:32.094Z","repository":{"id":366007751,"uuid":"1140056402","full_name":"darkruss48/usm-toolkit","owner":"darkruss48","description":"Cross-platform C++ tool to convert CRI Middleware USM video files to MP4, and other formats.","archived":false,"fork":false,"pushed_at":"2026-06-19T20:19:34.000Z","size":39,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T22:09:31.560Z","etag":null,"topics":["cpp","criware","mp4","usm"],"latest_commit_sha":null,"homepage":"","language":"C++","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/darkruss48.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-01-22T19:13:10.000Z","updated_at":"2026-06-19T20:15:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/darkruss48/usm-toolkit","commit_stats":null,"previous_names":["darkruss48/usm-toolkit"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/darkruss48/usm-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkruss48%2Fusm-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkruss48%2Fusm-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkruss48%2Fusm-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkruss48%2Fusm-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkruss48","download_url":"https://codeload.github.com/darkruss48/usm-toolkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkruss48%2Fusm-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35268549,"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-07-08T02:00:06.796Z","response_time":61,"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":["cpp","criware","mp4","usm"],"created_at":"2026-07-08T15:01:31.272Z","updated_at":"2026-07-08T15:01:32.088Z","avatar_url":"https://github.com/darkruss48.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# USM Toolkit\n\nCross-platform C++ tool to convert CRI Middleware USM video files to MP4.\n\n## Features\n\n- Convert VP9 USM files to MP4 (native pipeline, no FFmpeg needed)\n- Re-encode VP9 to H.264 via FFmpeg for WMP/player compatibility (`--reencode`)\n- Non-VP9 streams handled by FFmpeg\n- Supports batch processing of directories\n- Works on Windows and Linux\n\n## Status\n\n| Feature | Status |\n|---------|--------|\n| VP9 -\u003e MP4 (native) | Working, tested |\n| `--reencode` VP9 -\u003e H.264 | Working, tested |\n| ADX/HCA audio decode + mux | Code exists, **untested** (no VP9+audio USM available) |\n| Non-VP9 -\u003e MP4 (FFmpeg) | Working, tested |\n\n## Requirements\n\n- C++17 compiler (GCC 8+, Clang 7+, MSVC 2019+)\n- CMake 3.16+\n- FFmpeg (required for non-VP9 streams and `--reencode` mode)\n\n## Building\n\n### Windows\n\n```powershell\ncmake -B build\ncmake --build build --config Release\n```\n\nExecutable: `build/Release/usm_toolkit.exe`\n\n### Linux\n\n```bash\n./build.sh\n```\n\nExecutable: `build_linux/usm_toolkit`\n\n## Usage\n\n```bash\n# Convert VP9 to MP4 (native, fast)\nusm_toolkit convert video.usm\n\n# Re-encode to H.264 (WMP compatible, slower)\nusm_toolkit convert video.usm -r\n\n# Extract raw streams\nusm_toolkit extract video.usm\n\n# Specify output directory\nusm_toolkit convert video.usm -o output/\n\n# Convert and cleanup temp files\nusm_toolkit convert video.usm -c\n```\n\n## Options\n\n| Option | Description |\n|--------|-------------|\n| `-o, --output-dir \u003cdir\u003e` | Output directory |\n| `-c, --clean` | Remove temporary .m2v and audio files |\n| `-r, --reencode` | Re-encode VP9 to H.264 via FFmpeg (WMP compatible) |\n\n## How it works\n\nVP9 USM files are converted natively by:\n1. Demuxing the CRI USM container (CriUsmStream)\n2. Parsing IVF-wrapped VP9 frames (IvfParser)\n3. Muxing into ISO BMFF (MP4) with vpcC codec config (NativeMp4Muxer)\n\nADX/HCA audio decoding to L16 PCM is implemented but not yet validated on real VP9+audio files.\n\nUse `--reencode` to transcode VP9 to H.264 for maximum player compatibility (requires FFmpeg).\n\nNon-VP9 streams fall through to FFmpeg.\n\n## Credits\n\n- [UsmToolkit](https://github.com/Rikux3/UsmToolkit) - Original C# implementation\n- [VGMToolbox](https://github.com/snakemeat/VGMToolbox) by snakemeat - USM parsing library\n- [nlohmann/json](https://github.com/nlohmann/json) - JSON parser (bundled in third_party/)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkruss48%2Fusm-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkruss48%2Fusm-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkruss48%2Fusm-toolkit/lists"}