TI中文支持网
TI专业的中文技术问题搜集分享网站

8168,四路编码,前三路没有编码数据,怎么调试

在采集–编码–显示demo里,采集四路视频,0~3采集通道依次是pal、pal、sdi和vga;

发现问题:前三路没有编码数据,只有第四路vga有编码数据可存成h264文件,前3路文件大小一直为0,四路显示均正常。

排除过程:一度怀疑VcapVenc_bitsWriteCreate()—>status = OSA_thrCreate(&gVcapVenc_ctrl.wrThrHndl,VcapVenc_bitsWriteMain,OSA_THR_PRI_DEFAULT,0,&gVcapVenc_ctrl)中的条件变量等待,但是

MultiCh_ipcBitsInitCreateParams_BitsInHLOS(&ipcBitsInHostPrm);
System_linkCreate(gVencModuleContext.ipcBitsInHLOSId, &ipcBitsInHostPrm, sizeof(ipcBitsInHostPrm));

编码部分一直发信号量,不存在阻塞的。即是去掉VcapVenc_bitsWriteMain()中的等待条件变量一样没编码数据。

首先为了缩小问题范围,将采集改成只有pal一路视频,也就是一个采集实例,发现实际的阻塞是因为VcapVenc_bitsWriteMain(void *pPrm)–>status = Venc_getBitstreamBuffer(&bitsBuf, TIMEOUT_NO_WAIT),bitsBuf.numBufs= 0,也就是根本没有编码数据,至少是存编码文件这个线程中没有数据,即进去跟踪

IpcBitsInLink_getFullVideoBitStreamBufs(gVencModuleContext.ipcBitsInHLOSId,&ipcBufList),ipcBufList.numBufs = 0,再进去发现status = IpcBitsInLink_getFullBitBufs(pObj,bufList),bufList->numBufs = 0, 进去又发现

OSA_queGet(&pObj->outBitBufQue,(Int32 *) (&pBitBufList->bufs[idx]), OSA_TIMEOUT_NONE),hndl->count只有前3次不为0,后面一直为0。

问题在哪里,难道真是没有编码吗?通过上面的跟踪打印也只能看出事A8核确实没有编码数据,那么在M3Video核到底有没有产生数据呢,因为video核的都是link,没法打印调试具体有没有数据。因为同样的软件,有两个pal、一个sdi和第四路是vga时,vga可保存编码数据,可以说原来的软件流程是没问题,那么这个问题怎么调试可看出M3核到底有没有编码呢

 

Ternence_Hsu:

你好;你能确定你 4路码流 都采集到了吗?

Ternence_Hsu:

你有没有到 m3 里面去 debug 数据

user4748636:

回复 Ternence_Hsu:

四路采集到了,通过display可以在显示其上看到思路画面
第四路是vga,也可以存成文件。
为了测试方便,只保留了第一路pal采集其他几路实例去掉了,偶然间pal存了十几秒,但是回放是画面异常画

user4748636:

回复 Ternence_Hsu:

首先将M3video改为debug,rule.make改为

# Default profileifeq ($(PROFILE_m3video), )# PROFILE_m3video := release# PROFILE_m3video := debug  PROFILE_m3video := debugendif

编译后运行了,视频是一路pal(720*576),视频画面预览正常,可是没有m3video debug方面的打印,和release版的打印一样啊,怎么debug打印调试呢?

串口打印如下:

