Survarium
Survarium

Reputation: 190

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

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

Upvotes: 0

Views: 1884

Answers (1)

ray_linn
ray_linn

Reputation: 1392

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.

Upvotes: 3

Related Questions