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.

Encoder link Issue in IPNC RDK Ver3.8 ( dm8127 platform )

Hi,

I am using ipnc rdk v3.8.

I am using tristeam full feature usecase [5MP D1 D1], I am getting this issue frequently.

 [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_HDMI
 [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_SD
 [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_CLK_SRC VPS_DC_VENC_HDMI | VPS_DC_VENC_DVO2
 [m3vpss ]  4611: CAMERA: Create in progress !!!
 [m3vpss ]  Channel Num Stream 0 Ch 0 ChannelNum 0
 [m3vpss ]  Channel Num Stream 1 Ch 0 ChannelNum 1
 [m3vpss ]  4611: CAMERA: VIP0 PortA camera mode is [ 8-bit, Non-mux Embedded Sync] !!!
 [m3vpss ]  4621: CAMERA: VIP 0: VID DEC 268436736 (0x36): 0002:20202020:20202020, AUD_STATUS 538976288
 [m3vpss ] Iss_captCreate:1661
 [m3vpss ]  4985: CAMERA: Create Done !!!
 [m3vpss ]  5192: CAMERA: Detect video in progress !!!
 [m3vpss ]  5192: CAMERA: Detect video Done !!!
 [m3vpss ]  5400: DUP   : Create Done !!!
 [m3vpss ] DCC server task running
DMA: ChannelID allocated:6
 [m3vpss ]  5404DMA: ChannelID allocated:7
: Mux   : Creating... !!!
 [m3vpss ]  5406: Mux   : Create Done !!!
 [m3vpss ] {SWOSD} edma3Handle->tccVal = 36
 [m3vpss ] {SWOSD} edma3Handle->chId   = 36

 [host] Vsys_eventHandler:OSA_dmaOpen passed with ch id = 6

 [host] Vsys_eventHandler:OSA_dmaOpen passed with ch id = 7
 [m3vpss ] {SWOSD} edma3Handle->tccVal = 37
 [m3vpss ] {SWOSD} edma3Handle->chId   = 37
 [m3vpss ] {SWOSD} edma3Handle->tccVal = 38
 [m3vpss ] {SWOSD} edma3Handle->chId   = 38
 [m3vpss ]  5416: SYSTEM: Opening MsgQ [HOST_MSGQ] ...
 [m3vpss ]  5271: SWOSD   : Create Done !!!
 [m3vpss ]  5472: SCLR: Create in progress !!!
DMA: ChannelID allocated:8

 [host] Vsys_eventHandler:OSA_dmaOpen passed with ch id = 8
 [m3vpss ]  5478: SCLR    : Loading Up-scaling Co-effs ...
 [m3vpss ]  5478: SCLR    : Co-effs Loading ... DONE !!!
 [m3video]  5489: IPC_IN_M3   : Create in progress !!!
 [m3video]  5490: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
 [m3vpss ] SCLR:HEAPID:0        USED:64
 [m3video]  5490: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
 [m3vpss ] SCLR:HEAPID:1        USED:5952
 [m3video]  5493: IPC_IN_M3   : Create Done !!!
 [m3vpss ]  5478: SCLR: Create Done !!!
 [m3video]  5494: ENCODE: Create in progress ... !!!
 [m3vpss ]  5286: FD   : Alg Create Done !!!
 [m3vpss ]  5286: FD   : Create Done !!!
 [m3vpss ]  5487: IPC_OUT_M3   : Create in progress !!!
 [m3vpss ]  5489: IPC_OUT_M3   : Create Done !!!
 [m3video]  5724: ENCODE: Creating CH0 of 2560 x 1920, pitch = (2624, 2624) [PROGRESSIVE] [NON-TILED  ], bitrate = 8000 Kbps ...
 [m3video] ENCLINK_H264:HEAPID:0        USED:13272
 [m3video]  5830: ENCODE: Creating CH1 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 8000 Kbps ...

 [host] IpcBitsInLink_tskMain:Entered
 [host]  1245: IPC_BITS_IN   : Create in progress !!!

 [host]  1245: IPC_BITS_IN   : ListMPOpen start !!!

 [host]  1245: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_29] ...

 [host]  1247: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_29] ...

 [host]  1248: IPC_BITS_IN   : ListMPOpen done !!!

 [host]  1249: IPC_BITS_IN   : System_linkGetInfo done !!!

 [host]  1250: IPC_BITS_IN   : Create Done !!!

 [host] USECASE SETUP DONE
 [m3vpss ]  5927: DISPLAY: Create in progress !!!
 [m3video] ENCLINK_H264:HEAPID:0        USED:11720
 [m3vpss ] DisplayId = 4,DataFormat = 7
 [m3video]  5914: ENCODE: Creating CH2 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
 [m3vpss ] SD displayInstId = 2
 [m3vpss ]  5928: DISPLAY: Create Done !!!
 [m3video] ENCLINK_JPEG:HEAPID:0        USED:4368
 [m3vpss ]  5931: DISPLAY: Start in progress !!!
 [m3video]  5915: ENCODE: All CH Create ... DONE !!!
 [m3video] ENCLINK:HEAPID:0     USED:29688
 [m3video]  5918: ENCODE: Create ... DONE !!!
 [m3video]  5844: VSTAB   : Alg Create Done !!!
 [m3video]  5844: VSTAB   : Create Done !!!
 [m3video]  5919: IPC_BITS_OUT   : Create in progress !!!
 [m3video]  5921: IPC_BITS_OUT   : Create Done !!!
 [m3vpss ]  5990: DISPLAY: Start Done !!!
 [m3vpss ]  5990: DISPLAY: SDDAC(SEC1): 16 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!!
 [m3vpss ]  5791: CAMERA: Start in progress !!!
 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            
 [m3vpss ]  5929: CAMERA: Fields = 2 (fps = 0), Total Resets = 0 (Avg 0 ms per reset)
Arago Project http://arago-project.org DM8127_IPNC ttyO0
 [m3video]  Channel:2 inputframerate:60 targetfps:5
Arago 2011.09 DM8127_IPNC ttyO0
 [host] ITT server task running !!!
DM8127_IPNC login: root (automatic login)
root@DM8127_IPNC:~# mkdosfs 3.0.12 (29 Oct 2011)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,initialization successful
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
There is 1 reserved sector.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is e5d0db41, no volume label.
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1Id <20002>
g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla
Simple mixer control 'PGA',0 from HOST A8
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 119ved from HOST A8
  Front Left: Capture 80 [67%] [40.00dB] [on]
  Front Right: Capture 80 [67%] [40.00dB] [on]
 [m3vpss ] CT: 5969, 3dlut index:3
 [m3vpss ]  8453: DISPLAY: Stop in progress !!!
 [host] Default parameters were sent sucessfully
 Venc not supported!!
 [m3vpss ]  8493: DISPLAY: Stop Done !!!2>
 [m3vpss ]  8496: DISPLAY: Start in progress !!!0980
 [m3vpss ]  8546: DISPLAY: Start Done !!!
 [m3vpss ]  8547: DISPLAY: SDDAC(SEC1): 1490 fps, Latency (Min / Max) = ( 3 / 34 ), Callback Interval (Min / Max) = ( 33 / 34 ) !!!
 sbulla: unknown partition table
 [host] VNF MESSAGE RECIEVED: (Enable:0) (Mode:5) (Strength:0) (EnableTNF:0) (EnableSNF:0)
.
 [host]  syslogd/klogd: done
 Channel Selected: 0
 [host]
 Channel Selected: 0,rate control = 0
 [host]

========== Stream FrameRate1 = 30 =================

 [host]
 Channel Selected: 0
 [host]
 Channel Selected: 0
 [host]
 Channel Selected: 0
 [host]
 Channel Selected: 0,packet size = 100
 [host]
 Channel Selected: 0,encPreset = 0
 [host]
 Channel Selected: 0,enable = 0
 [host]
 Channel Selected: 1
 [host]
 Channel Selected: 1,rate control = 0
 [host]
 Channel Selected: 1
 [host]
 Channel Selected: 1
 [host]
 Channel Selected: 1
 [host]
 Channel Selected: 1,packet size = 100
 [host]
 Channel Selected: 1,encPreset = 0
 [host]
 Channel Selected: 1,enable = 0
 [host]
 Channel Selected: 2
 [host]
 Channel Selected: 2,rate control = 2
 [host] MJPEG in Rate Control OFF Mode
Check_device_version : DEVICE VER = 1 !!
 [m3video]  Channel:0 inputframerate:30 targetfps:30
 [m3video]  ENCLINK: new targetbitrate to set:10000000
 [m3video]  ENCLINK: new targetframerate to set:30000
 [m3video]  ENCLINK: new intraFrameInterval to set:30,new maxPicSizeRatioI to set = 960
 [m3video]  ENCLINK: new QP I Param to set:10 36 -1
 [m3video]  ENCLINK: new QP P Param to set:10 40 28
 [m3video]  ENCLINK: new PacketSize Param to set:100
 [m3video]  ENCLINK: new Encode Preset Param to set:0
Simple mixer control 'PGA',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 119
  Front Left: Capture 95 [80%] [47.50dB] [on]
  Front Right: Capture 95 [80%] [47.50dB] [on]
 [m3video]  ENCLINK: new rate control algorithm  to set:0
Check_device_version : DEVICE VER = 1 !!
 [m3video]  Channel:2 inputframerate:30 targetfps:5
 [m3video]  ENCLINK: new targetbitrate to set:2000000
 [m3video]  ENCLINK: new targetframerate to set:30000
 [m3video]  ENCLINK: new intraFrameInterval to set:30,new maxPicSizeRatioI to set = 960
 [m3video]  ENCLINK: new QP I Param to set:10 36 -1
 [m3video]  ENCLINK: new QP P Param to set:10 40 28
 [m3video]  ENCLINK: new PacketSize Param to set:100
 [m3video]  ENCLINK: new Encode Preset Param to set:0
 [m3video]  ENCLINK: new rate control algorithm  to set:0
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 101 [80%] [-13.00dB]
  Front Right: Playback 101 [80%] [-13.00dB]
 [m3video]  Channel:1 inputframerate:30 targetfps:30
 [m3video]  JPGLINK: new targetframerate to set:5000 for bitrate 2000000

 [host]
Force IDR on Channel: 0
 [host]
Force IDR on Channel: 1 [m3video]  JPGLINK: new QP Param to set:1 51 80
 [m3video]  JPGLINK: new qualityFactor Param to set:80
 [m3video]  JPGLINK: new rate control algorithm  to set:2 for bitrate: 2000000
 [m3video]  JPGLINK: Run time parameters changed 0
SystemInit success
Schedule manager init success
Dmva Schedule manager init success
queue id:0
umount: can't umount /mnt/mmc: Invalid argument
killall: dhcpcd: no process killed
net_search_gateway:eth0, 8630A, 0, 1
net_search_gateway:eth0, 0, 109630A, 3
dns=192.168.6.55
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla
queue id:131076
ApproDrvInit: 10
queue id:163845
Initializing...
...done initializing
Play this stream using the URL:
        rtsp://10.99.11.81:8557/PSIA/Streaming/channels/2?videoCodecType=H.264

(We use port 8304 for optional RTSP-over-HTTP tunneling.)
ApproDrvInit: 6
queue id:163845
ApproDrvInit: 2
queue id:163845
Initializing...
...done initializing
Play this stream using the URL:
        rtsp://10.99.11.81:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4

(We use port 8300 for optional RTSP-over-HTTP tunneling.)
ApproDrvInit: 8
queue id:163845
Initializing...
...done initializing
Play this stream using the URL:
        rtsp://10.99.11.81:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG

(We use port 8302 for optional RTSP-over-HTTP tunneling.)
ApproDrvInit: 9
Initializing...
...done initializing
Play this stream using the URL:
        rtsp://10.99.11.81:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4

(We use port 8301 for optional RTSP-over-HTTP tunneling.)
queue id:163845
Initializing...
...done initializing
Play this stream using the URL:
        rtsp://10.99.11.81:8556/PSIA/Streaming/channels/2?videoCodecType=H.264

(We use port 8303 for optional RTSP-over-HTTP tunneling.)
./boa: /usr/lib/libssl.so.1.0.0: no version information available (required by ./boa)
./boa: /usr/lib/libcrypto.so.1.0.0: no version information available (required by ./boa)
ApproDrvInit: 3
queue id:163845
queue id:0
queue id:32769
[10/Nov/2012:00:22:56 +0000] boa: server version Boa/0.94.13
[10/Nov/2012:00:22:56 +0000] boa: server built Nov  4 2015 at 14:29:43.
[10/Nov/2012:00:22:56 +0000] boa: starting server pid=608, port 80
queue id:0
queue id:0
<UDN>uuid:Upnp-TVEmulator-1_0-00_0000951049</UDN>

Upnp port is 0
UPnP Initialized OK ip=10.99.11.81, port=0
desc_doc_url = 10.99.11.81/tvdevicedesc.xml
error code = 0
device advertisement succeed.
in  [onvif] soap_serve_request ....wsd:Probe...

 [host]
Usecase is Active !!!
 [m3video] ENCLINK:H264Enc !!WARNING!!!Unable to handle runtime output buffer request
 [m3video] Extended error 18400 for reqObjIndex 0

 [host] Error code: -1 at 515

 [host] Error code: -1 at 515

 [host] Error code: -1 at 515

 [host] Error code: -1 at 515

 [host] Error code: -1 at 515

 [host] Error code: -1 at 515
 [m3video] 38039:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38039:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 18000 for reqObjIndex 0
 [m3video] 38040:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38040:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 18000 for reqObjIndex 0

 [host] Error code: -1 at 515
 [m3video] 38041:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38041:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 10400 for reqObjIndex 0
 [m3video] 38041:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38041:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 10400 for reqObjIndex 0
 [m3video] 38042:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38042:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 18000 for reqObjIndex 0

 [host] Error code: -1 at 515
 [m3video] 38043:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38043:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 10400 for reqObjIndex 0
 [m3video] 38056:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38056:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 18000 for reqObjIndex 0
 [m3video] 38092:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38092:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 18000 for reqObjIndex 0

 [host] Error code: -1 at 515

 [host] Error code: -1 at 515
 [m3video] 38129:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38129:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 10400 for reqObjIndex 0
 [m3video] 38129:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38129:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]

 [host] Error code: -1 at 515
 [m3video] Extended error 18000 for reqObjIndex 0
 [m3video] 38165:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38165:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 18000 for reqObjIndex 0

 [host] Error code: -1 at 515

 [host] Error code: -1 at 515
 [m3video] 38201:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38201:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 10400 for reqObjIndex 0
 [m3video] 38202:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38202:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]

 [host] Error code: -1 at 515
 [m3video] Extended error 18000 for reqObjIndex 0
 [m3video] 38237:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38237:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
 [m3video] Extended error 18000 for reqObjIndex 0
 [m3video] 38274:WARN
 [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
 [m3video] 38274:WARN
 [m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
in  [onvif] soap_serve_request ....wsd:Probe...

 [host]
Usecase is Active !!!

 [host]
Usecase is Active !!!

with regard,

Prashant.