8168采集sdi,720p,视频预览正常,但是没有编码,
串口打印如下:
[m3video] 340391: IPC_BITS_OUT : Received Notify !!!
[m3vpss ] 342889: IPC_OUT_M3 : Received 1 frames !!!
[m3video] 340391: IPC_BITS_OUT : Releasing 0 bitbufs !!!
[m3vpss ] 342890: IPC_OUT_M3 : Releasing 0 frames !!!
[m3video] 340397: IPC_IN_M3 : Recevived 1 frames !!!
[m3vpss ] 342900: NSF: Noise Filtering 1 frames !!!
[m3video] 340397: IPC_IN_M3 : Releasing 1 frames !!!
[m3vpss ] 342904: NSF: Returned 2 frames to NF channels !!!
[m3video] 340407: IPC_BITS_OUT : Received Notify !!!
[m3vpss ] 342904: SWMS: Dma begin !!!
[m3video] 340407: IPC_BITS_OUT : Releasing 0 bitbufs !!!
[m3vpss ] 342905: NSF: Noise Filtering of 1 frames Done !!!
[m3video] 340413: IPC_IN_M3 : Recevived 1 frames !!!
[m3vpss ] 342906: CAPTURE: Queued back 1 frames !!!
[m3video] 340413: IPC_IN_M3 : Releasing 1 frames !!!
[m3vpss ] 342906: NSF: No frames available for filtering !!!
[m3video] 340423: IPC_BITS_OUT : Received Notify !!!
[m3vpss ] 342906: IPC_OUT_M3 : Received Notify !!!
[m3video] 340423: IPC_BITS_OUT : Releasing 0 bitbufs !!!
[m3vpss ] 342906: IPC_OUT_M3 : Releasing 1 frames !!!
[m3video] 340429: IPC_IN_M3 : Recevived 0 frames !!!
[m3vpss ] 342906: IPC_OUT_M3 : Received 1 frames !!!
[m3video] 340439: IPC_BITS_OUT : Received Notify !!!
[m3vpss ] 342906: IPC_OUT_M3 : Releasing 0 frames !!!
[m3video] 340439: IPC_BITS_OUT : Releasing 0 bitbufs !!!
[host] 291766: IPC_BITS_IN : Recevived 0 bitbufs !!!
ipcBitsInLink_tsk.c:497''''''''''''''''''''pObj->state: 1 bufList->numBufs:0
osa_que.c:86''''''''''''''''''''hndl->count:0 hndl->curRd:1
ipcBitsInLink_tsk.c:280''''''''''''''''''''idx:0
demo_vcap_venc_vdis_bits_wr.c:328''''''''''''''''''''bitsBuf.numBufs:0
[host] 292086: IPC_BITS_IN : Recevived 0 bitbufs !!!
[host] 292086: IPC_BITS_IN : Recevived 0 bitbufs !!!
[host] 292086: IPC_BITS_IN : Recevived 0 bitbufs !!!
[host] 292086: IPC_BITS_IN : Recevived 0 bitbufs !!!
可以看出有数据进入编码器m3video,但m3video没数据出来,a8端的que里没任何数据,问题怎么调试?
采集link的参数配置如下:
#define SYSTEM_CAPT_VIDEO_CAPTURE_MODE_7601 EVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_ACTVID_VSYNC
pCaptureInstPrm = &capturePrm.vipInst[0];
pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP0_PORTA;
pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_GV7601_DRV;
pCaptureInstPrm->videoCaptureMode = SYSTEM_CAPT_VIDEO_CAPTURE_MODE_7601;//gv7601 better
pCaptureInstPrm->videoIfMode = SYSTEM_CAPT_VIDEO_IF_MODE_8BIT;//SYSTEM_CAPT_VIDEO_IF_MODE_8BIT;
pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;
pCaptureInstPrm->standard = VSYS_STD_720P_60;
pCaptureInstPrm->numOutput = 1;
采集模式只有EVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_ACTVID_VSYNC和
DEVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_HSYNC_VSYNC预览正常,但这两个都是没有编码,不知道还有那些参数没设对导致没有编码
Chris Meng:
你好,
看看下面的论坛讨论是否有帮助?
e2echina.ti.com/…/228146
user4748636:
回复 Chris Meng:
这个case应该没问题,采集link的其他vga、两路pal都可以做显示和编码了,而且sdi、vga和pal的输出参数都一样,输出视频均为422i,问题可能在采集的参数配置上。一开始pal也是不能编码的,后来改了pal采集同步模式就ok了,但是sdi的改了同步模式还是不行
case如下:
capture–>nfs–>dup–>ipcoutVpss–>ipcInvide–>enc–>ipcbitsoutRTOS–>ipcBitsInHOLS|swms–>display
user4748636:
回复 user4748636:
case如下:
capture–>nfs–>dup–>ipcoutVpss–>ipcInvide–>enc–>ipcbitsoutRTOS–>ipcBitsInHOLS|swms–>display
user4748636:
回复 user4748636:
这页面排版很bug啊,即是大了空格还是首行自动对齐,
对上面的case做下说明,dup出两路,一路是ipcoutVpss,另一路是swms,
Ternence_Hsu:
回复 user4748636:
建议到 mcfw 的代码里面去 debug 一下,查一下数据是否到 enc link 模块了 ? 查一下日志信息;