Connect SIPL Camera to Video Encoder

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.6.0.8170
other

Host Machine Version
native Ubuntu 18.04
other

Hi,

Is there a way to connect SIPL Camera output to Video Encoder input? Is there example for that?

From the example and document, the SIPL Camera output to a buffer while the video encoder read from a .yuv file. How can I make Video Encoder reads SIPL Camera buffer in real time?

Hi @leqiang.wang,

Please refer to OnFrameAvailable() implement in nvsipl_camera.
Where you can find how to get NvMediaImage and then you should be able to encode it with NvMediaIEP API.

1 Like

I found NvMediaIEP is the image encoder, does NvMediaImage also apply for the NvMediaVideoEncoder?
What is the relation between NvMediaIEP and NvMediaVideoEncoder? They both accept raw YUV frames and encode them to H264/H265 format. Are they just different application interface using same under-the-hood hardware capabilities?

Please refer to DRIVE OS 5.2.6 NvMediaIEP/NvMediaEncoder deprecated?. Thanks.