4DBug
7271e6e3fa
ws-h264: F.video.open end to end on MP4 / MKV / TS / AVI / raw H.264 (bit-exact vs ffmpeg), display-order pts from the sorted packet times; JVT conformance test (48 streams bit-exact vs JM yuv, 4 refused); video/mp4 writer: a video edit list plays every frame (the B-frame delay no longer cut 2 frames off the end); tests tune LuaJIT through host
2026-10-31 10:53:34 -05:00
4DBug
84101d919e
ws-h264: merge master
2026-10-31 10:29:56 -05:00
4DBug
d4486dccce
ws-h264: merge ws/video; codecs/Video registers h264 (avc1/avc3/H264/... FourCCs, V_MPEG4/ISO/AVC) via H264.newVideoDecoder; video/h264 raw Annex B format (demux by access unit, copy-writer from MP4/MKV samples); MMCO 5 resets frame_num (JVT MR2/MR4/MR5); meta.yuv from the VUI
2026-10-31 10:29:56 -05:00
4DBug
2eaed46eea
merge ws/video: containers mkv/avi/mp4/ts/ps/y4m (+writers), codecs Jpeg/Mpeg1/Vp8 inter/Video registry, AudioWrap, F.video.open
2026-10-31 10:22:17 -05:00
4DBug
3dd0b59784
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
f2a4a33713
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
17c00a15df
merge ws/3d2
2026-10-31 09:55:41 -05:00
4DBug
ba996820b5
ws-video: merge ws/video-codecs (codecs/Jpeg, codecs/Mpeg1)
2026-10-31 09:53:26 -05:00
4DBug
e044209ab1
ws-video: merge master (m4a, music, ...)
2026-10-31 09:50:42 -05:00
4DBug
aa4963dc27
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
b275bdb498
Merge branch 'ws/3d2-step' into ws/3d2
2026-10-31 09:47:00 -05:00
4DBug
a4751298ed
Merge branch 'ws/3d2-usda' into ws/3d2
2026-10-31 09:47:00 -05:00
4DBug
dd453c336e
ws-3d2: merge ws/3d2-dae (model/dae); registry regenerated
2026-10-31 09:47:00 -05:00
4DBug
312cd3c10e
ws-3d2: merge ws/3d2-3mf (model/3mf); registry regenerated, bench lines merged
2026-10-31 09:46:52 -05:00
4DBug
d4affd565e
ws-3d2/fbx: model/fbx (binary 7.x + ASCII read, binary 7.4 / 7.5 + ASCII write): node tree, Objects / Connections -> Scene (full transform model, layer elements, materials, textures, skins, blend shapes, animation stacks, cameras, lights); tests against assimp + Blender, round trips, fuzz; bench lines
2026-10-31 09:46:25 -05:00
4DBug
a2763bee35
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
3e658042e3
ws-3d2/usda: model/usda - USD ASCII read / write (+ USDZ read), checked against OpenUSD (pxr), assimp's USD models and Blender exports
...
Reads stage metadata, xform op stacks (every rotate order, orient, transform, pivots / !invert!, resetXformStack),
time samples -> TRS animation, Mesh (all primvar interpolations + indices, GeomSubsets, holes, leftHanded),
UsdPreviewSurface / UsdUVTexture / UsdTransform2d materials with inherited bindings, cameras, UsdLux lights,
selected variants. USDC returns UNSUPPORTED. Writes Xform / Mesh / GeomSubset / Material / Camera / lights.
2026-10-31 09:41:47 -05:00
4DBug
788d0b5332
ws-3d2/dae: model/dae (Collada 1.4/1.5 + .zae) read: geometry (all primitive kinds, shared offsets), common-profile materials + images, node tree (all transform elements, instance_node), skin + morph controllers, cameras, lights, animations resampled to TRS channels (clips); write: Collada 1.4.1 / .zae (meshes, materials, images, nodes, cameras, lights). Tests against assimp's Collada models (nixpkgs assimp.src at fixture time), assimp exports of glTF samples vs their originals, assimp reading our output, round trips, fuzz
2026-10-31 09:41:27 -05:00
4DBug
4d71539740
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
3ae152ac81
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
6941b63435
merge ws/audio
2026-10-31 09:37:28 -05:00
4DBug
443a7e45cb
ws-3d2/step: cad/step (ISO 10303-21 read/write + injected B-rep plug-in)
...
- src/Formats/cad/step: Part 21 editions 1-3 parsed into Types.Cad fully in-library (header, named DATA sections,
complex instances, every parameter kind, string escapes to UTF-8, comments, ANCHOR/REFERENCE/SIGNATURE kept raw);
writer round-trips at the entity level (integral reals keep their real-ness via a list metatable mark).
- B-rep plug-in: a small injected table { read, write, tessellate } (or brep-luau's { Step, StepBrep, StepWrite, Tess }
as is), taken from opts.brep / opts.plugins.brep; Step.toBodies / fromBodies / tessellate (-> Scene, z up, mm).
- Types.luau: StepEntity gains optional parts (complex instances) and section (edition 3); backward compatible.
- init.luau (api): withHooks also passes opts.plugins = F.plugins to decoders/encoders unless given; new facades
F.cad.toBodies / fromBodies / tessellate (pass F.plugins, pcall, Err-wrapped). Backward compatible.
- tests/cad/step.luau + tools/fixtures/step.py: OCCT (gmsh) generated and public STEP files, Python census, OCCT reads
our output back, brep-luau through a generated tests/gen/.luaurc alias (luau only), fuzz.
- tools/bench.luau: step parse / write lines.
2026-10-31 09:33:58 -05:00
4DBug
80383dcdd7
ws-3d2/3mf: model/3mf read / write (core, materials extension: base / colour / texture2d groups, composite, multiproperties; components, production p:path parts, units, metadata); tests against lib3mf 2.5 (its test suite), assimp, trimesh, our output read back by all three; bench lines
2026-10-31 09:33:43 -05:00
4DBug
c56d2ac71d
merge ws/music
2026-10-31 09:33:13 -05:00
4DBug
7754646a86
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
967703a4d4
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
9fd479e2d3
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
cb05744367
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
2ca0d1f10a
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
e1ffb21494
merge ws/m4a
2026-10-31 09:23:57 -05:00
4DBug
1749b9b9fc
ws-m4a: m4a extensions (m4a, m4b, m4r)
2026-10-31 09:23:26 -05:00
4DBug
84d45c8190
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
2026-10-31 09:22:52 -05:00
4DBug
929b5d6d53
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
8b8b64885f
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
646d18f056
merge ws/webp
2026-10-31 09:12:40 -05:00
4DBug
1c24e03cd7
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
d19c949e95
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
381510c3c5
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
29a95ce24f
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)
2026-10-31 09:07:22 -05:00
4DBug
6c54b0c6d5
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
c74c93ae11
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
83d43f6c6d
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
2026-10-31 09:03:04 -05:00
4DBug
e379f27eb8
ws-3d: regenerate Registry.luau / docs/FORMATS.md
2026-10-31 09:02:59 -05:00
4DBug
ca262e19df
merge ws/imgA: jpeg gif tiff tga qoi pnm ico hdr, codecs Dct/Lzw/Quantize, ops/ImageOps, api image hooks
2026-10-31 09:00:39 -05:00
4DBug
b51f5be542
merge ws/absorb: bmp wav mp3 flac opus zip playlists (+APNG, writers), containers Ogg/Riff/Zip, codecs Url/Text
2026-10-31 09:00:09 -05:00
4DBug
cf7c1b8ad2
ws-music: music/s3m read + render (OpenMPT-matched master volume / mono rule / default panning), finer comparison bands, voice ownership fix
2026-10-31 09:00:04 -05:00
4DBug
e8d2ba81c2
merge ws/data: codecs Json/Xml, data json xml csv ini toml yaml msgpack cbor plist
2026-10-31 08:59:44 -05:00
4DBug
f0f1eb6c47
imgA: merge ws/imgA-simple (tga, qoi, pnm, ico, hdr)
2026-10-31 08:58:09 -05:00
4DBug
8e527d6702
absorb: playlist/xspf (new: XSPF 1 read / write on codecs/Xml, xml:base, every track field); tests vs ElementTree-written files
2026-10-31 08:57:35 -05:00
4DBug
e11f07dade
Merge branch 'ws/data-yaml' into ws/data
2026-10-31 08:56:36 -05:00