Skip to content

perf(demos): re-encode the lemo-opuscar film - #503

Merged
harlan-zw merged 1 commit into
mainfrom
perf/lemo-film
Oct 6, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
perf/lemo-film

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

The lemo-opuscar film was 2.85 MB for 15 seconds, about six times the bytes per second of the other two films. It now points at a re-encode of the same file.

Encode Size Video bitrate SSIM against the old copy
Old: -preset slow -crf 28, 96k audio 2,847,704 bytes 1,417 kbps 1
New: -preset veryslow -crf 31 -tune animation, 64k audio 1,698,270 bytes 836 kbps 0.977

Both are H.264 High, 1280x720, 24 fps, yuv420p with +faststart. The source render was not kept, so the new copy encodes the old web copy. The film is ink-wash animation with paper texture, which is why -tune animation saved more than the plain presets did. The recorder's defaults stay as they are. The poster is unchanged.

The new object is demos/lemomo-ai/lemo-opuscar/lemo-opuscar/video-f9f325cbb2.mp4 in skilld-demo-media. It already serves from media.skilld.dev with the year-long cache rule. The old object stays in the bucket for pages cached before this deploy.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

The web copy was 2.85 MB for 15 seconds. A slower x264 preset tuned for animation at CRF 31 with 64k audio gives 1.70 MB at 0.977 SSIM against it.
@harlan-github-agent harlan-github-agent Bot added the harlan-agent-running An Agent holds a Task on this issue or pull request right now. label Oct 6, 2026
@harlan-zw
harlan-zw merged commit 234ae51 into main Oct 6, 2026
6 checks passed
@harlan-github-agent harlan-github-agent Bot added harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. labels Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant