Commit Graph
11 Commits
Author SHA1 Message Date
4DBugandClaude Opus 5.5 f70fa346a2 ws-video2: docs/guide/video.md MPEG-2 section (tested snippet, tsBytes clip), formats table; docs/video.md layers
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 14:53:04 -05:00
4DBugandClaude Opus 5.5 a7d44451c4 ws-apifix: MP4 AAC length matches ffmpeg: the edit list's length (Track.playDuration) cuts the end padding as well as the priming (codecDelay); a 1 s clip decodes to 44100 frames, not 45056. AudioWrap.trim(dec, skip, length?); the MP4 writer keeps the edit length of copied audio. Video tests compare the whole decoded audio length with ffmpeg (not yet for Matroska)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 14:13:08 -05:00
4DBugandClaude Opus 5.5 51630729f6 ws-apifix: one bitrate unit: every encoder's bitrate option is bit/s (MP3 now too), values below 1000 are kbit/s (the old MP3 values keep working; Opus accepts them too); the MP3 Decoder's bitrate field is bit/s as the Decoder contract says (was kbit/s)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 14:06:51 -05:00
4DBugandClaude Opus 5.5 2abada340b ws-apifix: an outline font saved as BMFont writes its pages (opts.files; without a destination F.save returns them as a third value { [page file] = PNG bytes }; caps.extraFiles); pages named after the destination
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 14:03:45 -05:00
4DBugandClaude Opus 5.5 4557a3c792 ws-apifix: videos save as animated images (F.save(video, gif | apng | webp), F.convert(avi, "gif"): frames / fps / maxFrames (300) / maxPixels (2^25)); VideoFrame.index restarts at the seek position; F.detect names WebM files "webm"
api: encoderFor finds image formats for a VideoDecoder, videoToImage() collects the frames; F.detect asks a
format's optional variant(r) for a more precise name (video/mkv: Mkv.variant, from Parse.docType).
codecs/video/Video: index after seek = round(pts * frameRate) + 1.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 14:00:36 -05:00
4DBugandClaude Opus 5.5 4fb5c3a155 ws-apifix: music is audio (F.save / F.convert of a Module or Midi to an audio format renders it, render options from opts; F.audio.open / load render music bytes), F.music builder (ops/MusicOps: new, addPattern, setCell / getCell, addSample, addInstrument, note; also F.ops.music), MIDI writer writes track.name as a 0x03 event
api (init.luau): detectFor() falls back from audio to rendering music formats; encoderFor finds audio formats for
music values; renderMusic() through codecs/audio/Tracker or music/midi render.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 13:56:21 -05:00
4DBugandClaude Opus 5.5 90c5886f61 ws-apifix: F.ops.layers.flatten applies the mask of a passThrough group (codecs/image/Blend lerp takes a mask)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 13:50:05 -05:00
4DBugandClaude Opus 5.5 fd9684b903 ws-docs: guide pages cad, font, layered, music, playlist, subtitles, tilemap, video; runnable examples per category; README converting note
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 13:25:10 -05:00
4DBugandClaude Opus 5.5 66cf0c4a6b ws-docs: recipes: MIDI render, glTF to OBJ, vox greedy mesh, zip, CSV, SVG to PNG, TTF bake to BMFont, drawing text
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 13:18:01 -05:00
4DBugandClaude Opus 5.5 25782c9bfd ws-docs: guide pages archive, audio, data, image, scene, vector; recipes (first part); docs input generators
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 13:16:12 -05:00
4DBugandClaude Opus 5.5 08886d7052 ws-docs: docs/guide/README.md (installing, inputs, detection, errors, options, saving, converting, hosts); LÖVE example: SVG tile, GIF played as a video with a per-update decode budget
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 13:09:04 -05:00