Hi,
My custom board is tda2xx and use VSDK3.07 running on linux.
I want to capture 2 cameras and save the frames to SD card.
The similar usecase is : lvds_vip_multi_cam_vpe_enc_null
After test this usecase, I always only get one file that have frame in it.
The other file is empty.
I'm sure the 2nd lvds camera have data in.
the multi cam usecase link is:
Capture -> VPE -> Encode -> Null (A15)
I got the null link in vision_sdk/links_fw/src/hlos/links_a15/null/nullLink_tsk.c
if (pObj->createArgs.dumpDataType == NULL_LINK_COPY_TYPE_FILE)
{
/* File Write enabled for channels only from first inputQ (Q0) */
for (chId=0; chId<pObj->inQueInfo[0].numCh; chId++)
{
Vps_printf(" NULL LINK: Opening file for Dump \n");
pObj->fpDataStream[chId] = fopen((char *)pObj->createArgs.nameDataFile[chId], "wb");
OSA_assert(pObj->fpDataStream[chId] != NULL);
Vps_printf(" NULL LINK: Opened file for Dump \n");
}
}
Does it mean only one camera could save to file?
Please help me to store multi camera videos to files.
Thanks.