Files
OrbitTv/design/channels/orbit-after-dark/render-ident.py
T
pauljdandClaude Opus 5.5 934f82d805
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m48s
pauljd/davidson-ci: Davidson CI / ai-review (push) Successful in 49s
Orbit TV at 0.16.0-tuning-screen
First commit, imported from the working folder: Android TV app, loopback
guide server, design sources and per-release verification notes.

Includes the 0.16 tuning screen, built and tested but not yet confirmed
on the box.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-01 17:25:30 +00:00

13 lines
1.1 KiB
Python

"""Rebuild the editable EffectCraft ident and its MP4 from this proof's current folder."""
from pathlib import Path
import json, subprocess
p=Path(__file__).resolve().parent
steps=[{'command':'comp.new','params':{'name':'Orbit After Dark ident proof','width':1280,'height':720,'frameRate':25,'duration':1.6,'background':'#071632'}}]
for name in ['background','primary']:
steps.append({'command':'file.import','params':{'paths':[str(p/'exports'/f'orbit_after_dark_{name}.png')],'addToComp':True}})
command_file=p/'sources/create-ident.json';command_file.write_text(json.dumps(steps,indent=2))
project=p/'sources/orbit_after_dark_ident.ecproj'
subprocess.run(['effectcraft-cli','--empty','run','--commands',str(command_file),'--save-as',str(project),'--json'],check=True)
subprocess.run(['effectcraft-cli','--project',str(project),'run','--commands',str(p/'sources/animate-ident.json'),'--save','--json'],check=True)
subprocess.run(['effectcraft-cli','--project',str(project),'render','--out',str(p/'exports/orbit_after_dark_ident.mp4'),'--format','h264','--fps','25','--bitrate','3500','--audio','off'],check=True)