Skip to content

v0.7.2: Reliability Fixes, npx @latest Setup & Stream Guards

Latest

Choose a tag to compare

@Ashutos1997 Ashutos1997 released this 29 Nov 06:34

🛠️ v0.7.2: Reliability Fixes, npx @latest Setup & Stream Guards

This patch release improves setup reliability, fixes several media-processing edge cases, and expands automated test coverage to 23 suites.

✨ Highlights & Fixes

  1. npx @latest Setup & Safe JSON Config Merging

    • Updated README.md, README.ko.md, and the setup CLI wizard (npx @ash_j1997/ffmpeg-mcp-server@latest setup) to pin @latest in client configs so npx refreshes past stale cached versions.
    • setup now refuses to overwrite malformed JSON config files (preserving existing MCP servers) and adds global Windsurf config detection.
    • Server version and setup banner now read dynamically from package.json.
  2. Media Processing Bug Fixes

    • trim_silence: Fixed start_end interval tracking so trailing silences longer than 2s are trimmed properly without cutting off speech after internal pauses.
    • detect_scenes: Generated contact sheets directly from the filtered scenes timestamps (minDurationSeconds-aware, capped at 24 tiles) so montages match the reported scene list.
    • media_convert & compress_video: Honored explicit crf values instead of silently overriding with fixed GPU bitrates; added fps support and multi-threaded libvpx-vp9 (-row-mt 1) for WebM exports.
    • concat_media: Safely handled "unknown" / "0/0" FPS metadata, clamped silent clip anullsrc duration, added -pix_fmt yuv420p and conditional -movflags +faststart, and reported duration for lossless progress tracking.
    • trim_media: Rejected conflicting endTime + duration arguments and selected container-appropriate audio codecs during audio-only accurateReencode.
  3. Hardware Probing, Stream Guards & Diagnostics

    • Updated hardware encoder probing to use 256x256 yuv420p frames instead of 16x16 and avoided caching failed binary probes.
    • Added upfront video/audio stream guards across extract_keyframes, reformat_aspect_ratio, burn_subtitles, add_overlay, create_split_screen, detect_scenes, and mux_media.
    • Updated ffmpeg_doctor to skip encoder/filter probing when ffmpeg is missing from PATH.
    • Unreferenced and cleared the fallback SIGKILL escalation timer cleanly in process cancellation/timeout handling.

✅ Verification

  • All 23 test suites pass (npm test), including new regression checks for trailing silence, filtered multi-scene contact sheets, explicit CRF/FPS flags, stream guards, and setup JSON safety.