hi!
I am working with dvsdk 2.00.00.22. I created a codec server on DM6446 with three codecs in it - an H264 encoder, an AAC encoder and an AAC decoder. what i want is to run aac codec and h264 encoder independently and concurrently. There are 3 threads (Capture+VidEnc+Writer) for H264 task and 2 threads(aacenc+aacdec) for AAC task. I called CERuntime_init prior to the first thread running and CERuntime_exit after the last thread exits.
Test results shows that:
1) starting 2 tasks followed by stopping the 2 tasks can works well.
2) starting 2 tasks followed by restarting AAC task several times, can works well.
2) starting 2 tasks followed by restarting H264 task, VIDENC1_create hang. when CE_DEBUG=1/2/3 option is used, it works well. If I called CERumtime_init for each H264 task, it works well.
similar problem can be found in the post http://e2e.ti.com/support/embedded/f/356/p/88287/309723.aspx where Vincent mentioned this issue is likely to be timing related. I have already checked our codes again and again and found nothing.
My question is at what condition VIDENC1_create will hang, how to debug the issue. or any further suggestion
thanks very much and sorry for my english