Skip to content

0.1.3

Choose a tag to compare

@isamu isamu released this 10 May 05:44
· 39 commits to main since this release
82eee15

Highlights

  • durationInput(d) / setInputDuration(d) (#56) — new chainable that applies -t <duration> to the current input (not the global output), letting you express the canonical multi-input pattern ffmpeg -t N -ss S -i input1 -t N -ss S -i input2 …. Mirrors upstream fluent-ffmpeg#1247.
  • skipMetadata: true constructor option (#57) — suppresses the background ffprobe metadata fetch so remote URL inputs no longer trigger a duplicate HTTP probe (one ffprobe + one ffmpeg = two GETs to the same resource). Useful for large files / slow networks / metered bandwidth. progress.percent is unavailable when set. Mirrors upstream fluent-ffmpeg#1191.
  • ESM-safe presets dir (#48) — resolveBundledPresetsDir() no longer crashes with ReferenceError: __dirname is not defined when a downstream tool (SvelteKit / Vite SSR / esbuild ESM mode) re-emits the compiled CJS as part of an ESM bundle. Mirrors upstream fluent-ffmpeg#1283.

📦 npm: @modernized/fluent-ffmpeg@0.1.3


What's Changed

  • fix: capabilities + ffprobe parity (closes #37, #38, #39) by @isamu in #45
  • fix: pipeOutputStream listener leak + progress NaN (closes #40, #41) by @isamu in #46
  • fix: inputOptions array entries with embedded spaces (closes #42) by @isamu in #47
  • docs: add CHANGELOG covering #37-#42 (PRs #45, #46, #47) by @isamu in #55
  • feat: skipMetadata option to avoid double HTTP probe (closes #54) by @isamu in #57
  • fix: ESM-safe bundled presets dir resolution (closes #43) by @isamu in #48
  • test: regression for ring-buffer null safety in endCB (closes #44) by @isamu in #49
  • chore: tighten test-file ESLint to match src strictness by @isamu in #58
  • feat: durationInput / setInputDuration (closes #53) by @isamu in #56
  • test: regression for consecutive-command progress events (closes #50) by @isamu in #51
  • chore: fix safe test-side warnings and tier ESLint strictness by @isamu in #59
  • chore: release 0.1.3 by @isamu in #60

Full Changelog: https://github.com/modernized-js/node-fluent-ffmpeg/compare/@modernized/fluent-ffmpeg@0.1.2...0.1.3