Hi,
I've been working off and on, more off - than on, for sometime now on project to decode and H264 video from an IP camera using a DM368, do some work on the frames and if required save a JPEG.
Essentially, I want to feed the decoder a stream of NAL packets which contain slices of a frame... I'm having trouble finding any examples / sample code to help develop this solution.
I've played around with the example applications in the DVSDK and DMAI, but I can't seem to be bend them into shape in order to produce any sensible output, or if it does produce proper decoded output - will only run at around 4 fps. I'm only trying to achieve 15 fps (the camera is set to supply at 15 fps).
I've absolutely no problems decoding from file...the problem is the data is not coming from file, but a live streamed source.
So, recently I've been looking at the decoder test app supplied with the codec and have a couple of questions:
1) Do I need to do everything that is done in the test application? Such as set up the resource manager?
2) There seems to duplication of code within the testapp from various parts of the DVSDK - do I need to duplicate this too, or can I just use the DVSDK?
3) Any other ideas? Is there a better example?