Repository navigation
🛠️ 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
-
npx @latestSetup & Safe JSON Config Merging- Updated README.md, README.ko.md, and the
setupCLI wizard (npx @ash_j1997/ffmpeg-mcp-server@latest setup) to pin@latestin client configs sonpxrefreshes past stale cached versions. setupnow 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.
- Updated README.md, README.ko.md, and the
-
Media Processing Bug Fixes
trim_silence: Fixedstart_endinterval 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 filteredscenestimestamps (minDurationSeconds-aware, capped at 24 tiles) so montages match the reported scene list.media_convert&compress_video: Honored explicitcrfvalues instead of silently overriding with fixed GPU bitrates; addedfpssupport and multi-threadedlibvpx-vp9(-row-mt 1) for WebM exports.concat_media: Safely handled"unknown"/"0/0"FPS metadata, clamped silent clipanullsrcduration, added-pix_fmt yuv420pand conditional-movflags +faststart, and reported duration for lossless progress tracking.trim_media: Rejected conflictingendTime+durationarguments and selected container-appropriate audio codecs during audio-onlyaccurateReencode.
-
Hardware Probing, Stream Guards & Diagnostics
- Updated hardware encoder probing to use
256x256yuv420pframes instead of16x16and 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, andmux_media. - Updated
ffmpeg_doctorto skip encoder/filter probing whenffmpegis missing fromPATH. - Unreferenced and cleared the fallback
SIGKILLescalation timer cleanly in process cancellation/timeout handling.
- Updated hardware encoder probing to use
✅ 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.