Windows VFW Decoder plugin
Warning: OUTDATED!
Wincodec does NOT work with current 0.96 Release of CS! It was
made using an older release and there is no update as of yet.
I do not recommend downloading any of the files below, they
won't work.
Back to Projects with Crystals
Space..
Back home..
This plugin is a decoder plugin for Crystal Space. It uses VFW
api.
Installation (sorry, MingW32 / Cygwin
ONLY):
- Unzip wincodec.zip in your CS\
folder.
- place libvfw32.a in your folder (see
below)
- Add the lines
PLUGINS.DYNAMIC += video/format/codecs/wincodec
PLUGINS.DYAMIC += video/format/avi
to your CS\mk\local.mak file (may not exist yet- just create a
file with the 2 lines then).
- Do "make -k all"
- Do "scfreg wincodec.dll"
- Try csvid with some avi video. The video file must be named
"video.avi" in the CS/data folder.
That's it!
BUG BUG Only OpenGL supported,
wincodec will not display correct in Software mode.
Only a few codecs work due to limitations in CS' AVI reader
plugin.
There are a few problems with VFW and MingW32/Cygwin. You need to
replace the libvfw32.a file. The original file points to
"VFW32.DLL", which does not exist. But it exists under the name
"MSVFW32.DLL" in your WINDOWS\SYTEM or WINDOWS\SYTEM32 folder. So
the new libvfw32.a file points to "MSVFW32.DLL". If you have the
sources of the WIN32 API (for Cygwin), you can make the change
yourself. Just replace VF32.DLL with MSVFW32.DLL in the first
line of the file "VFW32.DEF". That's all!
If you don't have the sources, you can download my libvfw32.a and place it correctly:
- MingW users place it in the folder: "CS\"
- Cygwin users place it in "CS\", too
- MSVC users don't need to download a library file, MS ships a
correct file. BUT they need to create a project file for the
plugin.
Back to Projects with Crystals Space..
Back home..