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
4DBug2026-10-31 10:29:56 -05:00
52a34f50ed
merge ws/video: resolve init.luau (openAudio + plugins hooks, cad and video facades)
4DBug2026-10-31 10:22:56 -05:00
51eec67789
ws-video: merge ws/video-vp8 (final); F.open wraps images as videos only for category video (F.video.open); F.video.fromFrames for image sequences
4DBug2026-10-31 10:11:01 -05:00
76e548b581
ws-video-vp8: mode info arrays and the row prediction buffer allocated by the first inter frame and kept (one-shot key frame decodes skip them); speed note in the header
4DBug2026-10-31 10:10:19 -05:00
0c7b316998
ws-video-vp8: bench lines (VP8 decode fps 320x240 / 640x480, LuaJIT also with the host's trace limits), damaged inter frame pass in the test, type fix
4DBug2026-10-31 10:08:08 -05:00
6fcf717214
ws-h264: tests (bit-exact vs ffmpeg, AVCC, NAL-at-a-time, unsupported, fuzz), bench lines; LuaJIT speedups (no table-allocating if-expressions, arithmetic bit reads, branch-free CABAC decisions, split MC filters)
4DBug2026-10-31 10:07:39 -05:00
93a7f44ce0
ws-video: VP8 checks are strict now (inter frames merged); writer fixtures include the VP8 re-encodes
4DBug2026-10-31 10:06:25 -05:00
b0b47007dc
ws-video: merge ws/video-vp8 (VP8 inter frames)
4DBug2026-10-31 10:05:56 -05:00
33318c8b73
ws-video: animated WebP through F.video.open checked against Pillow's canvases
4DBug2026-10-31 10:05:40 -05:00
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
4DBug2026-10-31 10:05:09 -05:00
828389b643
ws-video-vp8: small copies / fills through readu32 / writeu32 (buffer.copy of 4-16 bytes costs ~45 ns in Luau)
4DBug2026-10-31 10:04:42 -05:00
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
4DBug2026-10-31 10:02:25 -05:00
087e1c861e
ws-video-vp8: faster loop filters (DoFilter2/4/6 inlined, flat positions skipped, shifts instead of divisions), branch-free getBit, row-wise inter prediction (LuaJIT traces), no table allocation in getCoeffs on LuaJIT
4DBug2026-10-31 10:01:41 -05:00
8d2deb13ab
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)
4DBug2026-10-31 09:59:16 -05:00
bd06545e2e
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
4DBug2026-10-31 09:57:26 -05:00
08ea206447
compat: __iter walks 1..#t skipping holes (sparse integer maps / arrays with holes visited fully on LuaJIT, as in Luau)
4DBug2026-10-31 09:56:39 -05:00
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
4DBug2026-10-31 09:50:42 -05:00
6e3a044556
ws-video-codecs: mjpeg fixtures as base64 / zlib (8.6 -> 1.0 MB); codecs/Jpeg: no type assertion as an assignment target (darklua)
4DBug2026-10-31 09:42:30 -05:00
ed76378cd0
ws-video-codecs: codecs/Jpeg: yuv output crops four samples per write and reuses one frame-sized IDCT plane between calls
4DBug2026-10-31 09:37:01 -05:00
c0e8a89050
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)
4DBug2026-10-31 09:35:34 -05:00
279304ef30
fixtures: tracker generators load _tracker by path (tools/fixtures/ on sys.path shadowed xml with xml.py)
4DBug2026-10-31 09:34:04 -05:00
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)
4DBug2026-10-31 09:31:21 -05:00
9fd479e2d3
ws-audio: merge master (ws/m4a codecs/Mdct already in use since 6535a3c; audio/opus encoder, data, vec, 3d, webp)
4DBug2026-10-31 09:29:36 -05:00
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
4DBug2026-10-31 09:29:09 -05:00
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
4DBug2026-10-31 09:28:38 -05:00
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
4DBug2026-10-31 09:22:52 -05:00
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
4DBug2026-10-31 09:18:23 -05:00
8b8b64885f
ws-music: music/xm read/write/render (FT2 / OpenMPT instrument, tremor, envelope and E6x quirks), tone portamento never starts MOD/XM notes
4DBug2026-10-31 09:18:07 -05:00
8e9309a06f
compat test: NaN checks use Suite.check; host: raise LuaJIT trace / mcode limits (opt-out FORMATS_NO_JIT_TUNE)
4DBug2026-10-31 09:07:40 -05:00
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)
4DBug2026-10-31 09:07:22 -05:00
94f9a68d50
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)
4DBug2026-10-31 09:07:07 -05:00
7a6ba8ef10
ws-webp: inline the boolean decoder in the VP8 token loop, cheaper loop-filter tests, no closures in 4x4 prediction; speed notes
4DBug2026-10-31 09:03:02 -05:00
35891a06d1
ws-3d: model/stl (ASCII + binary, VisCAM / Magics colours), model/ply (ASCII + binary LE/BE, arbitrary properties, point clouds, raw extra elements), model/off (OFF/COFF/NOFF/STOFF, face colours), read + write; codecs/MeshFlatten (Scene -> one world-space mesh for the mesh-only writers, shared instead of a copy per format); tests vs assimp / trimesh / plyfile, reference tools reading our output
4DBug2026-10-31 09:02:59 -05:00
c56ca75ed2
ws-webp: encoder tries several transform configurations at effort 6+ (palette vs predictor, tile sizes); argument validation in encode / coalesce; NOTICE row for the libwebp ports
4DBug2026-10-31 09:00:59 -05:00