remotion-ffmpeg-skill 0.8.0 → 0.8.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion-ffmpeg-skill",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Agent Skill: ffmpeg-skill measures the footage, Remotion draws the motion graphics from those measurements, ffmpeg-skill checks and delivers the result. Timeline-driven captions, silence jump cuts and audio-peak motion with probe-first / verify-last rendering. Local, no API keys.",
5
5
  "keywords": [
6
6
  "remotion",
@@ -41,6 +41,7 @@ def build_parser() -> argparse.ArgumentParser:
41
41
  p.add_argument("--platform", choices=PLATFORMS, help="ffmpeg-skill delivery template to run")
42
42
  p.add_argument("-o", "--output", help="deliverable path (default: <name>_<platform>.mp4)")
43
43
  p.add_argument("--check-only", action="store_true", help="run check.py only, write nothing")
44
+ p.add_argument("--brand", help="ffmpeg-skill brand.json for the template (its logo, safe margins, loudness)")
44
45
  p.add_argument("--chapters", metavar="FILE",
45
46
  help="also write these chapters (`TIME TITLE` per line) into the deliverable with ffmpeg-skill "
46
47
  "metadata.py, plus the YouTube description block next to it (<name>_description.txt)")
@@ -68,11 +69,15 @@ def main() -> None:
68
69
  refuse_existing(out)
69
70
  templated = out.with_name(out.stem + ".nochapters" + out.suffix) if a.chapters else out
70
71
  args = ["--template", a.platform, str(src), "-o", str(templated)]
72
+ if a.brand:
73
+ if not Path(a.brand).expanduser().is_file():
74
+ die(f"brand file not found: {a.brand}", "input")
75
+ args += ["--brand", str(Path(a.brand).expanduser().resolve())]
71
76
  if STATE.overwrite or a.chapters:
72
77
  args.append("--overwrite")
73
78
  description = out.with_name(out.stem + "_description.txt")
74
- meta_args = [str(templated), "--chapters", str(Path(a.chapters).expanduser()), "-o", str(out)] + (
75
- ["--overwrite"] if STATE.overwrite else [])
79
+ meta_args = ([str(templated), "--chapters", str(Path(a.chapters).expanduser()), "-o", str(out)]
80
+ + (["--overwrite"] if STATE.overwrite else [])) if a.chapters else []
76
81
  if STATE.dry_run:
77
82
  commands.append(shell_join(ffskill_cmd("render", args)))
78
83
  if a.chapters: