We use DVR_RDK 03.00.00.00 with usecase VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC.
RTSP streaming of single video channels is running well in ths usecase.
But we also need the possibility stream Mosaic of the connected video inputs via RTSP.
This means we have to create mosaic before encoding happens.
But my fear is that we can not create another mosaic because of the limitation with the scalars.
and we have 2 mosaics in use to for display outputs.
I already discussed this here in this forum with Badri.
My primary idea was the following approch:
The layout of this mosaic must be set-able in the same way as it is possible for display mosaic.
The mosaic shall be composed from the 16 D1 input channels.
One of the 16 D1 encoder channels shall be used to encode this D1 mosaic.
A schematic of this approach to modify mcfw/src_linux/mcfw_api/usecases/ti816x/multich_progressive_vcap_venc_vdec_vdis.c
is shown in attached files.
The mosaic shall be created in a chain Dup Link -> SWMS Link -> Merger Link –> Selector Link.
The Selector Link currently only can be used to map input channels to a output channels queue.
The Selector Link must be modified to get a component for real channel selection.
In our case we must be able to select 16 output channels form 17 input channels.
The last one of the select-able channels shall contain the mosaic or channel 16.
But now I am not sure if this is feasible, with the awareness of the scalar limitations.
Another idea would be to use CIF encoded stream, but a mosaic must created in this version too.
Has anybody a idea how to solve this task ?
+----------------------+ | Capture (YUV422I) | | | | 16 CH D1 60fps | +----------+-----------+ | +----------v-----------+ | CAPTURE_DISPLAY_DUP | +--+------------+------+ +--------+ | <Process Link> | +----v---------+ +---------------+ +---------+ | |IPC Frames Out+------------->|IPC Frames In +----->| AlgLink | | | (M3) <--------------+ (DSP) <------+ (SWOSD)| | +---+-------+--+ +---------------+ +---------+ | 8CH D1| |8CH D1 | YUV422| |YUV422 | | +---------------------+ | | | | +-----v-------+ +------v-------+ | | DEIH | | DEI | | | | | | | |DEI_SC VIP_SC| |DEI_SC VIP_SC| | +-------------+ +--------------+ | 8CH D1| | |8CH D1 8CH D1| | |8CH D1 | YUV422| | |YUV420 YUV422| | |YUV420 | | | | | | +---------------+ | | | +----------------------|---|-------+ | | | |8CH CIF 8CH|CIF| | | | +---------+ |YUV420 YUV|420| +v----------v----+ | | | | | |MERGE_VIP_SC_D1 | | | +----------------------------------+ | | | | | | | | +---------+------+ | | | +---------+ +--------------+ |16CH D1 | | | | | +----------+ | | | | | | | | | | | +-----v------+ | | | | | | DUP LINK | | | | | | | | | | | | | +---+----+---+ | | | | | | | | | | | | +--------+ +--------+ | | | | | | | | | | | | | +-----v------+ | | | | | | | SWMS | | | | | | | | | | | | | | | +-----+------+ | | | | | | | | | | | | | +-----v------+ | | | | | | | NSF | | | | | | | | | | | | | | | +-----+------+ | | | | | | +-------+ | | | | | | | | | | | | | | | | | +---v---v----+ | | | | | | | | MERGE | | | | | | | | | | | | | | | | | +------+-----+ | | | | | | | | | | | | | | | API | | | | | | | | | |17CH D1 | | | | | | | +-v----v------+ | | | | | v | | | | | | | | +---------------+ | | Customized | | | | | | | DUP_D1_LINK | | | Selector | | | | v v | | | | Link | | | | +----------------+ +-------+--+----+ | | | | | | |MERGE_VIP_SC_ | 16CH D1| |16CH D1 | +------+------+ | | | |SECONDARY_OUT | YUV420| |YUV420 | |16CH D1 | | | +-------+--------+ MJPEG | |PRI | | | | | |16CH CIF | | | | | | | |YUV420 | +--------+ | | | | | | | | | | | | +----------------+ | | | | +--------------+ | | | | | +-------v---------+ | 16CH CIF | | | | | | | CIF DUP LINK | | YUV420 v v v | | | | | | +----------------+ | | | +--+----+------+--+ | | MERGE_D1_CIF | | | | | | | | | | | | | | | +-------+ +---------+------+ | | | +----------+ | | 48CH YUV420 | 8CH | 8CH | | | +-------------------+ | D1 | D1 | |16CH v | | | | |CIF +-------------+ +------------+ +----------+ | | v v v |IPC FramesOut+------>|IPC FramesIn+------->| AlgLink | | | +--------------+ | (M3) <------+| (DSP) |<------+| (SCD) | | | | |<---+ +-------------+ +------------+ +----------+ | | | LIVE_DECODE | 16CH | | | MERGE | D1 | | | | |Play| +------------+ +--------+ +--------+ | | +-----+--------+ | | | |IPCBits | |IPCBits | | | | +-----+ DecLink |<---------|Out (A8)| |In(A8) | | +----v-----+ | +------------+ IPCBits +--------+ +--------+ v |SDTV Disp | |48CH In(M3) ^ +------------+ | | | IPCBits| | IPCM3OUT | +----------+ | Out(M3)| +------+-----+ v +---+-----+ | +--------------+ |EncLink | | | LIVE_DECODE | +---------+ v | DUP | ^ +------------+ +-+----------+-+ | | IPCM3IN | | | | +------+-----+ | | | | +------v--+ +--v--------+ +--------------+ |SWMS0 | |SWMS1 | | | | | +----+----+ +----+------+ | | v v On-chip Off-chip HDDAC HDMI HDMI + (VGA)