mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
* A page reads a clip on from where it stopped: up to 4 readers a file, so a clip shown twice at once isn't sought every frame Where two elements showed one 4K clip, they shared one decoder and ffmpeg restarted every frame (31 starts in 30 frames). Each file now keeps up to 4 readers, each reading on from its last frame (the one behind within 60 frames, else a new one, else the least used), and the frame it read last for a second ask. Those frames: 909 to 53 ms on the Mac, SSIM 1.000000; a 30 s ad of 4K street-interview clips on the farm's GPUs 277 s and $0.106 to 153 s and $0.033. * render --keys: each frame's key with nothing drawn, and the largest each clip is drawn raea render EDIT --keys keys.json steps React through every frame and makes the page match it without reading a clip or drawing: each frame's key (its elements' place, kind, props and text, each video's file and time, its 3D rows; paths named from the composition's folder), has3d, the piece's sounds, and the largest each clip is drawn (box as drawn, transforms and punch-in applied). A render farm keeps runs by these keys and reads clips from copies no larger than they're drawn. On the ad: 6.7 s for 894 frames; a caption word changed 70 frames' keys, a sound 3 dB louder none (CR32, CR36). * RAEA_NV=1: NVENC and NVDEC in the ffmpeg backend, each after a one-frame try on the machine The render farm sets it on a GPU's runs of a piece with 3D in it. h264_nvenc at libx264's CRF number as constant QP (SSIM 0.9925 to libx264's 0.9924 on the ad) and clips through CUDA; where a try fails, libx264 and ffmpeg's own, said once. The answer is kept for the machine's later runs (CR34). * The face track and render --review's sheets are crates of their own (raea-sys-facetrack, raea-runtime-review): raea-runtime-page and raea-runtime-export are under 2000 lines again * One opener for a video (raea_io_media::open_video) and one step of React to a frame (step_react), where the render-cost work had copied each --------- Co-authored-by: shinyobjectz <[email protected]>
57 lines
2.7 KiB
TOML
57 lines
2.7 KiB
TOML
[package]
|
|
name = "raea-runtime-export"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "A composition rendered to frames and files: React stepped frame by frame, its pages, 3D and sound made into one raea-render program; and its commits baked by frame"
|
|
|
|
[dependencies]
|
|
raea-io-trace = { path = "../../io/trace" }
|
|
dunce = "1"
|
|
raea-runtime-view = { path = "../view" }
|
|
raea-io-assets = { path = "../../io/assets" }
|
|
raea-runtime-react = { path = "../../runtime/react", default-features = false }
|
|
raea-runtime-page = { path = "../page" }
|
|
raea-runtime-sound = { path = "../sound", default-features = false }
|
|
raea-runtime-bake = { path = "../bake" }
|
|
raea-render = { path = "../../engine/render", default-features = false, features = ["native", "raytracing"] }
|
|
# a GPU that stopped drawing fails the render (gpu::said)
|
|
raea-sys-frame = { path = "../../systems/frame" }
|
|
# the draws a render takes of each frame (<Pathtracer samples>)
|
|
raea-sys-rt = { path = "../../systems/rt" }
|
|
# renders to files: RenderOpts, render, render_fed
|
|
raea-runtime-encode = { path = "../encode" }
|
|
raea-page = { path = "../../engine/page" }
|
|
raea-sys-page = { path = "../../systems/page" }
|
|
raea-sys-layers = { path = "../../systems/layers" }
|
|
raea-gpu-device = { path = "../../gpu/device" }
|
|
raea-io-net = { path = "../../io/net" }
|
|
raea-io-media = { path = "../../io/media", default-features = false, features = ["soft-audio", "apple"] }
|
|
# render -o OUT.mov --alpha: the transparent movie (docs/capcut.feature CC1)
|
|
raea-io-alpha = { path = "../../io/alpha" }
|
|
raea-core-program = { path = "../../core/program" }
|
|
raea-core-scene = { path = "../../core/scene" }
|
|
raea-runtime-scene = { path = "../scene" }
|
|
raea-sys-contact = { path = "../../systems/contact" }
|
|
# the staging checks a render runs at its end (docs/stage-guards.feature SG10-SG14)
|
|
raea-sys-stage = { path = "../../systems/stage" }
|
|
# the end checks as the frames come (SG4a)
|
|
raea-runtime-endchecks = { path = "../endchecks" }
|
|
# a render's findings, in one shape (docs/direction.feature DR3)
|
|
raea-core-facts = { path = "../../core/facts" }
|
|
raea-sys-light-meter = { path = "../../systems/light-meter" }
|
|
# --clay: every standard surface grey (its clay switch)
|
|
raea-runtime-scene3d = { path = "../scene3d" }
|
|
# --review: the fixed cameras
|
|
raea-core-review = { path = "../../core/review" }
|
|
# render --review's tiles and sheets
|
|
raea-runtime-review = { path = "../review" }
|
|
raea-sys-mix = { path = "../../systems/mix" }
|
|
bevy = { version = "=0.20.0", default-features = false, features = ["std", "default_app"] }
|
|
image = { version = "0.25", default-features = false, features = ["png", "hdr"] }
|
|
serde_json = "1"
|
|
# the frames' pages written as assets, on workers
|
|
raea-runtime-pagestore = { path = "../../runtime/pagestore" }
|
|
wgpu = "=30.0.1"
|