Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Kevin_A_
Beginner
125 Views

Media DirectShow Sample not working

I'm compiling up the DirectShow H.264 Encoder, trying to get it to work.  However i cannot get it to connect to any source filters.

it's failing on this line

mfx_video_enc_filter.cpp:944 sts = m_pEncoder->m_pmfxVPP->QueryIOSurf(&m_mfxParamsVPP, mfxVppRequest);

sts is MFX_ERR_INVALID_VIDEO_PARAM

The source filter works on my own x264 filter, as wells as elecard's encoder, Main concepts, and LEAD's h.264 encoder.  The source outputs 1080p, RGB32, 25fps.

I'm just starting to get into QuickSync programing, and would appreciate any help. 

0 Kudos
4 Replies
Kevin_A_
Beginner
125 Views

Processor Type:Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz

 

Driver Version:Intel(R) HD Graphics 6000                    10.18.14.4156
Operating System:Microsoft Windows 8.1 Pro
Media SDK System Analyzer:      

        Version Target  Supported       Dec     Enc  

        1.0     HW      Yes             X       X
        1.0     SW      Yes             X       X
        1.1     HW      Yes             X       X
        1.1     SW      Yes             X       X
        1.3     HW      Yes             X       X
        1.3     SW      Yes             X       X
        1.4     HW      Yes             X       X
        1.4     SW      Yes             X       X
        1.5     HW      Yes             X       X
        1.5     SW      Yes             X       X
        1.6     HW      Yes             X       X
        1.6     SW      Yes             X       X
        1.7     HW      Yes             X       X
        1.7     SW      Yes             X       X
        1.8     HW      Yes             X       X
        1.8     SW      Yes             X       X

 

What I've discovered is if i set the resolution to a power of 32, eg 1920*1088  sometimes it works.  

 

Shaojuan_Z_Intel
Employee
125 Views

Hi Kevin, thanks for your updates. Your system is based on Broadwell architecture. Currently Media SDK doesn't support Broadwell. Please refer to this thread (http://software.intel.com/en-us/forums/topic/545094) for related information. Thanks.

Kevin_A_
Beginner
125 Views

It also does not work on 

Processor Type:Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz   1.90GHz

 

Anthony_P_Intel
Employee
125 Views

Hi,

I noticed you mentioned that you are providing "1080p, RGB32, 25fps" input.

It has been a while since I looked at the older Direct Show sample encoder, however I believe it only accepts NV12 (YUV 420) input.

Reply