Commits
Commits on
20ec2e759d33aa97cf19c37fbc22857f520c31ed2026-09-15
✨ feat(audio): HSV wheel, real glow, fixed-length windowAhmet Kaan Gümüş · 20ec2e7
✨ feat(audio): HSV wheel, real glow, fixed-length window Colour is a standard HSV wheel (0° red at top, radius = sat). Glow now expands the stroke. The 2s view no longer shrinks at file edges, which was stretching a bump as it entered.
✨ feat(audio): stable envelope height, full hue/sat, strands and glowAhmet Kaan Gümüş · 7ebfc44
✨ feat(audio): stable envelope height, full hue/sat, strands and glow The 2s window no longer rescales to its own peak, so a bump keeps its height as it enters and leaves. Colour is a 64-stop hue bar plus sat (white→full). Strands and glow go from one line to the dense ring. Packed on Clip.viz_paint; dialect v22.
✨ feat(audio): timeline-smooth fill default, ring look, azure inkAhmet Kaan Gümüş · 92b906f
✨ feat(audio): timeline-smooth fill default, ring look, azure ink Default visualizer is the lane envelope (fold + smooth + fill) in #4F8FD6, not a signed-peak scribble. CLIP adds Ring (polar strands). Ribbon stays the linear flowing look. Colour 0 is that azure.
✨ feat(audio): Audacity trace, ribbon, fill — colour is a pickerAhmet Kaan Gümüş · 70a02fb
✨ feat(audio): Audacity trace, ribbon, fill — colour is a picker Visualizer default is a signed-peak polyline (the Audacity line), not the filled 60 Hz bars. CLIP tab picks Waveform / Ribbon / Fill, Fast zooms to 0.2s, and colour is 16 swatches + steppers.
2026-09-14
✨ feat(audio): waveform styles, any soundtrack, keys search, group on the clip menuAhmet Kaan Gümüş · dfcec06
✨ feat(audio): waveform styles, any soundtrack, keys search, group on the clip menu Visualizer is no longer wav-only: h on a video clip with sound paints that file's soundtrack. Style bits live on the clip (outline, smooth, fast, colour) and toggle from CLIP. `?` type-to-filters the keys list. Group / Ungroup / Regroup are clip-menu rows, not chords-only.
✨ feat(audio): create a waveform visualizer as a video clipAhmet Kaan Gümüş · 735b90e
✨ feat(audio): create a waveform visualizer as a video clip Select an audio clip and press h (or the clip menu). The sound's envelope is painted as a sliding mirrored waveform onto a video lane, so preview and export both show it. Paste still never drops a song on V1.
2026-09-13
✨ feat(silence): keep-only invert — cut speech, leave the quietAhmet Kaan Gümüş · 5cd971b
✨ feat(silence): keep-only invert — cut speech, leave the quiet Silences card gets a Keep only silence switch (k). Off is today's jumpcut; on, cut/speed act on the complement of the scan so the quiet stays. Empty quiet still refuses rather than cutting the whole clip. Also drop the second tooltip on the card maximize glyph — gpui panics if .tooltip() is called twice, which crashed every param card including this one.
Merge branch 'lane-mp3vorbis-swap' (f68f46d): MP3 and Vorbis encode seats are ec-mp3 / ec-vorbis -- rusty_mp3 and rusty_vorbis leave the tree. Vorbis: strictly better operating point (r 0.9968 vs 0.9947, +3.1 dB, same size, par with ffmpeg q5), pre-roll/granule corrections obsolete (lag-0 sample-exact through symphonia), encode ~1.2-1.5x faster. MP3: gapless-exact (incumbent was +648 samples), quality reproduced equal-or-better. DISCLOSED TRADE: MP3 encode is ~7x realtime stereo (428.6ms/3s music, 4188.5ms/30s real) vs rusty_mp3's 147-283x -- a 2h film's stereo track exports in ~17 min vs ~48s, and MP3 is an audio-only export so encode IS the wall; single-thread vs single-thread (rusty_mp3 is thread_local-only). lane-ecmp3-perf armed in the same batchAhmet Kaan Gümüş · 423536a
Merge branch 'lane-mp3vorbis-swap' (f68f46d): MP3 and Vorbis encode seats are ec-mp3 / ec-vorbis -- rusty_mp3 and rusty_vorbis leave the tree. Vorbis: strictly better operating point (r 0.9968 vs 0.9947, +3.1 dB, same size, par with ffmpeg q5), pre-roll/granule corrections obsolete (lag-0 sample-exact through symphonia), encode ~1.2-1.5x faster. MP3: gapless-exact (incumbent was +648 samples), quality reproduced equal-or-better. DISCLOSED TRADE: MP3 encode is ~7x realtime stereo (428.6ms/3s music, 4188.5ms/30s real) vs rusty_mp3's 147-283x -- a 2h film's stereo track exports in ~17 min vs ~48s, and MP3 is an audio-only export so encode IS the wall; single-thread vs single-thread (rusty_mp3 is thread_local-only). lane-ecmp3-perf armed in the same batch # Conflicts: # Cargo.lock # crates/engine/Cargo.toml # crates/engine/src/caps.rs # crates/engine/src/export.rs
Merge branch 'lane-h265enc-swap' (4808c4a): the HEVC encode seat is ec-h265 and oxideav-h265 leaves the tree (47+ vendor files, conformance-window patch with them -- ec-h265 self-pads and writes the crop) -- reviewer-executed validity: +1.22 dB PSNR-Y at -25.6% bytes vs the old seat at qp40 (+1.02 dB at -11.1% qp27), export wall 1.07-1.10x, mkv+mp4 decode back through the VA-API plugin seat, frame-parallel batching preserved byte-identicallyAhmet Kaan Gümüş · 49b300a
Merge branch 'lane-h265enc-swap' (4808c4a): the HEVC encode seat is ec-h265 and oxideav-h265 leaves the tree (47+ vendor files, conformance-window patch with them -- ec-h265 self-pads and writes the crop) -- reviewer-executed validity: +1.22 dB PSNR-Y at -25.6% bytes vs the old seat at qp40 (+1.02 dB at -11.1% qp27), export wall 1.07-1.10x, mkv+mp4 decode back through the VA-API plugin seat, frame-parallel batching preserved byte-identically # Conflicts: # Cargo.toml # crates/engine/src/caps.rs
🔁 feat(video): the HEVC encode seat is the native ec-h265 — oxideav-h265 leaves the treeAhmet Kaan Gümüş · 4808c4a
🔁 feat(video): the HEVC encode seat is the native ec-h265 — oxideav-h265 leaves the tree
The vendored OxideAV intra encoder is replaced by the project's own ec-h265,
intra-only by construction: every picture an IDR carrying its own
VPS/SPS/PPS, so the seat's contract — an intraframe master, every frame a
cut point, even dimensions, a bitrate row mapped to a constant QP through the
same 0.6 bpp anchor — is unchanged. Named headroom deliberately not taken:
the encoder's per-picture target-bits correction pass, 64x64 CTBs and the
chroma rate-distortion mode search.
The seat keeps the frame-parallel shape of the one it replaces: a batch of
display-size planes codes on one lane encoder each, and each encoder's WPP
wavefront splits the cores the lanes leave over. Coding one picture at a
time on every core was measured at 0.63x the old export wall — the batching
is what keeps decode and render fed while a batch codes.
Quality, identical 300-frame 1920x792 film window, matched constant QP,
ffmpeg-decoded, ffmpeg PSNR/SSIM against the source:
QP 40: 38.05 dB PSNR-Y / 0.9434 SSIM-Y at 2.14 MB
(was 36.83 dB / 0.9286 at 2.88 MB — +1.22 dB for 25.6% fewer bytes)
QP 27: 45.10 dB / 0.9811 at 8.35 MB
(was 44.08 dB / 0.9773 at 9.40 MB — +1.02 dB for 11.1% fewer bytes)
libx265 intra control at the same QPs: 39.87 dB / 46.37 dB
Perf: export wall over a 300-frame 1080p30 window, 5-sample bench, quiet
box: 12.6-13.0 fps against the old seat's 11.8 (1.07-1.10x).
Bitstream validity: the exports reopen through this project's demuxer in
both containers and decode back to pictures through the VA-API plugin's
HEVC seat (mkv and hvc1); ffmpeg decodes every witness without a complaint
and the 1080p conformance-window export still states 1920x1080 through the
SPS. Suites green: hevc, hevc_export (incl. the hardware and software
roundtrip witnesses), hevc_mkv, hevc_hvc1, export, export_color, backends,
opus_export, lib (373); cargo check -p engine --all-targets with zero
warnings.🔁 feat(audio): the MP3 and Vorbis encode seats are the native ec-mp3 / ec-vorbisAhmet Kaan Gümüş · f68f46d
🔁 feat(audio): the MP3 and Vorbis encode seats are the native ec-mp3 / ec-vorbis The two registry-crate encoder seats (rusty_mp3 0.6, rusty_vorbis 0.1.1) leave the tree; both formats encode through the codec family's own crates (path deps, same boundary ec-opus/ec-ac3 already cross). MP3 (CBR per the card's rate rows): same seat contract, same Mp3EncoderConfig field names, call sites unchanged. A/B on identical 16-bit PCM (suite fixtures + a 30 s 44.1 kHz stereo music decode), outputs decoded through symphonia: correlation 0.9994-0.9998 against the incumbent's 0.9980-0.9991 at the same 192 kbps, PSNR +5..+7 dB, and the decoded length lands exactly on the mix (the old seat ran 180 samples long with a 1057-sample shift the gapless tag only partly hid). Vorbis: the seat's quality knob alone saturates below the incumbent's operating band, so write_ogg drives the encoder the way its own rate gates are measured -- rate loop started at quality 0.85 and held to a 128 kbps target. At the incumbent's own 0.85 operating point (123.8 kbps actual on the music clip, correlation 0.9947) the new seat reads 129.0 kbps actual at correlation 0.9968, +3.1 dB PSNR; against ffmpeg's libvorbis -q 5 it is par at the same rate (0.9968 vs 0.9973). Every export decodes to exactly the timeline's frame count, correlation peak at lag zero. That measurement retires write_ogg's workaround: the old seat advanced its granule a hop early and overran the tail, so the function carried a 1024-sample pre-roll and two granule corrections around it. ec-vorbis reports spec granules and clamps its final one to the sample count fed, so the pre-roll, the per-packet shift and the manual tail declaration are deleted. Mono stays dual mono (bit-identical L/R, worst |L-R| = 0 measured) because the format row promises stereo, not because the encoder refuses mono as the old seat's did. Perf, named: MP3 encode wall is 0.05x the old seat on the 30 s clip (4.3 s vs 0.20 s CBR; the old shim encoded blocks across all cores, the new seat is single-threaded sequential) -- the price of the quality and gapless-exactness above; Vorbis at the seat's operating point is 1.4x faster than the old seat (49 ms vs 69 ms per 30 s). audio_export and backends suites green (14 + 8), export lib tests green, cargo check -p engine --all-targets zero warnings; lock carries no rusty_mp3/rusty_vorbis stanza.
2026-09-12
Merge branch 'lane-aacenc-swap' (cbad1fe): the AAC encode seat is ec-aac and rusty_aac leaves the tree (16 vendor files, patch table clean) -- reviewer-reproduced quality \u003e= rusty on every row (96k stereo 0.9445 vs 0.8458 vs ff 0.9376), element plan 1:1, mux roundtrip witness at mono/stereo/5.1; disclosed trade: encode is 34.7x realtime always vs rusty's 81.6x single/462x at 12 threads (13.3x slower as-shipped, 2.35x single-thread) -- negligible against video-bound export walls; lane-ecaac-enc-perf queuedAhmet Kaan Gümüş · b4c6beaBrowse files
Merge branch 'lane-ac3-swap' (9fab7c9): the AC-3/E-AC-3 decode seat is ec-ac3 -- oxideav-ac3 leaves the tree; 1.64-1.66x faster, fixes the old seat's LFE level defect (0.976 vs ffmpeg -> 1.000000), 7.1 DD+ dependent substreams refuse in words (ec-ac3 b3ee1ee1 closes the silent-tail path); ffmpeg-correlated AC-3/E-AC-3 film witnesses addedAhmet Kaan Gümüş · 8a736e4Browse files
🔁 feat(audio): the AC-3/E-AC-3 decode seat is the native ec-ac3Ahmet Kaan Gümüş · 9fab7c9
🔁 feat(audio): the AC-3/E-AC-3 decode seat is the native ec-ac3 oxideav-ac3 leaves the tree. One decoder reads both syntaxes, dispatching per packet on bsid, and hands back interleaved f32 -- the seat asks for its own A/52 §7.8.2 stereo fold on anything wider than mono, per-position coefficients from each frame's own acmod and mix levels, so no width is refused any more (the 2.1-at-3ch passthrough refusal dies with the library) and the mono digital-silence corner-cut is gone with it. Witnesses on real content, identical packets, old seat vs new: - AC-3 5.1 film: per-channel correlations 0.99965-0.99999, rms ratios 1.001; the residual is the format's unspecified dither noise -- against ffmpeg's own decode both decoders sit equally close, and the two spots where they did not agree are OLD-seat deviations (the 2.0 rematrixing decode: 0.92/0.76 vs ffmpeg, the new seat 0.99997; the LFE: 0.976 vs ffmpeg, the new seat 1.000000). - E-AC-3 5.1 film: correlations >= 0.99998 on all six channels, rms 1.000. - Decode speed 1.64-1.68x the old seat (min-of-7, ~320x realtime 5.1). - Named coverage edge, refused by name at open, not silently: Annex E dependent substreams and enhanced coupling (7.1 DD+ assembled as 5.1-plus-dependents) -- oxideav walked those, ec-ac3 refuses them. Every single-substream AC-3 and E-AC-3 track decodes. New film witness file tests/audio_ac3_film.rs (seek-landing + ffmpeg correlation on a real AC-3 5.1 film and a real E-AC-3 5.1 film, mirroring the Opus/AAC film witnesses), real_library.toml.example documents the ac3_51_film key. caps row and the codec-table comment follow the seat.
🔥 chore(engine): rusty_aac leaves the tree -- the encode seat was its last job and ec-aac took it in the previous commit; vendor/rusty_aac git-rm'd, the [patch.crates-io] line and the workspace exclude row go with it, Cargo.lock carries zero rusty_aac entries (its lock stanza was dependency-free, so nothing else moves), and the manifest keeps the record in the rusty_h264-common style: a seventh vendor whose whole entry left with its last seat, its decoder IMDCT patch (N/4-point FFT through dsp::dct4, 40x the matrix version) having served the decode seat ec-aac replaced first. Seat comments read past tense. Post-removal: -p engine --all-targets 0 warnings, lib suite 375/375, export 8/8Ahmet Kaan Gümüş · cbad1fe
🔥 chore(engine): rusty_aac leaves the tree -- the encode seat was its last job and ec-aac took it in the previous commit; vendor/rusty_aac git-rm'd, the [patch.crates-io] line and the workspace exclude row go with it, Cargo.lock carries zero rusty_aac entries (its lock stanza was dependency-free, so nothing else moves), and the manifest keeps the record in the rusty_h264-common style: a seventh vendor whose whole entry left with its last seat, its decoder IMDCT patch (N/4-point FFT through dsp::dct4, 40x the matrix version) having served the decode seat ec-aac replaced first. Seat comments read past tense. Post-removal: -p engine --all-targets 0 warnings, lib suite 375/375, export 8/8
♻️ refactor(engine): the AAC encode seat is ec-aac -- export.rs's encode_audio and the muxer's tone harness speak ec_aac::AacEncoder on the seat's old contract (interleaved f32 push_pcm, raw raw_data_block packets one frame long, the sf_index_for_rate refusal the export turns into a user-facing message, ASC rebuilt from AacTrackParams), the caps row and both SW-encode labels read ec-aac, and a new mux witness round-trips seat-encoded mono, stereo and 5.1 through the project's own decode door (symphonia's reader for the pair, the family decoder for 5.1, folded to stereo as the door's contract states). A/B on identical synthetic program -- mono 44.1k 128k, stereo 44.1/48k 256k, stereo 48k 96k, 5.1 48k 512k, every output ADTS-framed and ffmpeg-decoded, alignment by envelope correlation with an ffmpeg-native control column: ec-aac correlates at or above the incumbent on every row (mono 0.9674 vs 0.9564, stereo 96k 0.9445 vs 0.8458, 5.1 0.6050 vs 0.6007) and matches or beats ffmpeg's own encoder at matched actual rate; cost is +4-6% actual bits at the same target and a slower encode wall (single-threaded vs rusty_aac's frame-parallel finish: 2.0-3.7x on one core, 5.9-10.2x as-shipped on this box) -- named here per the perf bar. rusty_aac itself leaves in the next commit. Export and capability suites green, -p engine --all-targets 0 warningsAhmet Kaan Gümüş · 7ed056a
♻️ refactor(engine): the AAC encode seat is ec-aac -- export.rs's encode_audio and the muxer's tone harness speak ec_aac::AacEncoder on the seat's old contract (interleaved f32 push_pcm, raw raw_data_block packets one frame long, the sf_index_for_rate refusal the export turns into a user-facing message, ASC rebuilt from AacTrackParams), the caps row and both SW-encode labels read ec-aac, and a new mux witness round-trips seat-encoded mono, stereo and 5.1 through the project's own decode door (symphonia's reader for the pair, the family decoder for 5.1, folded to stereo as the door's contract states). A/B on identical synthetic program -- mono 44.1k 128k, stereo 44.1/48k 256k, stereo 48k 96k, 5.1 48k 512k, every output ADTS-framed and ffmpeg-decoded, alignment by envelope correlation with an ffmpeg-native control column: ec-aac correlates at or above the incumbent on every row (mono 0.9674 vs 0.9564, stereo 96k 0.9445 vs 0.8458, 5.1 0.6050 vs 0.6007) and matches or beats ffmpeg's own encoder at matched actual rate; cost is +4-6% actual bits at the same target and a slower encode wall (single-threaded vs rusty_aac's frame-parallel finish: 2.0-3.7x on one core, 5.9-10.2x as-shipped on this box) -- named here per the perf bar. rusty_aac itself leaves in the next commit. Export and capability suites green, -p engine --all-targets 0 warnings
Merge branch 'lane-vp8-swap' (36bd0e7): the VP8 decode seat is the native ec-vp8 -- libvpx's dlopen leaves the plugin (no symbols, no strings, no DT_NEEDED); per-frame hashes identical to the libvpx seat on every witness (720p 60/60, the 2560x1321 odd-height clip 270/270, two-pass altref 90/90 shown + 6 hidden with identical seek landings); CAP_VP8 unconditionally lit, still never a GPU seat; un-parked after lane-vp8-perf put the big-obs class at ~64 fps seat-equivalent (1.4x the line)Ahmet Kaan Gümüş · 6421f59Browse files
🔒 chore: lock picks up ec-opus's rustfft tree after the opusperf mergeAhmet Kaan Gümüş · 4311444Browse files
Merge branch 'lane-audio-multi' (1e84d82): the multi-audio layout refusal test pins the CURRENT posture -- mono/other-rate sources open (widened/resampled per DEBT #46, a deliberate d7c614b change this suite missed) while wider-than-timeline stays refused on BOTH paths; pre-existing main failure closedAhmet Kaan Gümüş · b167be0Browse files
🐛 fix(engine): the multi-audio layout refusal test pins the width refusal that is leftAhmet Kaan Gümüş · 1e84d82
🐛 fix(engine): the multi-audio layout refusal test pins the width refusal that is left a_source_that_disagrees_on_layout_is_refused still expected stream 1 of the multi-audio fixture (22.05 kHz mono on a 44.1 kHz stereo timeline) to be refused outright; d7c614b (DEBT #46) let a mono source up-mix onto a wider timeline and updated audio_files, playback and saveload, missing this suite. The test now pins the current posture: the decode path widens and resamples that stream (drained for contiguity, length and non-silence), the copy path still refuses it -- copied packets can be neither widened nor resampled and one esds cannot declare two tracks -- and the refusal left in both paths is a source wider than the timeline (stereo onto a mono first source), named by 'source 1' in each path's own words.
♻️ refactor(engine-hw): the VP8 decode seat is ec-vp8 native -- libvpx and its hand-written FFI are deleted, the plugin links the decoder as ordinary Rust (56 ec_vp8 symbols, no DT_NEEDED, no dlopen); VpxSession keeps its five-verb boundary (init/decode/flush/get_frame, destroy now the drop of an owned decoder) and everything above it is untouched; CAP_VP8 lights unconditionally and still never reads as a GPU seat; A/B byte-exact against the libvpx seat on the 1280x720 fixture (60/60 frames), the 2560x1321 odd-size webm (270/270) and a two-pass auto-altref stream (90/90 shown, 6 hidden produce none, seek landings identical); vp8 twins 4/4, capability_matrix+backends+caps green, --all-targets 0 warningsAhmet Kaan Gümüş · 36bd0e7
♻️ refactor(engine-hw): the VP8 decode seat is ec-vp8 native -- libvpx and its hand-written FFI are deleted, the plugin links the decoder as ordinary Rust (56 ec_vp8 symbols, no DT_NEEDED, no dlopen); VpxSession keeps its five-verb boundary (init/decode/flush/get_frame, destroy now the drop of an owned decoder) and everything above it is untouched; CAP_VP8 lights unconditionally and still never reads as a GPU seat; A/B byte-exact against the libvpx seat on the 1280x720 fixture (60/60 frames), the 2560x1321 odd-size webm (270/270) and a two-pass auto-altref stream (90/90 shown, 6 hidden produce none, seek landings identical); vp8 twins 4/4, capability_matrix+backends+caps green, --all-targets 0 warnings
Merge branch 'lane-av1-seat' (1213004): AV1 joins H264 with a native software decode seat -- ec-av1 per-chunk whole-stream decode, byte-exact against the VA-API seat on 8-bit and 10-bit fixtures (60/60 frames, 0 differing bytes), seek-landing equivalence, refusal-in-words posture, AV1 imports work with no plugin at 1.70x realtime at 1080p-classAhmet Kaan Gümüş · ccfe87c
Merge branch 'lane-av1-seat' (1213004): AV1 joins H264 with a native software decode seat -- ec-av1 per-chunk whole-stream decode, byte-exact against the VA-API seat on 8-bit and 10-bit fixtures (60/60 frames, 0 differing bytes), seek-landing equivalence, refusal-in-words posture, AV1 imports work with no plugin at 1.70x realtime at 1080p-class # Conflicts: # Cargo.lock # crates/engine/Cargo.toml
🐛 fix(engine): the every-container seek witness sanitizes VE_SW at entryAhmet Kaan Gümüş · 1213004
🐛 fix(engine): the every-container seek witness sanitizes VE_SW at entry The AV1 witness lane's comment rewrite dropped the remove_var the test kept at its top, and sibling tests leak VE_SW=1 by design before it runs alphabetically: under the leaked pin the plugin-only HEVC fixtures refuse at open and the documented full run fails 11/1 at test_hevc.mp4. The sanitizer is back, with the leak named and the --test-threads=1 note that makes it safe.
Merge branch 'lane-aac-swap' (c806cad): the \u003e2-channel AAC decode seat is ec-aac native -- channel-order witness +1.00000 on all six, A/B +1.00000 over 2000 real AUs, ~3.7x faster, HE-AAC v1 SBR now reconstructed (rusty had none), 7.1 folds correctly where it mis-folded; rusty_aac stays for the encode seat only; ffmpeg-correlated 5.1 film seek witness addedAhmet Kaan Gümüş · a967453Browse files
📝 docs(engine): the 5.1 AAC waveform test doc names the seat it now rides through — ec-aac, not rusty_aacAhmet Kaan Gümüş · c806cadBrowse files
✨ feat(engine): a native AV1 decode seat — ec-av1 takes AV1 sources with no plugin in the roomAhmet Kaan Gümüş · 875b31a
✨ feat(engine): a native AV1 decode seat — ec-av1 takes AV1 sources with no plugin in the room The software arm of decode.rs grows a second seat beside ec-h264: probe(), open_worker()'s plugin gate and run_span() all take Codec::Av1 as a software-covered codec, falling back to ec-av1 exactly where H.264 falls back to ec-h264. VE_SW=1 pins it, Backend::Software reports it. The seat feeds ec-av1's whole-stream door the way the demuxer assembles AV1 anyway: access units from the landing sync sample to the next one are one chunk (the sequence header the demuxer injects ahead of every sync sample is the boundary marker), and each chunk is a legal random-access stream that decodes to its end — so hidden reference frames drain and the reorder tail lands. A span stops decoding at its last asked-for picture via a sink Eof sentinel; a refusal out of ec-av1 fails the span in words mid-film, the pictures decoded so far standing, never garbage. u16 planes narrow at the seat: 0..=255 casts, 10-bit downshifts by two — the same truncation the plugin's P010 read-back performs, so both seats hand the renderer byte-identical planes. Witnesses: plugin vs seat frame-for-frame byte-exact on test_av1.mkv and on the 10-bit twin (frame 30, 0 differing bytes both); seek-landing equals linear on the software seat across a keyframe interval; a crafted broken-GOP file (keyframe-flagged inter frame) is refused by name — "no saved CDF state" — with the first GOP standing and the channel closing clean. Perf (release, funnel incl. demux+convert, identical config both sides): VA-API 2.0x the seat on 720p8 (100 vs 51 fps), 1.8x on 720p10 (95 vs 53), 4.9x on a 1920x792 10-bit film (199 vs 41 fps, seat 1.70x realtime), 3.5x on a 3840x1608 10-bit film (22 vs 6.2 fps, seat 0.26x realtime — below 1x, but so is the plugin's own 0.92x there: the BGRA conversion dominates that funnel). 1.70x realtime at 1080p-class clears the threads-wiring bar, so EC_AV1_THREADS stays opt-in. demux::needs_plugin's AV1 arm now names the export path (whose software decoder stays H.264-only) instead of claiming no software decoder exists; bit_depth()'s doc gains its second reader.
✨ feat(engine): the multichannel AAC decode seat is an ec-aac native — rusty_aac stays encoder-onlyAhmet Kaan Gümüş · fc0891f
✨ feat(engine): the multichannel AAC decode seat is an ec-aac native — rusty_aac stays encoder-only - the >2-channel seat (a film's 5.1/7.1 track, symphonia refusing anything wider than stereo) now decodes with the family's own ec-aac; the same construction and decode call sites, the same seat shape, the same film channel order FL FR FC LFE BL BR the downmix folds - witness: fold correlation +1.00000 against the retired rusty_aac decoder on 2000 identical AUs of a 5.1 film remux (max|diff| 5.96e-8, RMS ratio 1.0000, channel matrix diagonal-dominant); stereo fixture +1.00000 / 5.46e-4 (PNS noise seed differs); new ffmpeg-correlated film witness a_seek_into_real_five_one_aac_film... scores 0.929/0.858/0.922 landing on the asked second (threshold 0.5) - perf: 12.0-13.2 Msamples/s (250-275x realtime) vs rusty 2.8-3.6 (58-75x) at 5.1 on identical packets; 26-32 Msamples/s (580-719x) vs 6.7-7.7 (151-174x) on the stereo fixture -- ~3.5x the retired decoder, bar was >=0.9x - known behaviour delta, honest in both directions: HE-AAC v1 (SBR) now reconstructs at the extension rate where rusty band-limited everything to the core Nyquist; PS streams decode core-only at the core rate in BOTH
Merge branch 'lane-h264enc-swap' (0e9d3b7): the software H264 export seat encodes with ec-h264 and rusty_h264 leaves the tree (vendored patch and global-allocator hazard with it) -- reviewer-verified A/B +1.1 dB PSNR-Y / +0.006 SSIM / ~2% fewer bits and tighter rate fidelity at 0.877x throughput (encoder-perf lane queued); sub-macroblock pictures refused by nameAhmet Kaan Gümüş · f0a2eccBrowse files
🛡️ feat(engine): the software H264 export refuses sub-macroblock pictures by nameAhmet Kaan Gümüş · 0e9d3b7
🛡️ feat(engine): the software H264 export refuses sub-macroblock pictures by name H.264 codes 16x16 macroblocks and ec-h264's floor is the macroblock itself, where the retired encoder took any positive even size. Named at the seat where a card can show it -- the same shape as the odd-dimension refusal -- instead of surfacing the encoder's error from inside a running export. Found by review during the seat swap.
⚡ perf(engine): the software H264 export codes Main-profile CABAC, 8x8 offAhmet Kaan Gümüş · 02e2308
⚡ perf(engine): the software H264 export codes Main-profile CABAC, 8x8 off Measured at the swap, 720p, all cores: the 8x8 transform is half the pure encode (35.1 ms/frame against 17.2), worth at most 0.7 dB BD-PSNR the Constrained-Baseline seat it replaced never had; CABAC stays (faster than CAVLC here -- fewer tokens to code -- and smaller). Export wall on a 300-frame 720p window, hardware decode both sides, idle machine: rusty 65.2 fps against ec-h264 57.6 -- 0.877x as re-measured by review (0.884x in-lane), still short of the 0.9x gate and reported as such; the rest of the delta is the encoder's sub-pel motion and CABAC decision cost, which is the encoder lane's to reclaim, not a knob left unpulled here (threads swept 4/6/8/12, CABAC/CAVLC, both presets' cheaper arm already picked). Quality at the seat's ~2.7 Mbps CBR, 300-frame window (reviewer-reproduced, both seats driven directly, ffmpeg-decoded): PSNR-Y 41.58 against rusty's 40.51, SSIM 0.9903 against 0.9842, ~2% fewer bits and tighter rate fidelity (rusty overshot to 3.0 Mbps on hard content).
🔥 chore(engine): rusty_h264 leaves the treeAhmet Kaan Gümüş · 17b5566
🔥 chore(engine): rusty_h264 leaves the tree The encode seat was the last linker; the facade, its -common subcrate and the vendored patch that declawed rusty_alloc all go with it. The SEGFAULT history (rusty_alloc installing itself as the process global allocator and dying on a decode worker's first allocation, 2026-08-13) stays written down, past tense, in both manifests. Cargo.lock carries no rusty_h264, rusty_h264-common or rusty_alloc entry.
♻️ refactor(engine): the software H.264 export seat encodes with ec-h264Ahmet Kaan Gümüş · 0bc3a6b
♻️ refactor(engine): the software H.264 export seat encodes with ec-h264 The last rusty_h264 seat in the tree moves to the project's own encoder: Enc::Sw drives ec_h264::Encoder (CABAC Main/High, 8x8 transform, threaded slices) where it drove rusty's Constrained-Baseline CAVLC encoder, and the export's second decode site (SwDecoder) follows the playback seat onto ec_h264::H264Decoder in true display order, flushed at end of stream. Feature mapping: same fps/bitrate/GOP knobs (the level the seat used to compute by hand the encoder now derives from the same Table A-1); Fast stays the preset; intra-only exports stay all-IDR through gop_size 1. Named gaps: odd dimensions are now refused by name like the HEVC seat (4:2:0 cannot crop back to an odd picture; the old encoder silently coded them); the seat no longer forces level_idc. One honest flag rise: the Matroska-facing key mark is now what the bitstream says, not a constant false. One contract tightening, held rather than papered over: ec-h264 buffers nothing, so drain is structurally empty and the old lookahead corner-cut note is closed. tests/sw_backends' independent witness becomes ffmpeg byte-for-byte (the rusty oracle retired with the crate); hw_encode and the mp4 repack test decode through ec-h264; caps and the card label say ec-h264. Quality, same 300-frame 720p window at the seat's own ~2.76 Mbps CBR, both seats driven directly on identical frames and the outputs decoded by ffmpeg (reviewer-reproduced numbers; an earlier in-lane harness measured rusty at 25 dB through a stale-plane A/B bug -- frame-0 luma riding under fresh chroma, which rate control hides in the byte count -- so its rusty row was noise, while the ec row reproduced to the digit): rusty PSNR-Y 40.51 / SSIM 0.9842 at 3.46 MB against ec-h264 PSNR-Y 41.58 / SSIM 0.9903 at 3.39 MB -- about +1.1 dB-Y and +0.006 SSIM for ~2% fewer bits, with tighter rate fidelity (rusty overshot to 3.0 Mbps on hard content).
Merge branch 'lane-h264-swap' (e24fe61): the software H264 decode seat is ec-h264 native via the ec_core registry -- and the seat now emits true DISPLAY order (the rusty corner-cut scrambled B-picture content); byte-exact vs rusty on CAVLC and CABAC+B fixtures, perf 1.02-1.57x on the gate classes, 0.80x on B-frame CABAC (the DPB reorder price; lane-ech264-perf queued); rusty_h264 stays for the ENCODE seat onlyAhmet Kaan Gümüş · c612711
Merge branch 'lane-h264-swap' (e24fe61): the software H264 decode seat is ec-h264 native via the ec_core registry -- and the seat now emits true DISPLAY order (the rusty corner-cut scrambled B-picture content); byte-exact vs rusty on CAVLC and CABAC+B fixtures, perf 1.02-1.57x on the gate classes, 0.80x on B-frame CABAC (the DPB reorder price; lane-ech264-perf queued); rusty_h264 stays for the ENCODE seat only # Conflicts: # Cargo.lock # crates/engine/Cargo.toml # crates/engine/src/decode.rs # crates/engine/src/demux.rs
♻️ refactor(engine): the software H.264 seat decodes with ec-h264Ahmet Kaan Gümüş · e24fe61
♻️ refactor(engine): the software H.264 seat decodes with ec-h264
decode::run leaves `rusty_h264` for `ec_h264::H264Decoder` (path dep on
../../edith_codecs, `ec_core` beside it for the registry contract):
packets in over the demuxer's Annex-B access units, frames out through
send_packet/receive_frame with a flush at end of stream so the reorder
delay releases its tail.
Semantics: the old loop emitted pictures in decode order and counted
access units -- a corner-cut that only held for Baseline, and scrambled
exactly the B-picture streams it could not reorder. ec-h264 bumps the
DPB (clause C.4.5.3) and hands pictures back in display order, so the
landing index the demuxer's seek reports and the label each frame ships
with now count the same thing: timeline positions, which the transport,
skip_for_speed and the hardware backend already assumed. Witnessed on
test_high.mp4 (B pictures): the seat delivers 0..150 in order where the
old seat delivered the same frames reshuffled and mislabelled.
Tests: tests/sw_backends.rs is the byte-exactness witness -- ec-h264
against rusty_h264 (kept as the independent oracle) on CAVLC Baseline
and CABAC High fixtures, decode order per position and display order as
a multiset, with the reorder engaged only where the stream reorders;
hw_decode's software halves (seek_matches_linear, range_stops_at_end,
hardware_matches_software_on_frame_30) pass against the VA-API backend.
Throughput (raw demux+decode, idle machine, best of three): 1.52x
rusty_h264 on a 1080p Main export and 1.57x on a 4K Main render, 1.02x
on a 1440p High screen recording, 1.17x on CAVLC Baseline; 0.80-0.81x
on the two B-picture CABAC streams measured -- the measured price of
the full DPB the old seat skipped. cargo check -p engine: 0 warnings.
rusty_h264 stays linked for the export encode seat (Encoder,
EncoderConfig, Preset, YuvFrame) and export's own SwDecoder, so the
dep, the rusty_h264-common vendored patch (the rusty_alloc
global_allocator landmine) and their Cargo.lock entries are load-bearing
until that seat moves to ec_h264::Encoder; caps names the split honestly
('ec-h264 / rusty_h264').Merge branch 'lane-opus-swap' (597e096): both Opus seats are ec-opus natives -- ruopus/opus-rs/spectrograms leave the tree, the 128 kbps cap (an opus-rs bug workaround) rises to 320 and mono is proven end to end; known-accepted: ~1.5x slower absolute encode/decode vs the FFT-built incumbents at >=88x realtime floor, lane-ecopus-perf queued to close itAhmet Kaan Gümüş · 3d8112aBrowse files
✨ feat(engine): both Opus seats are ec-opus natives — the library pair is goneAhmet Kaan Gümüş · 597e096
✨ feat(engine): both Opus seats are ec-opus natives — the library pair is gone The decode seat (SymDecoder::Opus) and the encode seat (encode_opus) move off ruopus 0.1.2 / opus-rs 0.1.26 onto the codec family's own ec-opus, the first path dependency across into the sibling edith_codecs workspace. Both replaced crates leave Cargo.lock with everything they pulled in. What the swap is measured to do, not hoped to do: * decode equivalence: a real 5.1 stream decodes to correlation 1.000000 between the two decoders, and the film seek witness lands on the same samples it always did — the 312-sample pre-skip corrections hold unchanged, so no constant moved. * the 128 kbps cap goes to 320, the Sound row's top: opus-rs's packets above ~165 kbps were noise to every decoder but its own (re-measured: 0.011 correlation at 320 through BOTH decoders), and that cliff is the only thing the old ceiling stood on. ec-opus's 320 kbps packets read back identically through ruopus and through ec-opus. Fidelity at the top of the new band: 0.9999 (stereo 320), mono 0.9999-1.0000 (was 0.9983-0.9987 at 128). * mono leaves as Opus now. opus-rs mis-encoded mono at every rate, which is what kept a mono mix on the AAC path; a_mono_mix_leaves_as_opus_too pins the new behavior and the export.rs unit suite round-trips mono at 96 and 256. The muxer's family-0 OpusHead needed no change: it already wrote mono. * performance, measured honestly (release, min-of-7 alternating, against ruopus WITH the spectrograms/FFT backend the product actually shipped): ec-opus is ~1.4-1.7x SLOWER on every path — 5.1 decode 246x realtime where ruopus managed 407x; the export seat (encode plus its mandatory fidelity decode) 0.27 s against the old seat's 0.18 s per 30 s of stereo. Both stay far past realtime (>=88x), so nothing is user-perceptible, but the >10% bar is not met numerically; the swap stands on the dependency-freedom goal, and the family decoder has the headroom to close the gap. KNOWN-OPEN, not silently accepted.
✨ feat(engine): software VP8 decode via dlopen'd libvpx seat in the pluginAhmet Kaan Gümüş · ba33df0
✨ feat(engine): software VP8 decode via dlopen'd libvpx seat in the plugin
VP8 was refused by a stale UNSUPPORTED claim ('no VP8 decoder'); the
vendored cros-codecs VP8 decoder is VA-API-only and the test GPU
exposes no VP8 VA-API profile, so the real seat is software: libvpx.so.9
dlopen'd inside libengine_hw.so (vpx.rs), routed before any GPU device
opens, seek = destroy+re-init on the demuxer's keyframe contract,
CAP_VP8 reported as the plugin's seat. Codec::Vp8 plumbed through
demux (V_VP8 + mp4 vp08), colorspace, refusals; export UI gains a
truthful read-only VP8 row; test_vp8.{webm,mp4} fixtures + capability
row + tests/vp8.rs decode/export twins. Verified by the authoring
session: headless playloop 270 frames 0 dropped, 50/50 seeks, live
harness-driven UI playback, cross-provider review PASS (FFI layouts
against shipped libvpx DWARF, valgrind-clean).2026-09-10
🐛 fix(engine): tests never open a playback deviceAhmet Kaan Gümüş · 429bf04
🐛 fix(engine): tests never open a playback device PlaybackSession::open connected a real PipeWire stream for every fixture — the 1 Hz pulse was the bip-bop on the speakers. VE_NO_AO=1 and cargo-test binaries under target/*/deps/ get a wall-clock silent sink instead; VE_AO=1 still forces the ignored ao_output suite onto the device.
2026-09-09
🐛 fix(app): a cross-lane shadow clamps where the engine clamps, and the strip says MOVEDAhmet Kaan Gümüş · 15b0c7f
🐛 fix(app): a cross-lane shadow clamps where the engine clamps, and the strip says MOVED The landing shadow for a clip let go over another lane read a whole-span overlap and drew REFUSED, while the engine only refuses a head let go inside a take or a gap too narrow to hold the clip -- an obstacle at (360, 420) with a 90-frame clip asked at 315 previewed refused and landed at 270. `cross_room` mirrors `Project::move_room` and the shadow reads it. With it: the bench catch-all answers an asset, a caption and a palette row too (a release off the rows reached nothing); a fresh drag forgets the previous gesture's lane and x; a move that lands writes its word to the ledger strip; and the head column is HEAD_W (60) px, not the 72 three comments claimed.
✨ feat(app): closing with unsaved work asks firstAhmet Kaan Gümüş · 4e75992
✨ feat(app): closing with unsaved work asks first A close request — alt+F4, the titlebar button, a session logout — is answered instead of obeyed when the timeline holds a clip and the project file does not hold the latest edit (the same `autosave_dirty` the ledger's `unsaved` state word reads). The window stays up and raises DESIGN §8's decision notice above the ledger: red spine, `UNSAVED — save ↵ · discard d · stay esc`, and while it is up it owns the keyboard. An empty timeline, or a saved one, closes exactly as before.
🐛 fix(app): a clip let go in the bench's left gutter lands at frame 0Ahmet Kaan Gümüş · bbc437b
🐛 fix(app): a clip let go in the bench's left gutter lands at frame 0 gpui fires on_drop only on an element whose own hitbox holds the pointer, and the bench's 12px side gutter was padding on the parent div -- so a release at x < 12, exactly where a hand aiming a clip at frame 0 puts it, reached no drop target and moved nothing, silently. The gutter now lives inside bench-content's own box: same pixels, and the catch-all release already written there now covers the edge.
🐛 fix(bench): a shadow that lies is a broken drag — clamp the landing, keep the laneAhmet Kaan Gümüş · 8bd7e0cBrowse files
✨ feat(bench): the drag lands where the hand aims — clamp, one threshold, refused shadowAhmet Kaan Gümüş · 80b1d82Browse files
wip(bench): drag feel — clamp, snap targets, preview — capped mid-workAhmet Kaan Gümüş · a35a1ffBrowse files
🐛 fix(app): a source's own subtitle tracks sit under it, not at the list's endAhmet Kaan Gümüş · e178f1e
🐛 fix(app): a source's own subtitle tracks sit under it, not at the list's end The Sources list appended every subtitle group after every media row, so a film's own track landed past two unrelated screen recordings. The order is planned by `source_list_order` now: a group follows the last row naming its file, a standalone .srt stays top-level and last. A group whose parent is in the list drops its group row and hangs its tracks bare under it; past three the disclosure returns, shut, with the count on the parent's metadata line. Two files whose rows read the same word say which folder they came out of, or #n when the folder is shared too.
🎨 style(app): the settings columns get heads a person can findAhmet Kaan Gümüş · fbea70a
🎨 style(app): the settings columns get heads a person can find
PROJECT/EDITOR/EXPORT were 12px ink3 -- the room's quietest type -- with a
prose tail running on after each ("I couldn't realize them when I look at").
They are room heads now: 15px Archivo 700 ink1, 12px of air below a row's own
gap, and the prose moved onto a hover plate (DESIGN §8, ≤6 words). DESIGN §3
carries the rule; in-list section heads stay 12px ink3.
The EXPORT Picture row said every refused format's reason after its value
("funny"). It says its own pick now: one value, and a refusal -- greyed value,
six words -- only where that pick is the refused one.