MFXVideoDECODE_DecodeFrameAsync API questions


    I used samples code provided by intel to decode H264 stream on windows7 with 3rd generation of i5 core. I found that performance of Software decoding and Hardware decoding are almost similar . Hence in order to make Hardware platform decoder more faster i wanted to avoid the output frame copy to CPU and see performance.But this MFXVideoDECODE_DecodeFrameAsync api  does not provide any option nor any control to experiment something like this.

Is there anyway that i can do this experiment and also evaluate hardware performance? Or am i missing something ?


QujickSync decoding of H.264 and VMR9 performance issues

I'm running a video app on a Sandy bridge I7, Nvidia 4200, and  Windows 7.  The file is a 60fps, 1920X1080 H.264 progressive video.  Whether I use the ffdshow  Quicksync decoder or my own filter that uses  Quicksync  to decode the file and VideoMixingRenderer 9 to display it, at full resolution the renderer drops about half the frames and the frame rate is around 25 to 40 fps max.  I suspect this is because both Quicksync and the renderer use Direct3d and bottleneck going through it (due to the heavy surface locking by both).  If I replace the VideoMixingRenderer 9 with my  modified version

What does MFXQueryIMPL return 0x0202 mean

I think somebody should ask this before. But I have got no topic about this after doing a search.

I initialized the MFXVideoSession as :

sts = m_mfxSession.Init(MFX_IMPL_HARDWARE_ANY, &version);

Then I called m_mfxSession.QueryIMPL(&impl) and the value of impl is 0x0202. By observing the CPU consumption, I'm sure the hw acceleration is working. Also, I notice the following definition:

Hardware Acceleration does not work


Thanks in advance for any advice. 

Intel Media SDK System Analyzer (64 bit)

The following versions of Media SDK API are supported by platform/driver:

Version Target Supported Dec Enc
1.0 HW No
1.0 SW Yes X X
1.1 HW No
1.1 SW Yes X X
1.3 HW No
1.3 SW Yes X X
1.3 AUTO SW  (max API version of installed SDK)

Graphics Devices:
Name Version State
ASPEED Graphics Family(WDDM)  active

libva vaInitialize failed in new thread created by pthread_create


    i'm using msdk for linux server 2013 , the os is ubuntu 12.04 lts ,and the samples are building and running ok.

    now, i write a h264 decoder for my mutithreading programm, the decoder will be initialized in a new thread, and when create hardware device (drm mod), i got this error:

libva info: VA-API version 0.34.0

libva info: va_getDriverName() returns 1

vaInitialize failed

 While, if the decoder is not created in new thread, it's inialized ok

is there any problem like this  ??

or give me some tips ,3ks!!

Need assistance on encode&decode on Intel E3845

We have a project in which 4 streams obtained from a capture card in YUV format should be encoded by using H264 all in D1 resolution. Meanwhile two 1080p videos compressed by H264 needs to be decoded. All these should be performed on a Linux distribution. To achieve this, we think on the following solution: Use Intel's EMGD driver and vaapi gstreamer plugins on an E3845 processor and to perform all those encodes and decodes expose GPU features of this processor. However, while researching on this solution, I note that some posts in related Intel forums and whitepapers imply that Intel Media SDK should be used above EMGD driver. While researching on Media SDK it is found that there are two different versions, Client and Server. Client is not distributed for Linux but Server is. However, documentation for Server is too fair and I cannot learn anything useful how these two different version seperate. Using Intel Media SDK is mandatory for a task like this.

where is the linux media sdk

I'm very confused by those many product names.

I want to create a video player with hardware acceleration, which one should I use?

media sdk for client or Media Software Development Kit 2014 HEVC Software Pack?


also, I'm developing under linux and mac. but I could only find media sdk for client for windows only?


is it cross-platform at all?

Subscribe to Media