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.

DMVA2IPNC-MT5 5MP resolution problem

Hi,

I want to use 5MP with DMVA2IPNC-MT5.  But when I try to set 5MP (or 3MP) with following parameters, I get a lot of CEMK errors. 

./av_server.out DM368 RTSP APPRO2A AEWB 5MP H264 6000000 CBR AUTO MENUOFF &  (also doesn't work with 3MP)

I get many error messages and av_server is not started. I am using following bootargs and bootcmd. 

bootcmd 'nand read 0x82000000 0x700000 0x1000000:nboot 0x80700000 0 0x500000:bootm 0x80700000'

bootargs 'mem=48M console=ttyS1,15200n8 root=/dev/ram0 rw initrd=0x82000000,16M ip=192.1681.1.68:192.168.1.20:192.168.2.1:255.255.255.0:::off eth=$(ethaddr)

 

The error log in case of setting 3MP is as follows:

 

 

 FR : 0 users registered froCMEMK Error: ioctl: failed to allocate heap buffer of size 0x6995e5

m exsiting face album

> DMVA App: TASK CREATE

> DMVA APP: Default application parameters set.

gAVSERVER_config.dmvaAppParams.dmvaAppSMETASensitivity = 3

gAVSERVER_config.dmvaAppParams.dmvaAppSMETAPresentAdjust = 15

> DMVA APP: Parameters read from UI

            Mode         = 0

            Sensitivty   = 3

            CMEMK Error: mmap: can't find allocated buffer with physp 85e0b000

Min Per.Size = 5CMEMK Error: mmap: can't find allocated buffer with physp 85e0b000x10

           CMEMK Error: get_phys: Unable to find phys addr for 0x85e0b000

 Max Per.Size = CMEMK Error: get_phys: get_user_pages() failed: -14

160x160

       CMEMK Error: FREE: Failed to convert virtual 0x85e0b000 to physical

     Polygons     = 0

         CMEMK Error: mmap: can't find allocated buffer with physp 85e0b000

   Frame rate   CMEMK Error: get_phys: Unable to find phys addr for 0x85e0b000

= 10

          CMEMK Error: get_phys: get_user_pages() failed: -14

  Tamper Reset =CMEMK Error: FREE: Failed to convert virtual 0x85e0b000 to physical  3


 ALG: CreaCMEMK Error: mmap: can't find allocated buffer with physp 85e0b000

ted Image Sym AlCMEMK Error: mmap: can't find allocated buffer with physp 85e0b0

00

go Kernel !

 ALG: Created NMS Kernel !

 ALG: Created RLE Kernel !

 ALG: CreatCMEMK Error: get_phys: Unable to find phys addr for 0x85e0b000

ed MORP Kernel !CMEMK Error: get_phys: get_user_pages() failed: -14


> DMVAL: CCMEMK Error: FREE: Failed to convert virtual 0x85e0b000 to physical

alculating memory requirement foCMEMK Error: get_phys: Unable to find phys addr

for 0x85e0b000

r DMVAL instanceCMEMK Error: get_phys: get_user_pages() failed: -14

...

         ExCMEMK Error: FREE: Failed to convert virtual 0x85e0b000 to physical

pecting 256x192 input images of CMEMK Error: get_phys: Unable to find phys addr

for 0x85e0b000

type 'DMVAL_IMG_CMEMK Error: get_phys: get_user_pages() failed: -14

YUV420_PLANARINTCMEMK Error: FREE: Failed to convert virtual 0x85e0b000 to physi

cal

ERLEAVED'.

> DMVAL: 6919653 bytes required for DMVAL instance.

> DMVAL: 5128 bytes required for DMVAL output.


> DMVA APP: Allocated 5128 bytes for DMVAL output memory @ 0x4df95000CMEM Error:

 allocHeap: ioctl CMEM_IOCALLOCHEAPCACHED failed: -1


> DMVA APP: Allocated 6919653 bytes for DMVAL internal memory @ 0x0 ERROR  (alg_

dmval.c|ALG_dmvalCreate|64):

> DMVA APP: Error allocating bytes for DMVAL instance


> DMVA APP: Calling DMVAL_configure  ERROR  (alg_dmval.c|ALG_dmvalCreate|81): DM

VAL_configure()

allocPool: Failed to mmap buffer at physical address 0x85e0b000

ApproDrvExit: 8

allocPool: Failed to mmap buffer at physical address 0x85e0b000

ApproDrvExit: 9

allocPool: Failed to mmap buffer at physical address 0x85e0b000

ApproDrvExit: 10

allocPool: Failed to mmap buffer at physical address 0x85e0b000

ApproDrvExit: 6

allocPool: Failed to mmap buffer at physical address 0x85e0b000

ApproDrvExit: 2

 

 

Whereas, if I set 5MP resolution keeping all other parameters same, I get following error:

 

 

AVSERVER UI: Starting Streaming Server...DONE

SENSOR FPS VALUE = 10

 ERROR  (alg_vidEnc.c|ALG_vidEncCreate|185): Failed to open video encode algorit

hm: h264enc (0x0)

 ERROR  (videoEncodeThr.c|VIDEO_encodeTskCreate|49): ALG_vidEncCreate(0) ERROR

(videoEncodeThr.c|VIDEO_encodeTskMain|432): VIDEO_encodeTskCreate()

 ERROR  (avServerMainThr.c|AVSERVER_tskStart|78):

 

Can anyone tell me how can I set 3MP and 5MP resolutions?

Regards,