4DBug
0c9094d28a
ws-video: bench block (whole pipeline fps for MJPEG AVI / MPEG-1 TS / VP8 WebM / Y4M at 320x240 and 640x480, y4m -> MJPEG AVI), docs/video.md (API, layers, how a codec plugs into the registry), NOTICE row for mpegts-luau
2026-10-31 10:05:09 -05:00
4DBug
26f4e0cb60
ws-video: video/mp4 (MP4 / MOV / 3GP on containers/IsoBmff: edit lists, fragments, dOps -> OpusHead, PCM entries, AAC priming as codec delay; writer: copied H.264 / HEVC / AV1 / MJPEG / AAC / ALAC / Opus / FLAC / MP3, MJPEG from frames, PCM in MOV, edit lists for B-frame / codec delays); IsoBmff Mux writes no empty DecoderSpecificInfo (ffmpeg refuses it); writer checks extended to MP4 / MOV / H.264 remux
2026-10-31 10:02:25 -05:00
4DBug
7165690029
ws-video: writers checked by ffprobe / ffmpeg (tools/fixtures/videoenc.py + _video_encode.luau, tests/video/encode.luau); constant-rate output for AVI / Y4M shared in Source.constantRate (uneven GIF delays repeat frames)
2026-10-31 09:59:16 -05:00
4DBug
1cd0fdfc24
ws-video: MJPEG (codecs/Jpeg, yuv420p full range; encoder remaps limited-range frames) and MPEG-1 (codecs/Mpeg1, display reordering with the packet pts as tag) in the codec registry; VideoFrame times count from the demuxer's startTime (TS starts at 1.4 s); Matroska Vorbis keeps its codec delay; fixtures decode with -fps_mode passthrough
2026-10-31 09:57:26 -05:00
4DBug
dac404aa52
ws-video: merge ws/video-codecs (codecs/Jpeg, codecs/Mpeg1)
2026-10-31 09:53:26 -05:00
4DBug
196c6caeb2
ws-video: Vorbis granules from the block sizes (exact Ogg pages for Matroska Vorbis), ADTS AAC from TS passed through, audio checks read until filled
2026-10-31 09:53:16 -05:00
4DBug
d79ddd5c08
ws-video: merge master (m4a, music, ...)
2026-10-31 09:50:42 -05:00
4DBug
fd2d9441a9
ws-video: video/mpegts (containers/MpegTs absorbed from mpegts-luau 6e16197, its unit queue fixed for LuaJIT; M2TS, resync before the first packet, private stream types by PES id), video/mpegps (containers/MpegPs: MPEG-1 / MPEG-2 packs, PSM, private stream 1; pictures cut from the joined ES, PTS from PES / GOP temporal references; raw .m1v), containers/MpegEs; tests vs ffprobe / ffmpeg
2026-10-31 09:50:42 -05:00
4DBug
850ec634a6
ws-video-codecs: bench lines: MJPEG decode (yuv / rgba) and yuv420p encode fps at 320x240 / 640x480, MPEG-1 decode fps (yuv / rgba)
2026-10-31 09:49:33 -05:00
4DBug
d221bb5327
ws-video: video/avi tests (OpenDML / idx1 / scan, PCM / ADPCM / MP2 audio, raw RGB / I420, mux round trip), video/y4m tests (every C tag, 10-bit, writer), empty audio chunks are padding
2026-10-31 09:45:10 -05:00
4DBug
87d22bf67a
ws-video-codecs: mjpeg fixtures as base64 / zlib (8.6 -> 1.0 MB); codecs/Jpeg: no type assertion as an assignment target (darklua)
2026-10-31 09:42:30 -05:00
4DBug
2493b9db36
ws-video-codecs: codecs/Mpeg1 absorbed from mpeg1-luau e2e2898 (jsmpeg port, MIT: licenses/jsmpeg-MIT.txt + NOTICE); requires and headers, frameImage (yuv420p / rgba8 copies); IDCT kept (bit-identical to codecs/Dct islow in put mode, but MPEG adds residuals before clamping); tests/codecs/mpeg1.luau + tools/fixtures/mpeg1.py (base64 / zlib fixtures, 5.6 MB)
2026-10-31 09:41:27 -05:00
4DBug
9411cd97c6
ws-video: video/mkv tests (ffprobe packets, ffmpeg audio, lacing / zlib / unknown clusters / subtitles, WebM remux), zlib content compression, codec-delay trimming of non-Opus audio (AudioWrap.trim), video/y4m, containers/Avi + video/avi (WIP tests)
2026-10-31 09:41:22 -05:00
4DBug
fa98dd77c2
merge ws/audio
2026-10-31 09:37:28 -05:00
4DBug
33a5a5b409
ws-video-codecs: codecs/Jpeg: yuv output crops four samples per write and reuses one frame-sized IDCT plane between calls
2026-10-31 09:37:01 -05:00
4DBug
43da7d723c
ws-video-codecs: codecs/Jpeg: 4:2:2 / 4:4:4 as ffmpeg writes them (2x2/1x2, 1x2) for yuv output; tests/codecs/jpeg.luau + tools/fixtures/mjpeg.py (ffmpeg mjpeg frames bit-exact vs TurboJPEG planes / djpeg, PSNR vs ffmpeg, stripped DHT, AVI1, fields, yuv420p encode byte-identical with tj3CompressFromYUV8)
2026-10-31 09:35:34 -05:00
4DBug
4a9ca949e6
fixtures: tracker generators load _tracker by path (tools/fixtures/ on sys.path shadowed xml with xml.py)
2026-10-31 09:34:04 -05:00
4DBug
8311620631
merge ws/music
2026-10-31 09:33:13 -05:00
4DBug
5249d950bb
ws-music: loop test compares durations at their own rates
2026-10-31 09:32:26 -05:00
4DBug
6c3a4ad358
ws-music: tracker seek / loop tests
2026-10-31 09:32:09 -05:00
4DBug
3796ce674d
ws-music: music/it read + render (IT 2.14/2.15 decompression, NNA, filters, pitch-pan, OpenMPT note-fade coding), tracker tests tightened, MOD->XM + API checks, tracker bench lines, NOTICE
2026-10-31 09:31:34 -05:00
4DBug
8a905a4510
ws-video: video foundation: Types video section made concrete (Track / Packet / Demuxer / VideoFrame / VideoDecoder / VideoCodecDecoder), codecs/Video (codec registry by id / FourCC / Matroska id, generic VideoDecoder over a Demuxer, frames-backed videos, Source for writers), codecs/Yuv, containers/Demux (indexed demuxer), containers/Ebml, containers/AudioWrap; video/mkv (Matroska / WebM demux + mux, WIP: tests next)
...
api (init.luau, small, backward compatible): KIND_CATEGORY.video; withHooks adds opts.openAudio (audio tracks of video containers reach the audio formats through AudioWrap); F.load of a video format returns its VideoDecoder instead of draining it as audio; F.open passes the hooks and opens animated images as frames-backed videos (F.video.open(gif)); F.save of an Image to a video format wraps it (F.convert(gif, 'avi')); F.video.fromImage, F.video.codecs.
2026-10-31 09:31:21 -05:00
4DBug
43b8f4b4f5
ws-audio: merge master (ws/m4a codecs/Mdct already in use since 6535a3c; audio/opus encoder, data, vec, 3d, webp)
2026-10-31 09:29:36 -05:00
4DBug
4f46af8fd2
ws-audio: Vorbis encoder (audio/vorbis/Encode: long blocks, floor 1 fit to the envelope, square-polar coupling, residue 2 with 6 classes + cascades, fixed Laplacian-Huffman codebooks, exact granules, Ogg via containers/Ogg Mux) wired into audio/vorbis encode; fixtures: ogginfo clean, oggdec exact lengths + SNR floors, ffmpeg; bench line
2026-10-31 09:29:09 -05:00
4DBug
5e6909e34a
ws-video-codecs: codecs/Jpeg (the JPEG engine moved down from image/jpeg; byte-range API, yuv420p decode / encode, AVI1 fields); image/jpeg is a thin format over it
2026-10-31 09:28:38 -05:00
4DBug
7c0486eb72
test.sh: skip _helper modules (tests/**/_*.luau)
2026-10-31 09:24:14 -05:00
4DBug
9456a90e4f
merge ws/m4a
2026-10-31 09:23:57 -05:00
4DBug and Claude Opus 5.5
f5997ebedb
ws-m4a: m4a extensions (m4a, m4b, m4r)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:23:26 -05:00
4DBug and Claude Opus 5.5
c43c56eadd
ws-m4a: CELT-only Opus encoder in audio/opus (RangeEncoder + CeltEncoder ported from the libopus 1.6 encoder paths to mirror the absorbed decoder: 20 ms full-band CBR, mono and mid/side stereo, silence frames; Encode: Ogg Opus with OpusHead/OpusTags, end trimming, 48 kHz resampling); checked by opusdec / opusinfo / ffmpeg; Opus.caps.encode = true (opus test updated), deps += codecs/Mdct
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:22:52 -05:00
4DBug
e817053a40
ws-audio: MP3 layer III encoder (Encode3: shine-style CBR, MPEG-1/2/2.5, mono/stereo/joint MS, global-gain rate loop, region/table choice, count1 A/B) + MP2 layer II encoder (Encode2: standard alloc tables, greedy noise allocation, grouping), shared polyphase Analysis, EncTables (PDMP3 public-domain window + Huffman trees -> codeword tables); mp3 init encode() with ID3v2.4; fixtures decode with ffmpeg + lame (no errors, SNR floors); bench lines
2026-10-31 09:18:23 -05:00
4DBug
31f632f897
ws-music: music/xm read/write/render (FT2 / OpenMPT instrument, tremor, envelope and E6x quirks), tone portamento never starts MOD/XM notes
2026-10-31 09:18:07 -05:00
4DBug
75c677074a
merge ws/webp
2026-10-31 09:12:40 -05:00
4DBug
9821cd129b
merge ws/vec: svg (+raster), psd, aseprite, tiled, srt/vtt/ass, codecs/Blend, core/Base64, ops/LayerOps
2026-10-31 09:12:40 -05:00
4DBug
06be7e5aa9
ws-webp: raw ALPH fixtures with every filter (horizontal / vertical / gradient), Config type fix
2026-10-31 09:09:35 -05:00
4DBug
5155ca5ba3
vec: bench lines (psd decode/encode, flatten, svg parse/rasterize); psd: fast 8-bit RGB/grey channel merge
2026-10-31 09:09:26 -05:00
4DBug
adb8295bfc
ws-webp: merge ws/absorb (containers/Riff); image/webp reads and writes its chunks through containers/Riff (private chunk reader removed); bench lines merged; registry regenerated
2026-10-31 09:08:44 -05:00
4DBug
91eba2bc24
merge ws/3d: obj stl ply off vox gltf/glb, ops/MeshOps, codecs Base64/MeshFlatten, api sibling files + texture encoding
2026-10-31 09:08:22 -05:00
4DBug
56f2423e2c
compat test: NaN checks use Suite.check; host: raise LuaJIT trace / mcode limits (opt-out FORMATS_NO_JIT_TUNE)
2026-10-31 09:07:40 -05:00
4DBug and Claude Opus 5.5
c3cf73e29f
ws-m4a: merge ws/absorb (audio/opus, containers/Ogg, ...) for the CELT encoder; m4a fixtures load their helper by path (tools/fixtures/ on sys.path shadowed the xml package)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:07:22 -05:00
4DBug
15b742cada
compat: float reads return the canonical NaN for NaN payloads (checked through the bits: no aliased LuaJIT object values); host: raise LuaJIT trace / mcode limits (opt-out FORMATS_NO_JIT_TUNE)
2026-10-31 09:07:07 -05:00
4DBug and Claude Opus 5.5
e39820665e
ws-3d: bench lines (glTF / OBJ / STL / PLY / VOX decode, glTF / OBJ encode, computeNormals, greedy meshing)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:06:05 -05:00
4DBug
3408cb9b6b
vec: vector/svg (parse to Vector: paths/arcs, shapes, transforms, groups, use/symbol/nested svg, CSS subset, gradients, opacity groups, clip paths, units; rasterize via codecs/Raster + codecs/Blend; write SVG back). Tests vs resvg (PSNR) incl. resvg rendering our written SVG
2026-10-31 09:06:01 -05:00
4DBug
4dbd236962
ws-audio: tests/audio/flac.luau: caps.encode is now true, F.save flac works
2026-10-31 09:05:04 -05:00
4DBug
e2001b6c43
ws-audio: tests/audio/flac.luau: caps.encode is now true
2026-10-31 09:04:45 -05:00
4DBug and Claude Opus 5.5
e5a932ddaa
ws-3d: tests/ops/meshops (triangulate, transform, normals, tangents, weld, merge, bounds, units, up axis, greedy voxels, api texture encoding)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:04:33 -05:00
4DBug
471b7636ef
ws-audio: FLAC encoder (audio/flac/Encode: levels 0-8 like libFLAC presets, fixed + LPC + Rice/Rice2 partition search, wasted bits, stereo decorrelation, MD5, VORBIS_COMMENT, SEEKTABLE, padding; streams from a Decoder) wired into audio/flac encode; core/Md5 (new core module, RFC 1321) + test; fixtures: flac -t + MD5 bit-exact on 76 encodes, sizes within 1.1% of libFLAC; bench lines
2026-10-31 09:04:31 -05:00
4DBug and Claude Opus 5.5
fb339607a7
ws-m4a: bench lines (AAC-LC / ALAC decode, ALAC encode, MDCT; bench.sh also builds the m4a fixtures); m4a decoder bitrate from the sample sizes
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:04:03 -05:00
4DBug
8e49c997ce
bench.luau: rebuilt after the wave-1 merges (all workstreams' blocks)
2026-10-31 09:03:36 -05:00
4DBug and Claude Opus 5.5
f66594908c
ws-m4a: codecs/Aac (AAC-LC decoder: ASC / PCE / ADTS, all tools, SBR/PS extension hook), codecs/Alac (decoder + encoder), audio/m4a (AAC + ALAC read, ALAC write, tags, gapless, seek), audio/aac (ADTS), audio/caf (lpcm/alac/aac/ulaw/alaw read, lpcm/alac write); fixtures checked by ffmpeg / fdkaac / MP4Box
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:03:04 -05:00
4DBug
dc8fedbd62
ws-webp: inline the boolean decoder in the VP8 token loop, cheaper loop-filter tests, no closures in 4x4 prediction; speed notes
2026-10-31 09:03:02 -05:00