0: SYSTEM: System Common Init in progress !!! 0: SYSTEM: IPC init in progress !!! 13: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ... 15: SYSTEM: Creating MsgQ [HOST_MSGQ] ... 16: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ... 17: SYSTEM: Opening MsgQ [DSP_MSGQ] ... 18: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ... 18: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ... 19: SYSTEM: Notify register to [DSP] line 0, event 15 ... 21: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 21: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 21: SYSTEM: IPC init DONE !!! 23: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ... 25: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ... 27: SYSTEM: ListElem Shared Addr = 0x40a16300 28: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ... 30: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ... 32: SYSTEM: ListElem Shared Addr = 0x40a33e00 34: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ... 36: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ... 37: SYSTEM: ListElem Shared Addr = 0x40a71080 38: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ... 41: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ... 43: SYSTEM: ListElem Shared Addr = 0x40a90a80 44: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ... 46: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ... 48: SYSTEM: ListElem Shared Addr = 0x40aaff00 65: SYSTEM: System Common Init Done !!! *** a new param codec is needed for ini, if you not sure about this *** please reference demo_ini/704x576_02_32CH.ini *** H264: codec = h264 *** MPEG4: codec = mpeg4 *** MJPEG: codec = mjpeg *** Two new params numbuf & displaydelay has been added for ini, if not defaults are set 0: Opening file [/opt/g4av/data/1080p.h264] of 1920 x 1080 Codec: h264... 0: WARNING: Either the displaydelay was not set or Default value was set as 0 0: WARNING: Either the Num of output buffers not set or Default value was set as zero Input file [/opt/g4av/data/1080p.h264] opened successfully !!! Output file [/opt/g4av/data/1080p.hdr] opened successfully !!! 1: Opening file [/opt/g4av/data/1080p.h264] of 1920 x 1080 Codec: h264... 1: WARNING: Either the displaydelay was not set or Default value was set as 0 1: WARNING: Either the Num of output buffers not set or Default value was set as zero Input file [/opt/g4av/data/1080p.h264] opened successfully !!! Output file [/opt/g4av/data/1080p.hdr] opened successfully !!! 2: Opening file [/opt/g4av/data/1080p.h264] of 1920 x 1080 Codec: h264... 2: WARNING: Either the displaydelay was not set or Default value was set as 0 2: WARNING: Either the Num of output buffers not set or Default value was set as zero Input file [/opt/g4av/data/1080p.h264] opened successfully !!! Output file [/opt/g4av/data/1080p.hdr] opened successfully !!! 3: Opening file [/opt/g4av/data/1080p.h264] of 1920 x 1080 Codec: h264... 3: WARNING: Either the displaydelay was not set or Default value was set as 0 3: WARNING: Either the Num of output buffers not set or Default value was set as zero Input file [/opt/g4av/data/1080p.h264] opened successfully !!! Output file [/opt/g4av/data/1080p.hdr] opened successfully !!! fsState.config.numRes : 1 fsState.config.numChnlInRes[0] : 4 File open ... DONE !!! [g4av_pool.c] Calling InitializePool [i=0, bufCount=0, bufSize=0] [g4av_pool.c] Initialized pool, queue [elementCount=0, count=0] [g4av_pool.c] Calling InitializePool [i=1, bufCount=5, bufSize=196608] [g4av_pool.c] Initialized pool, queue [elementCount=5, count=5] [g4av_pool.c] Calling InitializePool [i=2, bufCount=5, bufSize=196608] [g4av_pool.c] Initialized pool, queue [elementCount=5, count=5] [g4av_pool.c] Calling InitializePool [i=3, bufCount=0, bufSize=0] [g4av_pool.c] Initialized pool, queue [elementCount=0, count=0] [g4av_pool.c] Calling InitializePool [i=4, bufCount=0, bufSize=0] [g4av_pool.c] Initialized pool, queue [elementCount=0, count=0] [g4be.c] Registered VENC callback [g4be.c] InputThread entering task loop [g4be.c] OutputThread entering task loop [g4be.c] G4BE_Create completed [file_sink.c] Registered G4BE callback 13796: MCFW : CPU Revision [ES2.0] !!! 13796: MCFW : Detected [(null)] Board !!! 13796: MCFW : Base Board Revision [DVR] !!! 13796: MCFW : Daughter Card Revision [DVR] !!! [host] 13797: IPC_BITS_OUT : Create in progress !!! ###Bit buff of size from the SR # 1 : 12441600 [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:0,Size:0xBDD800 [host] IPCBITSOUTLINK:Translated Addr Virt:0x417ab080 To Phy:0x90000080###Bit buff of size from the SR # 1 : 12441600 [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:1,Size:0xBDD800 [host] IPCBITSOUTLINK:Translated Addr Virt:0x42388880 To Phy:0x90bdd880###Bit buff of size from the SR # 1 : 12441600 [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:2,Size:0xBDD800 [host] IPCBITSOUTLINK:Translated Addr Virt:0x42f66080 To Phy:0x917bb080###Bit buff of size from the SR # 1 : 12441600 [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:3,Size:0xBDD800 [host] IPCBITSOUTLINK:Translated Addr Virt:0x43b43880 To Phy:0x92398880 [host] 13798: IPC_BITS_OUT : Create Done !!! [file_sink.c] Opened file '/data/out/VID_CH11.h264' for writing channel 11 [file_sink.c] Opened file '/data/out/VID_CH12.h264' for writing channel 12 [file_sink.c] Opened file '/data/out/VID_CH13.h264' for writing channel 13 [file_sink.c] Opened file '/data/out/VID_CH14.h264' for writing channel 14 [file_sink.c] Opened file '/data/out/VID_CH15.h264' for writing channel 15 [host] IpcBitsInLink_tskMain:Entered [host] 15513: IPC_BITS_IN : Create in progress !!! [host] 15513: IPC_BITS_IN : ListMPOpen start !!! [host] 15513: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ... 15516: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ... [host] 15517: IPC_BITS_IN : ListMPOpen done !!! [host] 15519: IPC_BITS_IN : System_linkGetInfo done !!! [host] 15519: IPC_BITS_IN : Create Done !!! g4av_dvr Use Case Create complete g4av_dvr started NSF and Mosaic GOT START OF FILE SOURCE! --------------- CHANNEL DETAILS------------- Enc Channels => Primary 5, Secondary 0 Dec Channels => 4 ------------------------------------------- [host] MCFW_IPCBITS:G4AVFileSource_SendFxn:INFO: periodic print.. [host] MCFW_IPCBITS:G4AVFileSource_SendFxn:INFO: periodic print.. [host] MCFW_IPCBITS:G4AVFileSource_SendFxn:INFO: periodic print.. [host] MCFW_IPCBITS:G4AVFileSource_SendFxn:INFO: periodic print.. [host] CH0: Reached the end of file, exiting !!! ... We did a ctrl-c to shut down the application here ... ^C[defaultSignalHandler] Got signal num: 2 [defaultSignalHandler] Current PID: 1197 [defaultSignalHandler] Stopped source plugin [defaultSignalHandler] Stopped decoder [defaultSignalHandler] Stopped Mosaic composer [defaultSignalHandler] Stopped scaler [defaultSignalHandler] Stopped encoder [defaultSignalHandler] Stopped sink plugin [defaultSignalHandler] Deleted source plugin [host] 73957: IPC_BITS_OUT : Delete in progress !!! [host] 73958: IPCBITSOUT:Link[30000018]: [host] RECV:5509 FREE:5485,DROPPED:0,AVGLATENCY:7017 [host] IPC_BITSOUT:BitBuffer Free.PoolID:0,Size:0xBDD800 [host] IPC_BITSOUT:BitBuffer Free.PoolID:1,Size:0xBDD800 [host] IPC_BITSOUT:BitBuffer Free.PoolID:2,Size:0xBDD800 [host] IPC_BITSOUT:BitBuffer Free.PoolID:3,Size:0xBDD800 [host] 74006: IPC_BITS_OUT : Delete Done !!! [host] 74019: IPCBITSIN:Link[3000001a]: [host] RECV:1064 FREE:1029,DROPPED:0,AVGLATENCY:0,AVG_APP_CB_TIME:0 [host] 74019: IPC_BITS_IN : Delete in progress !!! [host] 74020: IPC_BITS_IN : Delete Done !!! [defaultSignalHandler] Deleted system ... Then we used kill to drop a -SIGSEGV on the application here ... Error: signal 11: ../bin/g4av_dvr.out[0xa124] /lib/libc.so.6(__default_sa_restorer_v2+0x0)[0x4063d610] /lib/libpthread.so.0(__nanosleep+0x44)[0x4013c704] /lib/libdvr_rdk_osa.so(OSA_waitMsecs+0x44)[0x4004ad44] /opt/g4av/src_sink/libfile_sink.so(destroy+0x2c)[0x4011154c] ../bin/g4av_dvr.out[0xa060] /lib/libc.so.6(__default_sa_restorer_v2+0x0)[0x4063d610] /lib/libc.so.6(nanosleep+0x44)[0x406a2ea4] /lib/libc.so.6(usleep+0x44)[0x406ceb90] ../bin/g4av_dvr.out[0x9ed0] [defaultSignalHandler] Got signal num: 11 [defaultSignalHandler] Current PID: 1197 [defaultSignalHandler] Stopped source plugin [defaultSignalHandler] Stopped decoder [defaultSignalHandler] Stopped Mosaic composer [defaultSignalHandler] Stopped scaler [host] IpcBitsInLink_tskMain:Entered[defaultSignalHandler] Stopped encoder [defaultSignalHandler] Stopped sink plugin ... Then we used kill to drop a -SIGKILL on the application here ... Killed root@g4_display:/opt/g4av/conf# ls -l /data/out/ -rw-r--r-- 1 root root 15751 Jun 21 2013 VID_CH11.h264 -rw-r--r-- 1 root root 15751 Jun 21 2013 VID_CH12.h264 -rw-r--r-- 1 root root 9343 Jun 21 2013 VID_CH13.h264 -rw-r--r-- 1 root root 9343 Jun 21 2013 VID_CH14.h264 -rw-r--r-- 1 root root 8466168 Jun 21 2013 VID_CH15.h264