CMpegDecoder 这个解码的应该用什么格式的?
m_pMpegDecoder = new CMpegDecoder();
if(m_pMpegDecoder->InitializeDecoder(m_sFileName) != DECODE_SUCCESS)
{
MessageBox("Decoder initializtion error!", NULL, MB_OK);
delete m_pMpegDecoder;
m_pMpegDecoder = NULL;
return;
}
上面这段代码,我用avi格式的打开,报错。打不开
请问,CMpegDecoder只能打开哪种格式的?
我电脑上安装了XVID最新版。。。。。。
我用软件把AVI转成mpeg2格式的,也打不开。。。。