Using network stream as camera input

Hi fellow Nvidia developer or geek,

Me and some fellow students are working on a really awesome school project. But now we’re a bit stuck in the code. For our project we have to connect an external camera source from the internet to the Nvidia Drive AGX. We can connect and use the included camera’s but can’t get the jpeg stream working as input on the AGX. Well, we actually don’t even know where to start at all.

What we’ve done so far?

  • Read a lot of documentation
  • Viewed some tutorials
  • Found some forum posts
  • Asked some other programmers in our class
  • Got great help from one of our teachers

But still, we cannot figure out how to get it’ll working with the Nvidia Drive AGX. We’ve already made our jpeg stream and can stream it to VLC player. So that part is done. However, as far as we know, there is no possible way to just add a jpeg stream as in external input to the AGX. So, we should transform it to some other format that the AGX can understand. But there we get stuck. Can somebody please give us some directions or maybe some sort of example? You would help us a lot!

Thanks in advance.

Hardware Platform: DRIVE AGX Xavier™ Developer Kit
Software Version: DRIVE Software 10
Host Machine Version: Ubuntu 18.04
SDK Manager Version: 1.3.1.7110

Hi @n.r.j.kat,

If you’re working with DriveWorks APIs, you can refer to the topic.

If you’re developing DRIVE OS applications, you may do socket programming and there is a Image JPEG Decode (nvmimg_jpgdec) sample application of using NvMedia JPEG decode APIs.

1 Like

@VickNV, thanks for the reply. The examples code looks promising and I think we have enough information right now en can start programming. Thanks!

1 Like