Hi,
I am now using the DVRRDK 4.0 with an EVM8168 RevG + Catalog Daughter Card(xiodc). I managed to make a Capture + Enc usercase base on TVP7002 component input. Employing the LinkAPI, I have successfully built the Capture + Enc project, and the link is like this:
720p50 YUV --> CapLink --> ipcbitsOutRTOS --> ipcbitsInRTOS --> Enc --> ipcbitOutRTOS --> ipcbitInHLOS --> H264 File
Besides, I configured the TVP7002 with a 20 bit BT.601 YUV422 embedded sync mode. And set the VIN0 PortA as a single channel 16bit mode.
However, when I tried to run the program, the M3VPSS core continuously post the OVERFLOW issue to the terminal:
....
[m3vpss ] 310163: CAPTURE: Start Done !!!
[m3vpss ] 310212: CAPTURE: Overflow detected on VIP0, Total Resets = 1
[m3vpss ] 310244: CAPTURE: Overflow detected on VIP0, Total Resets = 2
[m3vpss ] 310292: CAPTURE: Overflow detected on VIP0, Total Resets = 3
[m3vpss ] 310324: CAPTURE: Overflow detected on VIP0, Total Resets = 4
......
Meanwhile, in most cases, I could get nothing in my output H264 file. Yet, I could occasionally get a encoded H264 file with only one I-frame exist, although it is not likely a correct output:
And my questions is:
Why the M3VPSS cast OVERFLOW issues? How can I change the VIN0 PORTA capture mode into 16bit embedded sync?
I thought there was something wrong with my Vin0 configuration in my usecase, because the log shows that:
[m3vpss ] 309862: CAPTURE: Create in progress !!!
[m3vpss ] 309892: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!!
I think a single channel 16bit embedded sync mode is what I need. But by no means could I successfully configure the VIN0 capture mode into "16bit embeded sync mode"; only these settings is available:
pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;
pCaptureInstPrm->videoIfMode = SYSTEM_CAPT_VIDEO_IF_MODE_16BIT;
pCaptureInstPrm->inScanFormat = SYSTEM_SF_PROGRESSIVE;
pCaptureInstPrm->videoCaptureMode = SYSTEM_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
Or, If I tried to modify "pCaptureInstPrm->videoCaptureMode" into a MULTI***_EMBEDDED_SYNC, the system hangs immediately once I tired to run the program:
[m3vpss ] 7016774: CAPTURE: Create in progress !!!
[m3vpss ] 7016803: CAPTURE: VIP0 PortA capture mode is [16-bit, Split Line Embedded Sync] !!!
[m3vpss ] 7016803: Assertion @ Line: 832 in links_m3vpss/capture/captureLink_drv.c: pInst->captureVipHandle != NULL : failed !!!
Could you help me?
Naroah
Jan/16/2014