您好 TIers:
我用了 RDK 04.01.00.02 ,目前需要编码 1280 x 1024 ,60fps的视频,接到了 VIP0。
在 CaptureLink_Drv 里面增加了 FVID2_STD_SXGA_60 的宏定义和 maxWidth , maxHeight 的设置,
编码后用 VLC 播放,发现是 黑屏 没有图像, 但是 VLC 播放的分辨率是正确的。
请帮忙看看,是否还有其他地方要配置, 感谢。
第二路 1080P 接到 VIP1 ,能正确编码出图像。
67: MCFW : CPU Revision [ES2.1] !!! [m3vpss ] 7970: CAPTURE: Create in progress !!!
[m3vpss ] CreateInst, numVipInst= 2
[m3vpss ] <CaptureLink_drvCreateInst> standard= 277
[m3vpss ] 8003: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!! [m3vpss ] <CaptureLink_drvCreateInst> standard= 16
[m3vpss ] 8088: CAPTURE: VIP1 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!! [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)
[m3vpss ] CAPTURE::HEAPID:0 USED:520
[m3vpss ] CAPTURE::HEAPID:4 USED:44759040
[m3vpss ] 8223: CAPTURE: Create Done !!!
[m3vpss ] 8223: DEI : Create in progress !!!
[m3vpss ] DEI: Ch 0, Outformat is PROGRESSIVE
[m3vpss ] 8267: DEI: OUT1: 0: Format: PROGRESSIVE, 0xbaecbc80, 1280 x 1024, 4 frames
[m3vpss ] DEI: Ch 1, Outformat is PROGRESSIVE
[m3video] 8339: IPC_IN_M3 : Create in progress !!!
[m3vpss ] 8334: DEI: OUT1: 1: Format: PROGRESSIVE, 0xbb64bc80, 1920 x 1080, 4 frames
[m3video] 8339: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] …
[m3vpss ] 8335: DEI : Loading Down-scaling Co-effs
[m3video] 8340: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] …
[m3vpss ] 8335: DEI : Co-effs Loading … DONE !!!
[m3video] <Video IpcInM3Link_create> prevLinkId= 536870912, numQue= 1
[m3video] i= 0, j= 0, width= 1280, height= 1024, scanFormat= 1
[m3video] i= 0, j= 1, width= 1920, height= 1080, scanFormat= 1
[m3vpss ] DEI:HEAPID:0 USED:64
[m3video] 8343: IPC_IN_M3 : Create Done !!!
[m3vpss ] DEI:HEAPID:1 USED:5984
[m3video] 8343: ENCODE: Create in progress … !!!
[m3vpss ] DEI:HEAPID:4 USED:20305920
[m3vpss ] 8336: DEI : Create Done !!!
[m3vpss ] 8337: MERGE: 0: Format: PROGRESSIVE, 1280 x 1024
[m3vpss ] 8337: MERGE: 1: Format: PROGRESSIVE, 1920 x 1080
[m3vpss ] 8337: MERGE : Create Done !!!
[m3vpss ] 8338: IPC_OUT_M3 : Create in progress !!!
[m3vpss ] 8339: IPC_OUT_M3 : Create Done !!!
[m3video] <enc>inQueInfo.numCh= 2
[m3video] 8391: ENCODE: Creating CH0 of 1280 x 1024, pitch = (1280, 1280) [PROGRESSIVE] [NON-TILED ], bitrate = 2000 Kbps, fps= 30, I-P Interval 1… [m3video] ENCLINK_H264:HEAPID:0 USED:13808
[m3video] ENCLINK_H264:HEAPID:3 USED:4669440
[m3video] 8418: ENCODE: Creating CH1 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED ], bitrate = 2000 Kbps, fps= 30, I-P Interval 1…
[host] IpcBitsInLink_tskMain:Entered[HOST]ThreadName:IpcBitsInLink_tskMain_3000001a,ThreadID:303
[host] 559: IPC_BITS_IN : Create in progress !!!
[host] 559: IPC_BITS_IN : ListMPOpen start !!!
[host] 559: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] …
561: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] …
[host] 562: IPC_BITS_IN : ListMPOpen done !!!
[host] 564: IPC_BITS_IN : System_linkGetInfo done !!!
[host] 564: IPC_BITS_IN : Create Done !!!
[HOST]ThreadName:IpcBitsInLink_periodicTaskFxn_3000001a,ThreadID:314
[m3vpss ] 8468: CAPTURE: Start in progress !!!
[m3video] ENCLINK_H264:HEAPID:0 USED:11912
[m3video] ENCLINK_H264:HEAPID:3 USED:7176192
[m3video] 8458: ENCODE: All CH Create … DONE !!!
[m3video] ENCLINK:HEAPID:0 USED:25760
[m3video] ENCLINK:HEAPID:2 USED:8294400
[m3video] ENCLINK:HEAPID:3 USED:11845632
[m3video] 8458: ENCODE: Create … DONE !!!
[m3video] 8459: IPC_BITS_OUT : Create in progress !!!
[m3video] 8461: IPC_BITS_OUT : Create Done !!!
[m3vpss ] 8568: CAPTURE: Enabled Time Stamping !!!
[m3vpss ] 8576: CAPTURE: Enabled Time Stamping !!!
Chris Meng:
你好,
你能否先确认一下1280×1024这路的采集数据是否正确? 你的use case里是否有预览可以看看?
单路1280×1024能否正常编码?
user6299109:
回复 Chris Meng:
你好,
单路 1280x 1024 不能编码。
单路 1080P 可以正常编码。
这个code 是在 1080P 验证OK的, 在编码 1280X1024 时,我只改了 Cap 的分辨率配置, 其他地方也不知道怎么配置
Chris Meng:
回复 user6299109:
user6299109单路 1280x 1024 不能编码
能否先确认采集是否正确?
user6299109:
回复 Chris Meng:
你好
目前的项目的 use case没有显示接口。
所以保存了 YUV 文件来看, 1080P 的 YUV可以播放。
1280×1024 的YUV 不能播放, 看起来是 采集的问题, 但是还不知道怎么解决, 有什么思路推荐吗?
感谢。
user6299109:
回复 Chris Meng:
两路 VIN 是 FPGA 给来的。
FPGA 将一路视频源,处理了2路分辨率,输入到 8148 的 VIP0,VIP1 。
怎么先排除是不是 8148 cap 的问题呢?还是有什么直接的办法验证 FPGA 的信号不对。
感谢
Chris Meng:
回复 user6299109:
你好,
关于DVR RDK修改输入分辨率,请参考下面的论坛讨论。
e2e.ti.com/…/571857