Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123477

Forum Post: Parallel Capture and Encode

$
0
0

Hi all,

I have constructed an application with a V4L2 capture front-end (capturing from VIP0 and VIP1 in parallel).  Using the capture_encode OMX example I have extended my application to pass captured buffers into two separate input ports of the DEI components.

Ideally, I want DEI Inport[0] to feed through to DEI Outport[0] and Inport[1] to feed through to Output[1].  In the example, the OMX captured buffers are fed to a single DEI input port and appear on two separate output ports.  Is what I require possible and do I need to do anything special to set the DEI component up that way?  Alternatively, do I need to create two separate DEI components?

Finally, I need to encode both pipelines.  However, the VENC component only has a single input and output port.  Presumably, if I feed the output of my DEI components output ports to the input port on the VENC then I simply need to dereference the buffers on the VENC output port somehow to determine which stream and DMA/filewrite as appropriate?  Can anyone give any advice on the practicality of this?  The DM814x is quoted as supporting 2 x 1080p30 H264 encodes.

Help/pointers appreciated.

Regards,

Danny


Viewing all articles
Browse latest Browse all 123477

Trending Articles