Get h264 encoded streams from GMSL cameras in third party software

Hello everyone,

I have a Jetson TX2 board with 4 GMSL cameras.
What would be the best way to get h264 compressed data stream in third party software ?
I can think of several options:

  • Send the data as RTSP server and my application gets the data as RTSP Client (preferred option)
  • Acquire the data thanks to v4l2 and then perform the compression using the hardware encoders (is that possible ?)
  • any others options ?

If you have any advices, hints, I’ll take it !
Thanks a lot and have a nice day.
Stay safe.

Hi,
Utilizing RTSP looks to be a validsolution. You may try with test-launch. Please refer to
Jetson Nano FAQ
Q: Is there any example of running RTSP streaming?

Thanks a lot for the RTSP sample, looks good to me.

Can you confirm how many h264 encoders there are in the TX2 ? Can I encode 4 data streams in parallel ?
Or do I have to go for Jetson AGX Xavier ?

Hi,
There is one hardware encoder engine but it supports multiple instances. For encoding capability, please check
http://developer.nvidia.com/embedded/dlc/jetson-tx2-series-modules-data-sheet