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.

acclc encoder get handle failed

Dear contributors and engineers:

Recently I want to run the audio encode example in omx on dm8168.

I have successfully used firm ware loader to load the "dm816x_c6xdsp.xe674" binary in the DSP.

But to my surprised, I can successfully run the mp3 decoder example but failed to run the acclc encoder example.

Here is my error message:

 root@dm816x-evm:/# ./audio_encode_a8host_debug.xv5T -i test.pcm -o output.acc -c  acclc -n 2 -b 192000 -s 44100 -f ADTS     input_file: test.pcm       

  output_file: output.acc                                                        

codec: acclc                                                                   

no of channnels :2                                                             

bitrate : 192000                                                               

 samplerate : 44100                                                             

outputformat :ADTS                                                             

===============================                                                

Audio Encoder Example                                                          

omx_init done~~                                                                

before allocate resources                                                      

after allocate resources                                                       

before gethandle                                                                                                                                               

 notify_shm_drv_sendevent failed! status = 0xfffffff2                           

notify_send_event failed! status = 0xfffffff2                                  

notify_shm_drv_sendevent failed! status = 0xfffffff2                           

notify_send_event failed! status = 0xfffffff2                                  

notify_shm_drv_sendevent failed! status = 0xfffffff2                           

notify_send_event failed! status = 0xfffffff2

Segmentation fault 

 

I added some logs in the demo program and found that the error occured in getHandle().

Can anyone tell me what happened and how to fixed it?

 

best regards~