0: SYSTEM: System Common Init in progress !!! 0: SYSTEM: IPC init in progress !!! 18: SYSTEM: CPU [DSP] syslink proc ID is [0] !!! 18: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!! 18: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!! 18: SYSTEM: CPU [HOST] syslink proc ID is [3] !!! 18: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] … 21: SYSTEM: Creating MsgQ [HOST_MSGQ] … 23: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] … 25: SYSTEM: Opening MsgQ [DSP_MSGQ] … 25: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] … 26: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] … 28: SYSTEM: Notify register to [DSP] line 0, event 15 … 28: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 … 29: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 … 30: SYSTEM: IPC init DONE !!! 31: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 … 34: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 … 36: SYSTEM: ListElem Shared Addr = 0x4067cb00 37: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 … 40: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 … 41: SYSTEM: ListElem Shared Addr = 0x406b1d00 43: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 … 46: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 … 48: SYSTEM: ListElem Shared Addr = 0x40729f80 49: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 … 52: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 … 53: SYSTEM: ListElem Shared Addr = 0x4076d280 55: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 … 57: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 … 59: SYSTEM: ListElem Shared Addr = 0x407b0000osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:0osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:1 78: SYSTEM: System Common Init Done !!!__________________________________Demo_swMsGetOutSize____ 13 ___________20180402in ti_vcap.c func Vcap_getVideoSourceStatus line 1722in ti_vcap_device.c func Vcap_deviceGetSourceStatusgcx: Demo_captureGetSignalStandard: pChStatus->frameHeight = 0gcx: Demo_swMsGenerateLayout: –Demo_captureGetSignalStandard() = 48in ti_vcap.c func Vcap_getVideoSourceStatus line 1722in ti_vcap_device.c func Vcap_deviceGetSourceStatusgcx: Demo_captureGetSignalStandard: pChStatus->frameHeight = 0gcx: VcapVenc_start: –vdisParams.mosaicParams[2].outputFPS = 25@ryk___________test display 1 @ryk___________test display 3 [host] HDMI Ctrl :Initializing [host] HDMI Ctrl :Initializedosa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:2 Enable file write (YES – y / NO – n) : File write DISABLED !!! _______________ ryk 20180527 [FBDEV] [FBDEV] FB: Starting !!!###########IsSilence = 1 ###########################streamingMode = 0 ###########################audioType = 0 ###########################svcEnable = 0 ################Initializing…aaaaa :0 Get Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length First =16384Set TCP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Succeed Get TCP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Second =2000000…done initializing Set UDP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Succeed Get UDP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Second =2000000Play this stream using the URL: rtsp://192.168.0.93:8553/PSIA/Streaming/channels/0?videoCodecType=H.264 [m3vpss ] $$$ _________________ clkValue = 148500 [m3vpss ] [m3vpss ] $$$ _________________ clkValue = 148500 [m3vpss ] [FBDEV] FB: Opened device [/dev/fb0] (fd=22) !!! [FBDEV] [FBDEV] Fix Screen Info [FBDEV] ————— [FBDEV] Line Length – 5120 [FBDEV] Physical Address = dcc00000 [FBDEV] Buffer Length = 8294400 [FBDEV] [FBDEV] [FBDEV] Var Screen Info [FBDEV] ————— [FBDEV] Xres – 1280 [FBDEV] Yres – 720 [FBDEV] Xres Virtual – 1280 [FBDEV] Yres Virtual – 720 [FBDEV] Bits Per Pixel – 32 [FBDEV] Pixel Clk – 6734 [FBDEV] Rotation – 0 [FBDEV] [FBDEV] [FBDEV] Reg Params Info [FBDEV] ————— [FBDEV] region 0, postion 0 x 0, prioirty 1 [FBDEV] first 1, last 1 [FBDEV] sc en 1, sten en 0 [FBDEV] tran en 1, type 0, key 16777215 [FBDEV] blend 0, alpha 0 [FBDEV] bb en 0, alpha 0 [FBDEV] [FBDEV] [FBDEV] ### BUF SIZE = 3686400 Bytes !!! [FBDEV] [FBDEV] [FBDEV] Fix Screen Info [FBDEV] ————— [FBDEV] Line Length – 5120 [FBDEV] Physical Address = dcc00000 [FBDEV] Buffer Length = 8294400 [FBDEV] [FBDEV] [FBDEV] Var Screen Info [FBDEV] ————— [FBDEV] Xres – 1280 [FBDEV] Yres – 720 [FBDEV] Xres Virtual – 1280 [FBDEV] Yres Virtual – 720 [FBDEV] Bits Per Pixel – 32 [FBDEV] Pixel Clk – 6734 [FBDEV] Rotation – 0 [FBDEV] [FBDEV] [FBDEV] Reg Params Info [FBDEV] ————— [FBDEV] region 0, postion 0 x 0, prioirty 1 [FBDEV] first 1, last 1 [FBDEV] sc en 1, sten en 0 [FBDEV] tran en 1, type 0, key 16777215 [FBDEV] blend 0, alpha 0 [FBDEV] bb en 0, alpha 0 [FBDEV] [FBDEV] [FBDEV] ### BUF SIZE = 3686400 Bytes !!! [FBDEV] __________________________________Demo_swMsGetOutSize____ 13 ___________20180402create file date 03 file name /mnt/sata//2000-01-01_00-03-31-ch00.H264tirvideo Opened file [/mnt/sata//2000-01-01_00-03-31-ch00.H264] for writing CH0create file date 03 file name /mnt/sata//2000-01-01_00-03-31-ch01.H264tirvideo Opened file [/mnt/sata//2000-01-01_00-03-31-ch01.H264] for writing CH1create file date 03 file name /mnt/sata//2000-01-01_00-03-31-ch02.H264tirvideo Opened file [/mnt/sata//2000-01-01_00-03-31-ch02.H264] for writing CH2create file date 03 file name /mnt/sata//2000-01-01_00-03-31-ch03.H264tirvideo Opened file [/mnt/sata//2000-01-01_00-03-31-ch03.H264] for writing CH3 [FBDEV] FB: Start DONE !!! [FBDEV] Vsys_createosa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:3 232: MCFW : CPU Revision [ES2.0] !!! osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:4osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:0gcx: MultiCh_createVcapVenc: pCaptureInstPrm->numChPerOutput = 1$$$$$$$$$$$5158$$$$$$$$$$$$$$$$$ instId = 0gcx: Device_tvp5158Control: –enter–gcx: Device_tvp5158Control: –exit– VCAP: DEVICE-0 (0x5c): Chip ID 0x5158, Rev 0x0002, Firmware 0x0302 !!!in ti_vcap_device.c func Vcap_deviceCreate line 225gcx: Device_tvp5158Control: –enter–gcx: Device_tvp5158GetVideoStatus: –enter–gcx: Device_tvp5158GetVideoStatus: DEVICE_TVP5158_PAL_HEIGHTgcx: Device_tvp5158GetVideoStatus: –exit–gcx: Device_tvp5158Control: –exit– VCAP: DEVICE-0 (0x5c): Detected video (720×288@50Hz, 1) !!!gcx: Device_tvp5158Control: –enter– TVP5158: 0x5c: Patch is already running. TVP5158: 0x5c: 5158:0002:0302$$$$____________11_____________pPrm->standard = 515 VSYS_STD_MUX_2CH_D1 =38 $$$$____________22_____________pPrm->standard = 515 VSYS_STD_MUX_2CH_D1 =38 gcx: Device_tvp5158Control: –exit–in ti_vcap.c func Vcap_getVideoSourceStatus line 1722in ti_vcap_device.c func Vcap_deviceGetSourceStatusgcx: Device_tvp5158Control: –enter–gcx: Device_tvp5158GetVideoStatus: –enter–gcx: Device_tvp5158GetVideoStatus: DEVICE_TVP5158_PAL_HEIGHTgcx: Device_tvp5158GetVideoStatus: –exit–gcx: Device_tvp5158Control: –exit–gcx: Device_tvp5158Control: –enter–gcx: Device_tvp5158GetVideoStatus: –enter–gcx: Device_tvp5158GetVideoStatus: –exit–gcx: Device_tvp5158Control: –exit–********in multich_vcap_venc.c func MultiCh_createVcapVenc line 442osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:1 [m3vpss ] 200118: CAPTURE: Create in progress !!! [m3vpss ] 200150: CAPTURE: VIP0 PortB capture mode is [ 8-bit, Line-mux Embedded Sync] !!! osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:2 [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58) [m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740) [m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800) [m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820) [m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:3osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:4osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:0 [m3video] 200197: IPC_IN_M3 : Create in progress !!! [m3vpss ] CAPTURE::HEAPID:0 USED:328 [m3video] 200198: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] … [m3vpss ] CAPTURE::HEAPID:4 USED:8810496 [m3video] 200198: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] … [m3vpss ] 200177: CAPTURE: Create Done !!! [m3video] 200201: IPC_IN_M3 : Create Done !!! [m3vpss ] 200177: NSF: Create in progress !!!_____gVencModuleContext.vencConfig.numPrimaryChn = 4osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:1 [m3video] 200201: ENCODE: Create in progress … !!! [m3video] 200210: ENCODE: Creating CH0 of 720 x 240, pitch = (736, 736) [INTERLACED ] [NON-TILED ], bitrate = 1000 Kbps … [m3vpss ] NSF::HEAPID:0 USED:128 [m3video] $$$ _______________ is this 720P D1 case !!! [m3vpss ] NSF::HEAPID:1 USED:4928 [m3vpss ] NSF::HEAPID:4 USED:1978368 [m3vpss ] 200189: NSF: Create Done !!! [m3video] $$$______________ryk___________ currentEncFrameIntervalNum= 30000 [m3vpss ] 200196: DUP : Create Done !!! [m3vpss ] 200196: IPC_OUT_M3 : Create in progress !!! [m3vpss ] 200197: IPC_OUT_M3 : Create Done !!!osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:2

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

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

