• 0.2.0 5379b4c020

    pmp-cli 0.2.0
    Some checks failed
    Build Binaries / build-windows (push) Has been cancelled
    Build Binaries / build-linux (push) Has been cancelled
    Build Binaries / build-macos (push) Has been cancelled
    Stable

    entitybtw released this 2026-10-17 14:33:10 +03:00 | 1 commits to main since this release

    0.2.0 (2026-10-17)

    Hardware-verified PSP bitstream + container-level compress pipeline.

    Fixed (real hardware)

    • PSP hang: baseline/CAVLC encodes freeze the real Media Engine ~5 s in
      (first mid-GOP IDR; ffmpeg/PPSSPP still play them fine). Default is now
      Main/CABAC with HRD VUI + per-frame pic_timing SEIs, matching all
      ME-tested XviD4PSP reference PMPs. Verified on PSP Go (N1000, ARK-5):
      full playback past the former hang point, A/B vs reference identical.
    • --psp-compat x264 patch: widen log2_max_poc_lsb to 10 (ME hangs on
      the 4-bit MSB wraparound), skip x264's 600-byte version SEI.
    • Audio/video sync: delays recomputed from the reference
      time_math.pm invariant (first_delay + audio_span + last_delay == frame_duration) instead of global positions.

    Added

    • decode command: PMP → MP4 for checking on the PC.
    • Container-level compress: no MP4 round trip; --stream video|audio|both,
      audio frames stay byte-identical unless re-encoded; atomic --replace
      in batch (temp file + swap).
    • Native x264 with --psp-compat (bin/x264), wine no longer needed.
    • --profile/--preset wired into the native x264 path (both were dead
      arguments); --cabac forced after any preset; batch honours
      --preset (faster ≈ 700 fps, slow = XviD4PSP HQ Extreme knobs).
    • HRD defaults --nal-hrd vbr --vbv 10000/10000 (values decoded from all
      11 reference PMPs); ffmpeg fallback matches.
    • Reference-player warning suite: header fields, aud_max_frames, delays,
      AUD order, oversized AUs (> 256 KiB ME buffer).

    Changed

    • Dropped the bogus fps > 25 warning (references are 29.97).
    • Docs: docs/FORMAT.md (container + ME bitstream rules + hardware
      debugging links), docs/USAGE.md (guide, CRF/preset ladders); README
      overhaul; "use baseline" troubleshooting advice removed (it hangs ME).

    Housekeeping

    • Removed the bundled output.mp4 demo from the repository history.

    Builds (CI): https://github.com/entitybtw/pmp-cli/releases/tag/0.2.0 — pmp-cli.exe (Windows x64), pmp-cli-bin (Linux x86_64), pmp-cli-macos (macOS arm64)

    Downloads
    • psp-compat.patch
      1 download · 2026-10-17 13:51:33 +03:00 · 4.8 KiB
    • x264
      0 downloads · 2026-10-17 13:51:32 +03:00 · 1.9 MiB
  • 0.1 ff0db84af5

    pmp-cli 0.1 Stable

    entitybtw released this 2026-08-08 08:53:38 +03:00 | 22 commits to main since this release

    Downloads
    • pmp-cli-bin
      12 downloads · 2026-08-08 08:53:36 +03:00 · 10 MiB