native ZMBV video codec
ketmar via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Sep 23 12:28:45 PDT 2014
Hello.
last night i ported ZMBV video codec to D. ZMBV is videocodec invented
by DosBox team to record old videogames' gameplay. if you are into
writing "old-school" games, it can be handy to embed the
possibility to creating gameplay video directly in your game.
it's only codec for now (i.e. it can't write .avi files, only encoding
and decoding raw frame data). it's a port of GPLv3 code, so it is GPLv3
too, sorry. documentation is non-existent for now, but i'm planning to
add some samples along with .avi writer.
codec is using libc malloc()/realloc()/free() for it's internal data
(and tries not to allocate things very often). yet it throws alot of
exceptions on invalid input or output, so beware.
sorry for shitty code, it's a port of a port of a port, and it was made
in a hurry.
here is the source:
http://repo.or.cz/w/iv.d.git/blob_plain/HEAD:/zmbv.d
p.s. don't bother to pull other modules from the repo: they either not
finished/polished or not written in 'standard D' anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20140923/122aa180/attachment.sig>
More information about the Digitalmars-d-announce
mailing list