[host] 813: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] … 816: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] …

[host] 818: IPC_BITS_IN : ListMPOpen done !!!osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:3

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

[host] 819: IPC_BITS_IN : Create Done !!!gcx: MultiCh_swMsGetDefaultLayoutPrm: gVdisModuleContext.vdisConfig.mosaicParams[2].outputFPS = 25osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:4 [m3video] ENCLINK_H264:HEAPID:0 USED:11912 [m3vpss ] @ryk_____________ a6___ pObj->inQueInfo.chInfo[0].width = 720 [m3video] ENCLINK_H264:HEAPID:3 USED:1683456 [m3vpss ] @ryk_____________ a62___ pObj->inTskInfo.queInfo[0].chInfo[0].width = 720 [m3video] 200221: ENCODE: All CH Create … DONE !!! [m3vpss ] 200232: SWMS: Create in progress !!! [m3vpss ] @ryk_____________ a61___ pObj->inQueInfo.chInfo[0].width = 720 _____1 [m3video] ENCLINK:HEAPID:0 USED:12032 [m3video] ENCLINK:HEAPID:2 USED:893952 [m3video] ENCLINK:HEAPID:3 USED:1683456 [m3video] 200222: ENCODE: Create … DONE !!! [m3video] 200223: IPC_BITS_OUT : Create in progress !!! [m3video] 200225: IPC_BITS_OUT : Create Done !!! [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 59 (59) [m3vpss ] UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760) [m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 17 [m3vpss ] 200352: SWMS0 : Loading Vertical Co-effs (UPSCALE)x … [m3vpss ] 200352: SWMS0 : Loading Horizontal Co-effs (UPSCALE)x … [m3vpss ] 200352: SWMS : Co-effs Loading … DONE !!!osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:0osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:1 [m3vpss ] AVSYNC:WARNING!! Application wrongly configureddisplayID[-1]. Reseting to correct displayID[1] [m3vpss ] @ryk____a41____ pChInfo->width = 720 [m3vpss ] @ryk __a12 [m3vpss ] @ryk __a12 pObj->winObj[0].scRtInFrmPrm.width = 0 [m3vpss ] $$$$ _________________________________sw_ 20180330 [m3vpss ] @ryk __a3 pObj->winObj[0].scRtInFrmPrm.width = 0 pObj->winObj[0].scRtOutFrmPrm.width = 0 [m3vpss ] 200353: SWMS : ******* Configuring clock 37 secs… [m3vpss ] @ryk____________ pChInfo->width= 720 [m3vpss ] @ryk ____a32____ pWinObj->scRtCropCfg.cropStartX = 0 pWinObj->scRtCropCfg.cropWidth = 720 [m3vpss ] [m3vpss ] @ryk __a32 pWinObj->scRtInFrmPrm.width = 720 [m3vpss ] @ryk __a33 pObj->winObj[0].scRtInFrmPrm.width = 720 [m3vpss ] @ryk _____a1 ___pWinObj->scRtInFrmPrm.width= 720 [m3vpss ] @ryk _____a1 ___pObj->winObj[winId].scRtInFrmPrm.width =720 pObj->winObj[winId].scRtOutFrmPrm.width = 960 [m3vpss ] WARNING: WIN1: CH1, Channel ID is INVALID (max allowed CH ID is CH0), !!! [m3vpss ] @ryk __a31 pWinObj->scRtInFrmPrm.width = 352 [m3vpss ] @ryk _____a1 ___pWinObj->scRtInFrmPrm.width= 352 [m3vpss ] @ryk _____a1 ___pObj->winObj[winId].scRtInFrmPrm.width =352 pObj->winObj[winId].scRtOutFrmPrm.width = 960 [m3vpss ] WARNING: WIN2: CH2, Channel ID is INVALID (max allowed CH ID is CH0), !!! [m3vpss ] @ryk __a31 pWinObj->scRtInFrmPrm.width = 352 [m3vpss ] @ryk _____a1 ___pWinObj->scRtInFrmPrm.width= 352 [m3vpss ] @ryk _____a1 ___pObj->winObj[winId].scRtInFrmPrm.width =352 pObj->winObj[winId].scRtOutFrmPrm.width = 960 [m3vpss ] WARNING: WIN3: CH3, Channel ID is INVALID (max allowed CH ID is CH0), !!! [m3vpss ] @ryk __a31 pWinObj->scRtInFrmPrm.width = 352 [m3vpss ] @ryk _____a1 ___pWinObj->scRtInFrmPrm.width= 352 [m3vpss ] @ryk _____a1 ___pObj->winObj[winId].scRtInFrmPrm.width =352 pObj->winObj[winId].scRtOutFrmPrm.width = 960 [m3vpss ] 200355: SWMS0 : Loading Vertical Co-effs (UPSCALE)x … [m3vpss ] 200356: SWMS0 : Loading Horizontal Co-effs (UPSCALE)x … [m3vpss ] 200356: SWMS : Co-effs Loading … DONE !!! [m3vpss ] [m3vpss ] *** [SWMS0] Mosaic Parameters *** [m3vpss ] [m3vpss ] Output FPS: 25 [m3vpss ] [m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Low Cost | SWMS | Data | Blank | [m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | ON / OFF | Inst | Format| Frame | [m3vpss ] ———————————————————————————————————————————————————————- [m3vpss ] 0 | 0 | 0, 0 | 720 x 240 | 736 / 736 | NON-TILED | 0, 0 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF | [m3vpss ] 1 | 1 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 0 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 422I | OFF | [m3vpss ] 2 | 2 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 540 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 422I | OFF | [m3vpss ] 3 | 3 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 540 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 422I | OFF | [m3vpss ] [m3vpss ] @ryk _____________________ pWinObj->scRtInFrmPrm.width = 352osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:2osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:3osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:4 [m3vpss ] SWMS:HEAPID:0 USED:224 [m3vpss ] SWMS:HEAPID:1 USED:47296 [m3vpss ] SWMS:HEAPID:4 USED:20736000 [m3vpss ] 200358: SWMS: Create Done !!! [m3vpss ] 200359: DISPLAY: Create in progress !!! [m3vpss ] 200360: DISPLAY: Create Done !!! [m3vpss ] 200360: DISPLAY: Start in progress !!! [m3vpss ] 200427: DISPLAY: Start Done !!! [m3vpss ] 200427: DISPLAY: DVO2(BP1) : 29 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 8699 / 0 ) !!! [m3vpss ] 200427: DISPLAY DRV: DVO2(BP1) : Q:[2] Display:[2], Repeat:[1], DQ:[0] [m3vpss ] 200701: SWMS: Start in Progress !!! [m3vpss ] 200701: SWMS: Start Done !!![ 215.380000] I2C Bus Low?[ 215.380000] [ 215.380000] HDMI failed to read E-EDIDosa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:0osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:1gcx: Device_tvp5158Control: –enter–gcx: Device_tvp5158Control: –exit–osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:2osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:3osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:4osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:0osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:1osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:2osa_que.c:86''''''''''''''''''''hndl->count:5 hndl->curRd:3 [m3vpss ] 202211: CAPTURE: Start in progress !!!*************** ryk test 101

@ryk >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>1101

============= Run-Time Menu =============

1: Capture Settings 2: Encode Settings 3: Decode Settings 4: Display Settings 5: Audio Capture <TVP5158> & Encode <AAC-LC, G711> demo 6: Change Playback Channel <valid only if capture/playback is active> 7: Audio encode demo <File In/Out> 8: Audio decode demo <File In/Out>

i: Print detailed system information s: Core Status: Active/In-active f: Switch IVA Channel Map

e: Stop Demo

Enter Choice: [m3vpss ] 202310: CAPTURE: Enabled Time Stamping !!! [m3vpss ] 202313: CAPTURE: Start Done !!!osa_que.c:86''''''''''''''''''''hndl->count:1 hndl->curRd:0osa_que.c:86''''''''''''''''''''hndl->count:0 hndl->curRd:1ipcBitsInLink_tsk.c:280''''''''''''''''''''idx:1ti_venc.c:835''''''''''''''''''''ipcBufList.numBufs:1demo_vcap_venc_vdis_bits_wr.c:331''''''''''''''''''''bitsBuf.numBufs:1demo_vcap_venc_vdis_bits_wr.c:386''''''''''''''''''''pBuf->chnId:0 pBuf->filledBufSize:12881 Set UDP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Succeed Get UDP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Second =2000000 Set UDP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Succeed Get UDP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Second =2000000 Set UDP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Succeed Get UDP Socket Buffer Send LFG LFG LFG LFG LFG LFG LFG LFG LFG LFG Length Second =2000000osa_que.c:86''''''''''''''''''''hndl->count:1 hndl->curRd:1osa_que.c:86''''''''''''''''''''hndl->count:0 hndl->curRd:2ipcBitsInLink_tsk.c:280''''''''''''''''''''idx:1ti_venc.c:835''''''''''''''''''''ipcBufList.numBufs:1demo_vcap_venc_vdis_bits_wr.c:331''''''''''''''''''''bitsBuf.numBufs:1demo_vcap_venc_vdis_bits_wr.c:386''''''''''''''''''''pBuf->chnId:0 pBuf->filledBufSize:6047osa_que.c:86''''''''''''''''''''hndl->count:1 hndl->curRd:2osa_que.c:86''''''''''''''''''''hndl->count:0 hndl->curRd:3ipcBitsInLink_tsk.c:280''''''''''''''''''''idx:1ti_venc.c:835''''''''''''''''''''ipcBufList.numBufs:1demo_vcap_venc_vdis_bits_wr.c:331''''''''''''''''''''bitsBuf.numBufs:1demo_vcap_venc_vdis_bits_wr.c:386''''''''''''''''''''pBuf->chnId:0 pBuf->filledBufSize:3250osa_que.c:86''''''''''''''''''''hndl->count:1 hndl->curRd:3osa_que.c:86''''''''''''''''''''hndl->count:0 hndl->curRd:4ipcBitsInLink_tsk.c:280''''''''''''''''''''idx:1ti_venc.c:835''''''''''''''''''''ipcBufList.numBufs:1demo_vcap_venc_vdis_bits_wr.c:331''''''''''''''''''''bitsBuf.numBufs:1demo_vcap_venc_vdis_bits_wr.c:386''''''''''''''''''''pBuf->chnId:0 pBuf->filledBufSize:1802osa_que.c:86''''''''''''''''''''hndl->count:1 hndl->curRd:4osa_que.c:86''''''''''''''''''''hndl->count:0 hndl->curRd:5ipcBitsInLink_tsk.c:280''''''''''''''''''''idx:1ti_venc.c:835''''''''''''''''''''ipcBufList.numBufs:1demo_vcap_venc_vdis_bits_wr.c:331''''''''''''''''''''bitsBuf.numBufs:1demo_vcap_venc_vdis_bits_wr.c:386''''''''''''''''''''pBuf->chnId:0 pBuf->filledBufSize:8195osa_que.c:86''''''''''''''''''''hndl->count:1 hndl->curRd:5osa_que.c:86''''''''''''''''''''hndl->count:0 hndl->curRd:6ipcBitsInLink_tsk.c:280''''''''''''''''''''idx:1ti_venc.c:835''''''''''''''''''''ipcBufList.numBufs:1demo_vcap_venc_vdis_bits_wr.c:331''''''''''''''''''''bitsBuf.numBufs:1demo_vcap_venc_vdis_bits_wr.c:386''''''''''''''''''''pBuf->chnId:0 pBuf->filledBufSize:5021

问题:

1.将m3video改成debug板,没有出现video方面的打印,如何出现相m3video的信息?

2.改m3video debug的时候,因为出现编译错误,将

        //var ETH_OFFLOAD_SIZE = 64*KB;

       var ETH_OFFLOAD_SIZE = 40*KB;

出现了上面的打印,也就是编码器编码了很多数据,但是相比正常的编码数据少了很多,存文件也很小,很长时间也只有128k,这128k的视频用暴风影音可以断断续续的看到实际画面,也就是说,现在还不能对每帧数据进行编码,为啥

 

Chris Meng:

回复 user4748636:

你好,

Rules.make里面修改的debug是编译选项的修改,就是不优化。

如果你想打印更多的debug信息,请参考system_debug.h。

user4748636:

回复 Chris Meng:

好的,看到debug信息了

赞(0)
未经允许不得转载:TI中文支持网 » 8168,四路编码,前三路没有编码数据,怎么调试
分享到: 更多 (0)