Hi,
I am currently working on DM365 IPNC RDK 5.1.0.
The following is the sequence of tasks taking place in capture thread :
Capture -> dei -> resize -> encode -> stream -> display
I am trying to implement just : Capture -> encode -> stream -> display .
I have tried to accomplish this by setting config ->deiTskEnable = FALSE and
config -> captureSingleResize = FALSE.
I am getting the following errors. Please help me out here ! Is there something else that also has to be done ? Please help me understand this problem better !
Thanks.
AVSERVER UI: Initializing.
AVSERVER API: Creating TSKs.
CLK Hz,
ARM Hz = 216000000
DDR Hz = 171789472
VPSS Hz = 171789472
IMCOP Hz = 171789472
AVSERVER API: Creating TSKs...DONE
SYSTEM.MSTPRI0 value changed to 00440011
CONFIGURING AVSERVER FOR DM365 .....
Creat queue id:0
queue id:0
AVSERVER A[ 66.772097] mt9p031 1-0048: No MT9P031 chip detected, register read ffffff87
PI: Sending START.
AVSERVER MAIN: Recevied CMD = 0x0400, state = 0x0000
AVSERVER MAIN: AVSERVER_tskConnectInit() ...
*** WARNING FD: exceeded max input size for FD, disabling FD (current input 720x576)!!!
AVSERVER MAIN: Create captureTsk ...
CAPTURE: Recevied CMD = 0x0300
CAPTURE: Create...
CAPTURE: Opening capture on imager TVP515X.
SENSOR FPS VALUE = 25
Sensor Mode Info,
Width = 704
Height = 288
fps = 25
Bin Enable = 0
Sensor Frame Timing Info,
fps = 25
t_frame (ns) = 40000000.000000
t_row (ns) = 25062.500000
t_pclk (ns) = 15.625000
W = 704
H = 576
SW = 1595
SD = 0
HB = 450
VB = 1020
HBmin = 450
VBmin = 9
f_pclk = 64000000
shutterOverhead (ns) = 6656.250000
col_size = 703
row_size = 575
col_skip = 0
row_skip = 0
col_bin = 0
row_bin = 0
col_start = 8
row_start = 0
pll_M = 16
pll_N = 1
pll_DIV = 2
######Imager Id Check succes
Common Setting Applied
CAPTURE: Create...DONE
AVSERVER MAIN: Create encodeTsk ...
ENCODE: Recevied CMD = 0x0300
ENCODE: Create...
AVSERVER MAIN: Create streamTsk ...
STREAM: Recevied CMD = 0x0300
STREAM: Create...
STREAM: Ext 0: 0x0
STREAM: Ext 1: 704x576
Creat queue id:32769
queue id:32769
STREAM: Create...DONE
AVSERVER MAIN: Create fdTsk ...
FD: Received CMD = 0x0300
FD: Create...
AVSERVER MAIN: Create displayTsk ...
FD: Create...DONE
DISPLAY: Recevied CMD = 0x0300
DISPLAY: Create...
AVSERVER MAIN: Create aewbTsk ...
2A: Recevied CMD = 0x0300
2A: Create...
IPNC_DM365_5.1.0 (root@swathi-Dell-System-
IPNC AUTO_IRIS = 1
2A: Create...DONE
AVSERVER MAIN: Create audioPlayTsk ...
AUDIOPLAY: Recevied CMD = 0x0300
AUDIOPLAY: Create...
DISPLAY: Create...DONE
AUDIOPLAY: Create...DONE
AVSERVER MAIN: Create motionTsk ...
MOTION: Recevied CMD = 0x0300
MOTION: Create...
AVSERVER MAIN: Create swosdTsk ...
MOTION: Create...DONE
SWOSD: Recevied CMD = 0x0300
AVSERVER MAIN: Allocing Buffers ...
AVSERVER MAIN: Allocating buffers ...
AVSERVER MAIN: Stream 0: Allocating DEI buffers: 0 of size 636032 bytes
AVSERVER MAIN: Stream 0: Allocating LDC buffers: 0 of size 636032 bytes
AVSERVER MAIN: Stream 0: Allocating VNF buffers: 0 of size 636032 bytes
AVSERVER MAIN: Stream 0: Allocating Encode IN buffers: 3 of size 636032 bytes
AVSERVER MAIN: Stream 0: Assigning Resize IN buffers: 0 of size 636032 bytes
AVSERVER MAIN: Stream 0: Capture OUT buffers 0
AVSERVER MAIN: Stream 0: Capture OUT buffers 1
AVSERVER MAIN: Stream 0: Capture OUT buffers 2
AVSERVER MAIN: Stream 1: Allocating DEI buffers: 0 of size 636032 bytes
AVSERVER MAIN: Stream 1: Allocating LDC buffers: 0 of size 636032 bytes
AVSERVER MAIN: Stream 1: Allocating VNF buffers: 0 of size 636032 bytes
AVSERVER MAIN: Stream 1: Allocating Encode IN buffers: 3 of size 636032 bytes
AVSERVER MAIN: Stream 1: Assigning Resize IN buffers: 0 of size 636032 bytes
AVSERVER MAIN: Stream 1: Capture OUT buffers 0
AVSERVER MAIN: Stream 1: Capture OUT buffers 1
AVSERVER MAIN: Stream 1: Capture OUT buffers 2
AVSERVER MAIN: Allocating FD buffers: 3 of size 368768 bytes
AVSERVER MAIN: Allocating DMVA buffers: 0 of size 848000 bytes
AVSERVER MAIN: Assigning Display buffers: 3 of size 848000 bytes
AVSERVER MAIN: Stream 0: Alloc[ 68.255139] CMEMK Error: get_phys: Unable to find phys addr for 0x5f3ab5e8
ating Encrypt bu[ 68.262960] CMEMK Error: get_phys: get_user_pages() failed: -14
ffers: 0 of size[ 68.271237] CMEMK Error: GETPHYS: Failed to convert virtual 0x5f3ab5e8 to physical.
203776 bytes
[ 68.279875] CMEMK Error: get_phys: Unable to find phys addr for 0x5a5bd7a8
AVSERVER MAIN: S[ 68.287493] CMEMK Error: get_phys: get_user_pages() failed: -14
tream 0: Allocat[ 68.294940] CMEMK Error: GETPHYS: Failed to convert virtual 0x5a5bd7a8 to physical.
ing Stream buffers: 3 of size 203776 bytes
AVSERVER MAIN: Stream 1: Allocating Encrypt buffers: 0 of size 406528 bytes
AVSERVER MAIN: Stream 1: Allocating Stream buffers: 3 of size 406528 bytes
AVSERVER MAIN: Allocating MotionDetect b[ 68.323630] CMEMK Error: get_phys: Unable to find phys addr for 0x5f48c5a8
uffers: 3 of siz[ 68.331871] CMEMK Error: get_phys: get_user_pages() failed: -14
e 0 bytes
AVSE[ 68.340091] CMEMK Error: GETPHYS: Failed to convert virtual 0x5f48c5a8 to physical.
RVER MAIN: Alloc[ 68.348393] CMEMK Error: get_phys: Unable to find phys addr for 0x5a69e768
ating buffers ..[ 68.356548] CMEMK Error: get_phys: get_user_pages() failed: -14
.DONE
AVSERVER[ 68.363793] CMEMK Error: GETPHYS: Failed to convert virtual 0x5a69e768 to physical.
MAIN: Start aewbTsk ...
2A: Start...
2A: Start...DONE
AVSERVER MAIN: Start captureTsk ...
CAPTURE: Start...
SWOSD: Create...DONE
CAPTURE: Start...DONE
AVSERVER MAIN: Start audioPlayTsk ...
AUDIOPLAY: Start..[ 68.391459] CMEMK Error: get_phys: Unable to find phys addr for 0x5f4c77e8
.
AUDIOPLAY: S[ 68.399338] CMEMK Error: get_phys: get_user_pages() failed: -14
tart...DONE
AV[ 68.407519] CMEMK Error: GETPHYS: Failed to convert virtual 0x5f4c77e8 to physical.
SERVER MAIN: Sta[ 68.416053] CMEMK Error: get_phys: Unable to find phys addr for 0x5a77a2a8
rt DONE
AVSERV[ 68.424003] CMEMK Error: get_phys: get_user_pages() failed: -14
ER API: Sending [ 68.431292] CMEMK Error: GETPHYS: Failed to convert virtual 0x5a77a2a8 to physical.
START...DONE
CAPTURE: Isif Buf 0
ENCODE: Stream 0 InBuf 0 OutBuf 0 (1711374344, 536941576)
2A: H3a Buf 0
2A: H3a Buf 0 ... DONE
2A: H3a Buf 0
2A: H3a Buf 0 ... DONE
CMEM Error: getPhys: Failed to[ 68.458215] CMEMK Error: get_phys: Unable to find phys addr for 0x5f3ab5e8
get physical ad[ 68.465477] CMEMK Error: get_phys: get_user_pages() failed: -14
dress of 0x5f3ab[ 68.473743] CMEMK Error: GETPHYS: Failed to convert virtual 0x5f3ab5e8 to physical.
5e8
2A: H3a Bu[ 68.482199] CMEMK Error: get_phys: Unable to find phys addr for 0x5a5bd7a8
f 1
2A: H3a Bu[ 68.490191] CMEMK Error: get_phys: get_user_pages() failed: -14
f 1 ... DONE
2[ 68.497286] CMEMK Error: GETPHYS: Failed to convert virtual 0x5a5bd7a8 to physical.
A: H3a Buf 1
2A: H3a Buf 1 ... DONE
CMEM Error: getPhys: Failed to get physical address of 0x5a5bd7a8
2A: H3a Buf 2
2A: H3a Buf 2 ... DONE
2A: H3a Buf 2
2A: H3a Buf 2 ... DONE
ALGVIDENC | 68.00 | [ 68.524500] CMEMK Error: get_phys: Unable to find phys addr for 0x5f48c5a8
14.71 | [ 68.532978] CMEMK Error: get_phys: get_user_pages() failed: -14
68 | [ 68.541194] CMEMK Error: GETPHYS: Failed to convert virtual 0x5f48c5a8 to physical.
1 |
ENCODE FRA[ 68.549689] CMEMK Error: get_phys: Unable to find phys addr for 0x5a69e768
ME 0: Stream 0 S[ 68.557472] CMEMK Error: get_phys: get_user_pages() failed: -14
ize 26267 bytes [ 68.564927] CMEMK Error: GETPHYS: Failed to convert virtual 0x5a69e768 to physical.
Keyframe 1
STREAM: Stream 0 InBuf 0, Frame size 26267 bytes, Key frame 1
STREAM: Stream 0, saveToFile = 0, fileSaveState = 0, frame size = 26267, key frame = 1
CAPTURE: Isif Buf 1
ENCODE: Stream 0 InBuf 1 OutBuf 1 (1[ 68.592198] CMEMK Error: get_phys: Unable to find phys addr for 0x5f4c77e8
174503432, 53694[ 68.600438] CMEMK Error: get_phys: get_user_pages() failed: -14
1576)
2A: H3a [ 68.607543] CMEMK Error: GETPHYS: Failed to convert virtual 0x5f4c77e8 to physical.
Buf 0
2A: H3a Buf 0 ... DONE
[ 68.618049] CMEMK Error: get_phys: Unable to find phys addr for 0x5a77a2a8
2A: H3a Buf 0
[ 68.626396] CMEMK Error: get_phys: get_user_pages() failed: -14
2A: H3a Buf 0 .[ 68.633707] CMEMK Error: GETPHYS: Failed to convert virtual 0x5a77a2a8 to physical.
.. DONE
CMEM Error: getPhys: Failed to get physical address of 0x5f48c5a8
2A: H3a Buf 1
2A: H3a Buf 1 ... DONE
2A: H3a Buf 1
2A: H3a Buf 1 ... DONE
CMEM Error: getPhys: Failed to get physical addres[ 68.659862] CMEMK Error: get_phys: Unable to find phys addr for 0x5f3ab5e8
s of 0x5a69e768[ 68.668558] CMEMK Error: get_phys: get_user_pages() failed: -14
2A: H3a Buf 2[ 68.675135] CMEMK Error: GETPHYS: Failed to convert virtual 0x5f3ab5e8 to physical.
2A: H3a Buf 2 [ 68.684446] CMEMK Error: get_phys: Unable to find phys addr for 0x5a5bd7a8
... DONE
2A: H[ 68.692471] CMEMK Error: get_phys: get_user_pages() failed: -14
3a Buf 2
2A: H[ 68.699691] CMEMK Error: GETPHYS: Failed to convert virtual 0x5a5bd7a8 to physical.
3a Buf 2 ... DONE
ALGVIDENC | 65.00 | 15.38 | 65 | 1 |
ENCODE FRAME 1: Stream 0 Size 17385 bytes Keyframe 0
STREAM: Stream 0 InBuf 1, Frame size 17385 bytes, Key frame 0
STREAM: Stre[ 68.726772] CMEMK Error: get_phys: Unable to find phys addr for 0x5f48c5a8
am 0, saveToFile[ 68.736234] CMEMK Error: get_phys: get_user_pages() failed: -14
= 0, fileSaveSt[ 68.742581] CMEMK Error: GETPHYS: Failed to convert virtual 0x5f48c5a8 to physical.
ate = 0, frame s[ 68.751939] CMEMK Error: get_phys: Unable to find phys addr for 0x5a69e768
ize = 17385, key[ 68.759908] CMEMK Error: get_phys: get_user_pages() failed: -14
frame = 0
CAP[ 68.767079] CMEMK Error: GETPHYS: Failed to convert virtual 0x5a69e768 to physical.
TURE: Isif Buf 2
ENCODE: Stream 0 InBuf 2 OutBuf 2 (1711375368, 536941576)
2A: H3a Buf 0
2A: H3a Buf 0 ... DONE
2A: H3a Buf 0
2A: H3a Buf 0 ... DONE
CMEM Error: getPhys: Failed to get physical address of 0x5f4c77e8
2A: H3a Buf 1
2A: H3a Buf 1 ... DONE
2A: H3a Buf 1
2A: H3a Buf 1 ... DONE
CMEM Error: getPhys: Failed to get physical address of 0x5a77a2a8
2A: H3a Buf 2
2A: H3a Buf 2 ... DONE
2A: H3a Buf 2
2A: H3a Buf 2 ... DONE
ALGVIDENC | 64.00 | 15.62 | 64 | 1 |
ENCODE FRAME 2: Stream 0 Size 3969 bytes Keyframe 0
STREAM: Stream 0 InBuf 2, Frame size 3969 bytes, Key frame 0
STREAM: Stream 0, saveToFile = 0, fileSaveState = 0, frame size = 3969, key frame = 0
CAPTURE: Isif Buf 0
ENCODE: Stream 0 InBuf 0 OutBuf 0 (1711374344, 536941576)
2A: H3a Buf 0
2A: H3a Buf 0 ... DONE
2A: H3a Buf 0
2A: H3a Buf 0 ... DONE
CMEM Error: getPhys: Failed to get physical address of 0x5f3ab5e8
2A: H3a Buf 1
2A: H3a Buf 1 ... DONE
2A: H3a Buf 1
2A: H3a Buf 1 ... DONE
CMEM Error: getPhys: Failed to get physical address of 0x5a5bd7a8
2A: H3a Buf 2
2A: H3a Buf 2 ... DONE
2A: H3a Buf 2
2A: H3a Buf 2 ... DONE
ALGVIDENC | 64.00 | 15.62 | 64 | 1 |
ENCODE FRAME 3: Stream 0 Size 2412 bytes Keyframe 0
STREAM: Stream 0 InBuf 0, Frame size 2412 bytes, Key frame 0
STREAM: Stream 0, saveToFile = 0, fileSaveState = 0, frame size = 2412, key frame = 0
CAPTURE: Isif Buf 1
ENCODE: Stream 0 InBuf 1 OutBuf 1 (1174503432, 536941576)
2A: H3a Buf 0
2A: H3a Buf 0 ... DONE
2A: H3a Buf 0
2A: H3a Buf 0 ... DONE
CMEM Error: getPhys: Failed to get physical address of 0x5f48c5a8
2A: H3a Buf 1
2A: H3a Buf 1 ... DONE
2A: H3a Buf 1
2A: H3a Buf 1 ... DONE
CMEM Error: getPhys: Failed to get physical address of 0x5a69e768
2A: H3a Buf 2
2A: H3a Buf 2 ... DONE
2A: H3a Buf 2
2A: H3a Buf 2 ... DONE
ALGVIDENC | 65.00 | 15.38 | 65 | 1 |
ENCODE FRAME 4: Stream 0 Size 2470 bytes Keyframe 0