{"id":51220832,"url":"https://github.com/namazso/tape-decode-rs","last_synced_at":"2026-06-28T07:02:36.343Z","repository":{"id":363204636,"uuid":"1261486813","full_name":"namazso/tape-decode-rs","owner":"namazso","description":"Extract video from RAW RF captures of colour-under \u0026 composite modulated tapes","archived":false,"fork":false,"pushed_at":"2026-06-16T18:50:46.000Z","size":1060,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-06-16T20:26:38.306Z","etag":null,"topics":["archival","signal-processing","tape","vhs","vhs-decode","vhs-digitizing","vhs-tape"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/namazso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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-06T18:51:11.000Z","updated_at":"2026-06-16T18:51:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/namazso/tape-decode-rs","commit_stats":null,"previous_names":["namazso/tape-decode-rs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/namazso/tape-decode-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namazso%2Ftape-decode-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namazso%2Ftape-decode-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namazso%2Ftape-decode-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namazso%2Ftape-decode-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namazso","download_url":"https://codeload.github.com/namazso/tape-decode-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namazso%2Ftape-decode-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34880189,"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":["archival","signal-processing","tape","vhs","vhs-decode","vhs-digitizing","vhs-tape"],"created_at":"2026-06-28T07:02:34.864Z","updated_at":"2026-06-28T07:02:36.328Z","avatar_url":"https://github.com/namazso.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tape-decode\n\nA decoder for analog tape formats, written in Rust. Ported from the [vhs-decode](https://github.com/oyvindln/vhs-decode) project, commit [fe3f6099](https://github.com/oyvindln/vhs-decode/commit/fe3f6099e9e6a77295f26585598f658f2d926bb4).\n\n## Installation\n\n### From source\n\nUse nightly Rust for best performance builds.\n\n```bash\nRUSTFLAGS=\"-C target-cpu=native\" cargo build --release\n```\n\n### Pre-built binaries\n\nPre-built binaries for x86-64 and aarch64 Windows and Linux (glibc) are available in Releases. For x86-64, ensure you use the correct one for your [CPU feature level](https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels).\n\n## Usage\n\n```bash\ntape-decode --help\n```\n\n### Examples\n\n**List available profiles**\n\n```bash\ntape-decode list-profiles\n```\n\nOutput:\n\n```text\n405_BETAMAX\n819_QUADRUPLEX\nMESECAM_VHS\n...\n```\n\n**Decode a 40 MHz PAL VHS tape from `capture.flac`**\n\n```bash\ntape-decode decode \\\n  --luma-out decoded.tbc \\\n  --chroma-out decoded_chroma.tbc \\\n  --metadata-out decoded.tbc.json \\\n  --profile PAL_VHS \\\n  --frequency 40 \\\n  --input-format flac \\\n  capture.flac\n```\n\n**Decode a 16 MHZ NTSC VHS tape from `capture.u8`, with 16 threads and 60 field per-thread offset**\n\n```bash\ntape-decode decode \\\n  --luma-out decoded.tbc \\\n  --chroma-out decoded_chroma.tbc \\\n  --metadata-out decoded.tbc.json \\\n  --profile NTSC_VHS \\\n  --frequency 16 \\\n  --mt-threads 16 \\\n  --mt-distance-size 60 \\\n  capture.u8\n```\n\n**Livestream 40 MHz PAL VHS from `/dev/cxadc0`**\n\n```bash\ncat /dev/cxadc0 \\\n  | tape-decode decode \\\n    --luma-out - \\\n    --profile PAL_VHS \\\n    --frequency 40 \\\n    --mt-threads 16 \\\n    --mt-distance-size 60 \\\n    - \\\n  | ffmpeg \\\n    -f rawvideo \\\n    -pixel_format gray16le \\\n    -video_size 1135x626 \\\n    -r 25 \\\n    -i - \\\n    -f yuv4mpegpipe \\\n    -filter:v \"format=yuv444p\" \\\n    - \\\n  | mpv -\n```\n\n## Using in your project\n\nThe tape-decode crate hosting the main decoder can be used as a library in your Rust project. You can also use a `cdylib` to call the decoder from other languages.\n\n## License\n\nThis project is based on vhs-decode, which is licensed under GPL-3.0. The Rust port is also licensed under GPL-3.0. See [COPYING](COPYING) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamazso%2Ftape-decode-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamazso%2Ftape-decode-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamazso%2Ftape-decode-rs/lists"}