Hi:
I have some video files ,I want to convert some avi file to MPG1
files use DirectShow.
I tried to use code as :
pBuilder->SetOutputFileName(&MEDIASUBTYPE_MPEG1System,
T2W(szOutFilename), &pMux, &pWriter);//this function return "not
found register class".

I need your help,can you give me some demo code?
Thank you in advance.

Re: How to use DirectShow to convert from AVI to MPG1 by William

William
Mon Feb 26 10:08:20 CST 2007

"jim" <njhjb@hotmail.com> wrote in message
news:1172477368.305473.65200@p10g2000cwp.googlegroups.com...
> I have some video files ,I want to convert some avi file to MPG1
> files use DirectShow.

If no one responds here try posting in the multimedia group:

microsoft.public.win32.programmer.mmedia

Regards,
Will
www.ivrforbeginners.com



RE: How to use DirectShow to convert from AVI to MPG1 by dh

dh
Tue Feb 27 15:33:12 CST 2007

"jim" wrote:

> Hi:
> I have some video files ,I want to convert some avi file to MPG1
> files use DirectShow.
> I tried to use code as :
> pBuilder->SetOutputFileName(&MEDIASUBTYPE_MPEG1System,
> T2W(szOutFilename), &pMux, &pWriter);//this function return "not
> found register class".
>
> I need your help,can you give me some demo code?
> Thank you in advance.
>

http://msdn2.microsoft.com/en-us/library/ms784861.aspx

"This method creates a multiplexer filter based on the value of the pType
parameter. "

"For custom multiplexer filters, the method fails if the filter does not
support a connection on its output pin before its input pins are connected.
For example, the WavDest Filter Sample included with the SDK has this
limitation."

You probably don't have appropriate muxer filter on your PC for this or it's
not registered.