video/fli: FLI / FLC / FLX animations (read)

Header (FLI 1/70 s, FLC ms, depths 8 / 15 / 16 / 24), frame chunks into containers/Demux, open() through the
registry's flic decoder (codecs/video/Legacy/Flic); the ring frame is dropped unless opts.ringFrame. Fixtures
encoded by tools/fixtures/fli.py (every chunk type) with ffmpeg's decode as the reference: bit-exact.
This commit is contained in:
4DBug committed 2026-10-31 14:24:29 -05:00
1 parent 8e3873c9fb
commit a1d2e7218c
5 files changed
+670

No files matched your search

+12
View File
@@ -290,6 +290,18 @@ local list: { Entry } = {
return require("@formats/video/avi")
end,
},
{
name = "fli",
category = "video",
path = "video/fli",
extensions = { "fli", "flc", "flx" },
mime = { "video/x-fli", "video/fli", "video/x-flc" },
deps = { "core/Err", "core/Bytes", "Types", "containers/Demux", "codecs/video/Video" },
caps = { decode = true, encode = false, streaming = true, video = { "flic" }, depths = { 8, 15, 16, 24 } },
load = function()
return require("@formats/video/fli")
end,
},
{
name = "h264",
category = "video",