I'm a beginner with Directshow, but made my first application already. I'm able to capture and preview various cameras I use for the project I'm working on. However, all the capture content is RAW video, so huge in size. Therefore, I would like to use the Intel h264 encoder. I built my software in Labview, but first test my directshow setup in Graphedit. However, I don't see the Intel filters in Graphedit. I installed the media SDK, but that is how far I got.
I hope somebody has the patience to walk me through the process or give me some pointers where to look.
I've downloaded and trying to use the Intel Media AAC Audio Encoder. The AAC encoder and decoder works great with Low Complexity profile in stereo mode. However if I try to set HE profile the produced AAC plays with clicks and pops. The effect is the same if I set the number of channels > 2.
Here is how I setup the AAC Encoder:
I build h264 decoder sample is successful.
When i use a lot of (e.g 4) h264 decoder it crash, error message show "d3d9.dll errorr" on "memory_allocator.cpp"
line 【if (GetFrameHDL(response->mids[i], (mfxHDL *)&handle) == MFX_ERR_NONE)"】
If use 4k video can run on 4 decoder not crash,
use 1080p video can run on 10 decoder not crash.
but too many it will crash.
This my system info:
OS : windows 8.1
CPU : i7-4720HQ
RAM : 8G
In Intel media SDK samples188.8.131.52, when create a d3d9 surface, I should use a d3dallocator. It calls D3DFrameAllocator::AllocImpl(mfxFrameAllocRequest *request, mfxFrameAllocResponse *response) to fulfill this task.