Dear friends :
I downloaded intel media sdk for client 2014 from intel website and installed successfully,and then i downloaded a sample code called encode_sample and installed successfully, finally i opened the sample code in vs2010 and compile link normally. But I meet a very strange problem when i run the sample_code.exe :The truth is i want to encode a 1000 frames yuv video with h264.I typed two commands in cmd.exe as follow:
1:sample_encode.exe h264 -i football.yuv -o my264 -w 1280 -h 720
2:sample_encode.exe h264 -hw -i football.yux -o my264 -w 1280 -h 720
assume the video is exist and ignore the syntax error, in other word these command can execute successfully.
My problem is about the spend time of execution of the two commands,they are both spent 30 seconds and at the same time the cpu occupancy are also 90%. By the way My OS is win7(32bit) with DirectX and Windows SDK 7.0A and 8.1 and the CPU is Intel celeron CPU G16102@2.60GHz with the up-to-date driver.As we known that parameter -hw is hardware acceleration ,why the time it spent is same as software .Please illustrate some detailed theory to me or tell me how to accelerate with hardware !
thank you very much