This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

About IPNC av_server program!

Hi all:

         Using DM368IPNC-MT5 Camera, I found a unaccepted problem. When run system_server by manual, and then run shell "killall" to exist program. and repeat those two steps  two or three times, it would be error.

EDMA Error: EDMA_IOCREQUESTDMA error
ERROR (alg_vidEnc.c|ALG_vidEncCreate|181): Failed to open video encode algorithm: h264enc (0x0)
ERROR (videoEncodeThr.c|VIDEO_encodeTskCreate|38): ALG_vidEncCreate(0) ERROR (videoEncodeThr.c|VIDEO_encodeTskMain|311): VIDEO_encodeTskCreate()
ERROR (avServerMainThr.c|AVSERVER_tskStart|83):
Rate Control Type: IVIDEO_STORAGEAVSERVER UI: Stoping.
AVSERVER UI: Exiting.

DRV_SyncRst: module = 47, domain = 0, state = 2
AVSERVER UI: Bye Bye !!!

And the only thing is reboot or power on again. Because our application will restart program happend, so it's unaccepted.

Have any good idea about this problem!

Thanks!

  • Hi,

    Please check if the applications (in this case system_server and av_server) were completely killed using "killall.sh". You can check it with the top command. Basically, this could happen if the EDMA channels were not freed up during the exiting of application.

    Another thing to try is removing and re-inserting edmak.ko module after killall and before starting system_server. I think this should solve the problem as removing EDMA module forcibly frees up all EDMA channels if your application is not freeing up some channels.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your questions. Thanks.

  • Got it. Thanks you!