ffmpeg-skill 3.6.5 → 3.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -8
- package/SKILL.md +2 -2
- package/bin/install.js +79 -5
- package/docs/contract.md +9 -5
- package/package.json +1 -1
- package/references/scripts.md +6 -2
- package/scripts/_common/color.py +4 -3
- package/scripts/_common/probe.py +51 -8
- package/scripts/_common/runner.py +37 -3
- package/scripts/_contract.py +19 -11
- package/scripts/audio.py +22 -2
- package/scripts/caption.py +29 -3
- package/scripts/check.py +57 -8
- package/scripts/crop.py +3 -1
- package/scripts/cropdetect.py +2 -2
- package/scripts/cut.py +33 -6
- package/scripts/export.py +33 -15
- package/scripts/graphics.py +6 -0
- package/scripts/look.py +4 -4
- package/scripts/loudness.py +83 -16
- package/scripts/multicam.py +21 -4
- package/scripts/overlay.py +6 -0
- package/scripts/pad.py +6 -0
- package/scripts/render.py +30 -3
- package/scripts/scenes.py +2 -2
- package/scripts/silence.py +3 -1
- package/scripts/stabilize.py +5 -2
- package/scripts/sync.py +7 -3
- package/scripts/verify.py +9 -2
package/scripts/verify.py
CHANGED
|
@@ -156,6 +156,12 @@ def main() -> int:
|
|
|
156
156
|
apply_common(args)
|
|
157
157
|
if STATE.plan:
|
|
158
158
|
die("verify.py does not support --plan: its steps run for real (it ignores --dry-run too)")
|
|
159
|
+
ignored_dry_run = STATE.dry_run
|
|
160
|
+
if ignored_dry_run:
|
|
161
|
+
# A240: the flag is accepted and ignored (docs/design-decisions.md "Dry run"); the steps
|
|
162
|
+
# run and write, so the document says dry_run: false and a note says the flag was ignored
|
|
163
|
+
STATE.dry_run = False
|
|
164
|
+
info("--dry-run is ignored by verify.py: its steps run and write their outputs")
|
|
159
165
|
|
|
160
166
|
files = collect(args.paths)
|
|
161
167
|
tmp = None
|
|
@@ -267,11 +273,12 @@ def main() -> int:
|
|
|
267
273
|
print(report)
|
|
268
274
|
if tmp and not args.keep:
|
|
269
275
|
tmp.cleanup()
|
|
276
|
+
notes = (["--dry-run is ignored by verify.py: its steps ran and wrote their outputs"] if ignored_dry_run else [])
|
|
270
277
|
if failed:
|
|
271
278
|
die(f"{failed} of {total} verification steps failed", kind="verification", output=None, dry_run=STATE.dry_run,
|
|
272
|
-
report=args.report, files=results, failed=failed, total=total)
|
|
279
|
+
report=args.report, files=results, failed=failed, total=total, **({"notes": notes} if notes else {}))
|
|
273
280
|
if args.json:
|
|
274
|
-
emit(None, report=args.report, files=results, failed=failed, total=total)
|
|
281
|
+
emit(None, report=args.report, files=results, failed=failed, total=total, **({"notes": notes} if notes else {}))
|
|
275
282
|
return 0
|
|
276
283
|
|
|
277
284
|
|