Discussion:
How create a new video codec ?
(too old to reply)
filus
2004-02-16 11:09:45 UTC
Permalink
Hi,
premising that I am a beginner with the dshows, I want to create a
video codec using dshow. Then I want to create an video encoder and a
video decoder. I know him that I ask a lot, but I don't know from where
to begin. Help me please.

Thanks to everybody.
Alessandro Angeli [MVP::DigitalMedia]
2004-02-16 11:33:51 UTC
Permalink
Post by filus
Hi,
premising that I am a beginner with the dshows, I want
to create a video codec using dshow. Then I want to
create an video encoder and a video decoder. I know him
that I ask a lot, but I don't know from where to begin.
Help me please.
http://msdn.microsoft.com/library/en-us/directx9_c/directX/htm/workingwithcodecs.asp

I'll add that VCM/ACM codecs work with older programs that
use VfW and MM APIs, while DMOs or filters work best with
WMP. Which way to go depends on what your requirements are:
most codecs that must work in AVI are implemented as a VCM
codec and DirectShow decoder, while MPEG codecs or codecs
for other containers, like ASF, are usually pairs of
DirectShow filters.
--
/**
* Alessandro Angeli
*
* MVP::DigitalMedia
*
* a dot angeli at biosys dot net
*/
raffaele.scaramella@libero.it
2004-02-16 12:36:06 UTC
Permalink
I would like to create to codec to use with AVI container. Where can I
find the specifications or examples or tutorial for the creation of it?
Where can I find tutorial or examples on vcm/acm?

Thanks to everybody
Post by Alessandro Angeli [MVP::DigitalMedia]
Post by filus
Hi,
premising that I am a beginner with the dshows, I want
to create a video codec using dshow. Then I want to
create an video encoder and a video decoder. I know him
that I ask a lot, but I don't know from where to begin.
Help me please.
http://msdn.microsoft.com/library/en-us/directx9_c/directX/htm/workingwithcodecs.asp
I'll add that VCM/ACM codecs work with older programs that
use VfW and MM APIs, while DMOs or filters work best with
most codecs that must work in AVI are implemented as a VCM
codec and DirectShow decoder, while MPEG codecs or codecs
for other containers, like ASF, are usually pairs of
DirectShow filters.
Alessandro Angeli [MVP::DigitalMedia]
2004-02-16 13:44:30 UTC
Permalink
A VCM/ACM codec is an installable driver, that is a user-mode DLL the
exports the DriverProc() entrypoint and supports a given set of driver
messages (in your case, ICM_* messages). All of this is documented in the
(free) Platform SDK.

Installable Drivers:

http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_installable_drivers.asp

Video Compression Manager:

http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_video_compression_manager.asp

ICM messages:

http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_multimedia_messages.asp

There is no sample codec in the Platform SDK but you can find the source
code of XviD on the web.
Post by ***@libero.it
I would like to create to codec to use with AVI container. Where can I
find the specifications or examples or tutorial for the creation of
it? Where can I find tutorial or examples on vcm/acm?
Thanks to everybody
Post by Alessandro Angeli [MVP::DigitalMedia]
Post by filus
Hi,
premising that I am a beginner with the dshows, I want
to create a video codec using dshow. Then I want to
create an video encoder and a video decoder. I know him
that I ask a lot, but I don't know from where to begin.
Help me please.
http://msdn.microsoft.com/library/en-us/directx9_c/directX/htm/workingwithcodecs.asp
Post by ***@libero.it
Post by Alessandro Angeli [MVP::DigitalMedia]
I'll add that VCM/ACM codecs work with older programs that
use VfW and MM APIs, while DMOs or filters work best with
most codecs that must work in AVI are implemented as a VCM
codec and DirectShow decoder, while MPEG codecs or codecs
for other containers, like ASF, are usually pairs of
DirectShow filters.
--
Alessandro Angeli

MVP::DigitalMedia

a dot angeli at biosys dot net
Loading...