Microsoft MPEG-2 Encoder & MPEG-2 Video Encoder failed at Windows 8

0

During building record graph to file from video and audio sources using Microsoft MPEG-2 Encoder at Windows 8 ICaptureGraphBuilder2::SetOutputFileName return failed 80040154 result - class not registred.

    //Adding MPEG2 Encoder Muxer filter to the graph
hr = m_pCapGraphBuilder->SetOutputFileName(&CLSID_CMPEG2EncoderDS, szOutFileName, &pMPEG2EncoderMuxer, &pFileSinkFilter);

Also at graphedit any attempt to insert at graph MPEG-2 Encoder & MPEG-2 Video Encoder filter failed with description: "The filter could not be created. Resourses used by this filter may alreadey be in use. (Return code: 0xc004f011) "

Why this happen and how to avoid this problem?

Will be happy for any suggestions

windows
windows-8
directshow
mpeg-2
asked on Stack Overflow Dec 4, 2012 by Survarium

1 Answer

3

Are you sure your windows 8 has a MPEG-2 encoder? As I heard from MS, they removed MPEG-2 from Windows 8 and you must buy an encoder by yourself.

answered on Stack Overflow Dec 4, 2012 by ray_linn • edited Dec 21, 2013 by ThiefMaster

User contributions licensed under CC BY-SA 3.0