Skip to content

#28: Windows font URLs, openh264's fixed QP, and what a render is per platform - #36

Closed
shinyobjectz wants to merge 4 commits into
mainfrom
windows-28
Closed

shinyobjectz wants to merge 4 commits into
mainfrom
windows-28

Conversation

@shinyobjectz

Copy link
Copy Markdown
Owner

The Windows-only items from #28 (the others landed earlier, as listed on the issue):

  • CSS url()s naming the composition's files reach the page as file:///C:/... URLs on Windows. One rewriter now serves inline styles, style props, brand.css and imported CSS.
  • openh264 takes the fixed quantiser it's asked for. With rate control off it wrote QP 26 whatever was asked, so the mezzanine copy wasn't the quality it claimed.
  • The skill says what a render is on each platform (H.264 High on a Mac, Constrained Baseline from openh264).

Opened for CI: io/media/src/mezz.rs's retry is compiled only off Apple, so the Linux job here is its first compile. Lands once CI passes.

Part of #28.

🤖 Generated with Claude Code

…s file URLs on Windows (part of #28). An inline <style>'s font URL was written as a raw Windows path, whose backslashes CSS read as escapes and whose C: it read as a URL scheme. One rewriter (runtime/bundle urls.rs) now serves inline <style> text, style props, brand.css and the CSS a bundle imports, writing each file through raea_io_home::src as <img> does. A relative URL starts from the stylesheet's folder (brand/ for brand.css, the edit's folder otherwise), and /media/ from the edit's. Its unit tests check a Windows path on any system: no backslash is left, and the URL is file:///C:/...
… rate control off it ignored the QP range and wrote QP 26: the optimized copy's QP 16 and a GOP's QP gave the same bytes as any other. fixed_qp now uses its Quality mode with the range pinned. That mode needs a bitrate other than 0 (it moves nothing once the QP is pinned), and it refuses a QP under 14, so a lower one is raised to 14. A frame too detailed for openh264's buffer at QP 16 (some 1.6 MB a 1080p frame, noise rather than footage) fails with Native:3, so the copy is made again at QP 26, as every copy was before. io/soft/tests/qp.rs: QP 16 writes over twice QP 40's bytes for the copy and a GOP, a GOP is the same bytes each time, and QP 4 is QP 14; before, 12 and 40 were identical
… High and AAC on a Mac, Constrained Baseline and Opus from openh264 on Windows and Linux. It said H.264 High for all
…akes the writer of a file's URL as a parameter instead of a test-only twin of raea_io_home::src, and the fixed-quantiser tests join io/soft/tests/quality.rs, sharing its frames of rings and its MP4 encode. tools/dupes.max goes down to exact=295
@shinyobjectz

Copy link
Copy Markdown
Owner Author

Landed on main as a00a493 (with the three #28 commits before it), after CI passed here. The files are identical to this PR's head; the commits were landed from the workspace, so GitHub doesn't link them.

@shinyobjectz
shinyobjectz deleted the windows-28 branch November 8, 2026 02:02
shinyobjectz added a commit that referenced this pull request Nov 10, 2026
…opies into its project (rides, flat-type, faces, stands-on, shot-length, no-part); craft/ROUTER.md's notes steps 5 and 6 (give each ask a check or a clip, raea notes check until each fails first and then passes); cli.md's raea notes check and raea show --status, --states, --sign, --clip, --render; sdk.md's raea/check named, turned and inside (raea-skills #36, for DR6)
shinyobjectz added a commit that referenced this pull request Nov 15, 2026
…ndex switches when mounted (raea-feed #36); the API route needs a restricted scope, since drive.file reaches only picked files and a picked folder shares the folder alone. Open question 3 for Shane: drive.readonly with Google's verification and CASA, or the desktop app's folder plus picked files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant