Hi!
I have been working on a question in the linux forum - which I think about it now, was probably not the right spot but was anyhow being helped (which was nice). The TI employee came to the conclusion that my problem might actually be that the codec version I am using is returning a buffer handle that should be kept internal to the codec. He suggested posting here and linking back to our conversation.
The basic story is this:
I was working with dvsdk 3.10.0.19 which came with DMAI 2.10.00.12, CE 2.25.5.16 and cs2dm6467 v1.0.0.10. I created a codec server with a single codec in it - H264enc from the cs2dm6467 folder. I then used DMAI application video_encode_io1 to begin to work with the codec and file io. It seemed to be working fine. I modified the application to create threads (as many as 10) and it was able to encode frames like a champ. Except that after so many runs it would just hang (many an hour or so of running). I found a forum that said that CE v2.25.5.16 had a memory leak in it that would cause the program to hang (the log shown in the forum matched my log.) So I started the process over with CEv2.26.2.11. After integrating this version, my project would not work ever. So posted in a forum and Rob Tivvy suggested explicitly registering the buffers that the DMAI was using. This did not work either. After closer investigation at the logs, Rob now thinks there might be a problem with my codec.
Could you please help me confirm his assumption, recommend a codec version to use instead, and/or recommend another test to run for debugging.
Unfortunately, I don't have the JTag environment set up so the only debug I can do is with logs and printf.
Here is the link:
http://e2e.ti.com/support/embedded/f/354/p/87684/304901.aspx#304901
thanks so much,
Brandy