Skip to main content
gamedev.net
🔒 Locked

Creating codecs

Started by Ryan_001 5 replies 800+ views
Original Post
Ryan_001
Ryan_001
In my spare time I''ve developed a few video compression / decompression routines. There are 3 of them that are of particular interest and I would like to polish them and release them for general consumption. That said I haven''t the slightest clue as to how to take my sleek C++ code, and create a Media codec. If anyone has any information whatsoever, a link, or any place that might get me started I would greatly appreciate it. I''ve searched in MSDN and all over yahoo, webcrawler, ect.. but all I get are links to how to use codecs, not how to create them.
cnstrnd
cnstrnd
May be DirectShow filter ?
Michalson
Michalson
I have done a very simple video for windows video codec (it was a long time ago, and even if I had the source I doubt it would be useful to you, since it was coded in Delphi). For reference I would suggest you lookup the Huffyuv codec. It comes with complete source, which I found helpful. Video codecs basically have a single entry procedure that takes a message id and some parameters. The various messages do things like starting compression, querying capabilities and requesting config/about windows. Just take some of the messages used in the main module of Huffyuv (it''s a big case statement) and plug them into MSDN, IIRC they where all together in a list, so if you find one you''ll find them all.
Ryan_001
Ryan_001
Thanks guys for the help. The huffyuv codec homepage is down. The link I got (straight from the huffyuv 2.1.1 codec zip) is
http://math.berkeley.edu/~benrg/huffyuv.html
but the site is down, any idea where else I can get the source? Fortunetly the sourceforge search that was supplied has a few links that look promising. I''ll give those keywords a lookup on MSDN, see what I can find. In the mean time, if anyone has any concrete links, and/or any other ideas, the help would be appreciated.
Michalson
Michalson
I''ve uploaded the source code I have (1.3.1) here
Ryan_001
Ryan_001
Thats great. Thanks!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.