我在Windows 7开发机器上安装了ffdshow 64位和32位。我现在想要创建一个带有编码视频内容的AVI流。要找出我安装的编解码器,请运行以下代码:
// List Encoders
int i=0;
ICINFO icinfo;
for(int i=0; ICInfo(ICTYPE_VIDEO, i, &icinfo); i++) {
HIC hic = ICOpen(icinfo.fccType, icinfo.fccHandler, ICMODE_QUERY);
if (hic)
{
// Find out the compressor name.
ICGetInfo(hic, &icinfo, sizeof(icinfo));
OutputDebugStringW(icinfo.szName);
OutputDebugString(" ");
OutputDebugString("\n");
}
}
虽然我已经安装了ffdshow,但我只得到以下输出:
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\msrle32.dll', Cannot find or open the PDB file
MS-RLE
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\msvidc32.dll', Cannot find or open the PDB file
MS-CRAM
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\msyuv.dll', Cannot find or open the PDB file
MS-YUV
MS-YUV
MS-YUV
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\iyuv_32.dll', Cannot find or open the PDB file
IYUV Codec
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\i420vfw.dll', Binary was not built with debug information.
The thread 'Win32 Thread' (0x2f94) has exited with code 0 (0x0).
I420
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\tsbyuv.dll', Cannot find or open the PDB file
Toshiba YUV411
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\iccvid.dll', Cannot find or open the PDB file
Cinepak Codec
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\yv12vfw.dll', Binary was not built with debug information.
The thread 'Win32 Thread' (0x2fbc) has exited with code 0 (0x0).
YV12
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\vmnc.dll', Cannot find or open the PDB file
VMnc
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\ir50_32.dll', Binary was not built with debug information.
Indeo® Video 5
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\ir41_32.ax', Binary was not built with debug information.
IR45
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\xfcodec.dll', Cannot find or open the PDB file
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\msvcr71.dll', Cannot find or open the PDB file
xfcodec
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\ff_vfw.dll', Binary was not built with debug information.
'ScreenCapture.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll', Cannot find or open the PDB file
'ScreenCapture.exe': Loaded 'C:\Program Files (x86)\ffdshow\ffdshow.ax', Binary was not built with debug information.
'ScreenCapture.exe': Loaded 'C:\Windows\SysWOW64\dinput.dll', Cannot find or open the PDB file
FFDS
为什么没有MPEG或DIVX或H263?可能是一个小问题;)
感谢您的帮助!