bdinfo-rs

agentjp·agentjp.bdinfo-rs

Memory-safe, zero-C-dependency Rust Blu-ray disc analyzer — a drop-in BDInfo report tool for BDMV folders and .iso images.

bdinfo-rs is a memory-safe, statically-linked command-line Blu-ray disc analyzer and a drop-in replacement for the classic BDInfo tool. It scans BDMV folders and .iso images (playlists, clips, M2TS demux) and produces the classic human-readable disc report with per-stream video and audio specs: codecs, measured bitrates, resolution, HDR, Dolby Vision, and HDR10+. It ships as a single static binary with no runtime, no DLLs, and zero C dependencies.

winget install --id agentjp.bdinfo-rs --exact --source winget

Latest 5.0.0·November 10, 2026

Release Notes

Release Notes ⚠ BREAKING CHANGES

  • core: TsStreamClipFile.streams is a Vec in clip-info declaration order instead of a PID-keyed BTreeMap, and the struct is #[non_exhaustive]. Migration: iterate the vector, or search it by pid, where a caller indexed the map. BdRom::full_size is deprecated: the report prints BdRom::size. (#604)
  • report: stream rows follow BDInfo's default order — video, audio, graphics, text, each kind in clip-info declaration order — so a disc whose clip info declares its streams out of PID order prints its rows in a different order than 4.0.0 did. (#604) Fixes
  • report: Disc Size no longer counts the interleaved .ssif files of a 3D disc. An .ssif shares its sectors with the .m2ts files it interleaves, so every 3D title printed roughly twice its size — in the report, the desktop app and the web demo. (#586, #592)
  • report: the video rows of a 3D playlist carry Left Eye and Right Eye, swapped when the playlist's MVC_Base_view_R flag is set. Only AVC and MVC rows are labelled. (#593, #604)
  • bdrom: on a 3D clip the MVC dependent view follows every declared video row, the CHAPTERS table measures the first declared video stream, and a 3D clip the scan never measured is named by its .ssif. (#604)
  • bdrom: PGS caption counts are the sum over every measured clip of the playlist, angle clips and repeated clips included, as the BDInfo 0.8 app counts them; a multi-clip feature printed the tally of one clip. Picture-in-picture subtitle rows are no longer marked hidden, and a scanned embedded audio core always replaces the merged one. (#604)
  • m2ts: three demux measurements match BDInfo — PES timestamps decode to 32 bits, so a clip whose timestamps pass 13 h 15 m matches its playlist window instead of measuring 0; the end-of-file flush walks the video streams in PMT registration order; and a read that ends inside a skipped packet resumes where BDInfo 0.8 resumes, at every 5 MiB file offset. (#602)
  • codec: HEVC HDR metadata follows BDInfo's rules — mastering-display primaries are assigned to R/G/B by value, a 0xFFFF coordinate prints the luminance line alone, HDR10+ needs application version 0 or 1 and one window, the Dolby Vision label needs a mastering display, and the mastering, luminance and MaxCLL/MaxFALL fragments no longer need an SPS. (#603)
  • codec: a reduced-rate E-AC-3 frame prints the ETSI TS 102 366 bit rate, and a frame with block code 0 prints no bit rate where 4294967295 kbps was printed. (#603)
  • cli: the disc label comes from the absolute path, so a relative path given inside the disc folder, its BDMV folder or BDMV/STREAM names the disc after its root directory. The report file name deletes illegal characters instead of replacing them with an underscore, negative times print their magnitude, and the playlist table counts angle clips in Measured Bytes. (#613)
  • gui: Detected Features lists the features in BDInfo's order, with BD+ Copy Protection. (#613)
  • bdrom: a damaged playlist or clip-information file keeps what was parsed before the failure — clips, stream entries and chapter marks — instead of being dropped whole, and a play item naming a missing clip-information file ends the playlist before that clip. BDMV/BACKUP recovery applies only when the primary yields nothing. Every failure is still recorded in the WARNING block, which prints the file name in upper case. (#614)
  • clpi: a clip-information file that declares one stream PID twice in a program sequence stops parsing at the second declaration and keeps the streams before it; the browser package reports the new error kind as duplicatePid. (#615)
  • packaging: the GUI AppImage bundles the windowing libraries the binary loads at runtime (libxkbcommon-x11, libXcursor and the rest of the X11/Wayland set not on the AppImage excludelist), so it starts on a host that lacks them instead of panicking at launch. (#505)
  • packaging: the GUI AppImage carries its AppStream metadata as .appdata.xml, the one name appimagetool and the AppImageHub catalog read. (#622)
  • release: a crates.io version that is already published no longer fails the publish job. (#390) Differences from BDInfo DIFFERENCES.md gains or corrects these entries:
  • 3D: eye labels on a 50 Hz disc, eye labels only on AVC and MVC streams, and the Disc Size BDInfo 0.8.0.1 doubles on a 3D .iso.
  • Subtitles: PGS caption counts summed over every clip — the BDInfo 0.8 app's number, not the one 0.7.5.6 and the 0.8 library ports print.
  • Demux: the true scope of the backwards-PTS rule (every variable bit rate, by a few kbps on a feature), the signed interval on a backwards timestamp, the unknown PMT stream type, the oversized adaptation field, and the 5 MiB read emulation.
  • HEVC: the profile_tier_level sub-layer skip, the per-stream HDR10+ flag, the SEI message alignment, and HDR10+ from a T.35 message without a mastering display.
  • Audio: the DTS-HD High-Res total moves with the DTS core rate (3018 to 3045 kbps), DTS:X IMAX also matches 0xF14000D1, and the reduced-rate E-AC-3 entry is corrected.
  • Disc structures BDInfo misreads: a new section of nine — secondary and picture-in-picture stream declarations, angle copies of a hidden video stream, MPLS0240 / HDMV0240 files, FMTS play items, several program sequences in one clip info, header type 4 stream entries, directory names in any case, chapter-mark edge cases, and a playlist without a video stream.
  • Damaged media: no sticky scan exception, damaged metadata, and a corrected read-errors entry.
  • Layout: the angle block, the playlist banner, the disc label of a non-UDF Windows drive root, and the desktop app's feature order and stream pane. Install bdinfo-rs 5.0.0 Install prebuilt binaries via shell script curl --proto '=https' --tlsv1.2 -LsSf https://github.com/agentjp/bdinfo-rs/releases/download/v5.0.0/bdinfo-rs-installer.sh | sh Install prebuilt binaries via powershell script powershell -ExecutionPolicy Bypass -c "irm https://github.com/agentjp/bdinfo-rs/releases/download/v5.0.0/bdinfo-rs-installer.ps1 | iex" Install prebuilt binaries via Homebrew brew install agentjp/tap/bdinfo-rs Download bdinfo-rs 5.0.0 ────────────────────────────────────────────────┬───────────────────┬───────────── File │Platform │Checksum ────────────────────────────────────────────────┼───────────────────┼───────────── bdinfo-rs-aarch64-apple-darwin.tar.gz │Apple Silicon macOS│checksum ────────────────────────────────────────────────┼───────────────────┼───────────── bdinfo-rs-x86_64-apple-darwin.tar.gz │Intel macOS │checksum ────────────────────────────────────────────────┼───────────────────┼───────────── bdinfo-rs-aarch64-pc-windows-msvc.zip │ARM64 Windows │checksum ────────────────────────────────────────────────┼───────────────────┼───────────── bdinfo-rs-x86_64-pc-windows-msvc.zip │x64 Windows │checksum ────────────────────────────────────────────────┼───────────────────┼───────────── bdinfo-rs-aarch64-unknown-linux-musl.tar.gz │ARM64 MUSL Linux │checksum ────────────────────────────────────────────────┼───────────────────┼───────────── bdinfo-rs-x86_64-unknown-linux-musl.tar.gz │x64 MUSL Linux │checksum ────────────────────────────────────────────────┴───────────────────┴───────────── Verifying GitHub Artifact Attestations The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI: gh attestation verify --repo agentjp/bdinfo-rs You can also download the attestation from GitHub and verify against that directly: gh attestation verify --bundle --repo agentjp/bdinfo-rs

Installer type: zip

x64—A791BF8DE42A6717F44C63BACEBF4EDD346F050012E45DDC9A56B20A022EAAC9
arm64—A6B931929BBEC4BD082F1F4E44F2D554431E60D56BF37B39BC54E5C924AA07BD

Details

Homepage
https://github.com/agentjp/bdinfo-rs
License
LGPL-2.1
Publisher
agentjp
Support
https://github.com/agentjp/bdinfo-rs/issues
Moniker
bdinfo-rs

Tags

bdinfobdmvblu-rayclidolby-visionhdrm2tsmemory-safetyno-unsaferust

Older versions (6)

4.0.0
x64—2A6FE4207B16249A6E565CCC6F9F0BEF87994181E2F409BD09462FF426738F71
arm64—322054183944FE070BD5377B3B8B2E006D81D2E880D0E49173C9F356A5BE0828
3.0.0
x64—5ED25D5783090DB14BABEFEF92158ECB603BC819D5AFA503B38A79CEE122E720
arm64—EC7737E0E4A9EA21669027F4CD3FCCC30625E59B5882845828273C7D10CB17EB
2.0.0
x64—FD823C86A19AD15E5B209C15E13BD43F87554857B06D22E84BD94C52E749DFF1
arm64—59AA3D2C15A92A540DF5C3CD9AF6CA5F235BF43F5581D86755DC3E7967C6B03B
1.2.0
x64—99400E3273AF50E09F7A22617F5CE1A6DECC467C16F7092FA52282D9757F9E43
arm64—D24889C591E47B4F5B830ED12CA2571354108189CF60EDE0CA175BF34C89DC0B
1.1.0
x64—E37E9260860AD55F104A0D4D1239E74D6C5548069401278AFA57026E28C4121B
arm64—8DB8E9A3C6B804A9BD92D13C04DFBFA2E9B8AAAB1FC6D45C41684A4A48FEDB5E
1.0.0
x64—67D985FF04FCA9CC750C2CC10279E673F4779518C8386B9EC2CEC043EE01BE92
arm64—6127CD51757001A83162D162818D1BE8D58006D66318FB0EB0AE33D967C17F46