Deepstream USB Grayscale Video Green?

Hello,

I am running a FLIR USB 3 mono camera and I can display the video to the screen just fine with the following command:

gst-launch-1.0 aravissrc ! ‘video/x-raw, width=(int)2048, height=(int)1536, format=GRAY8, framerate=30/1’ ! nvvidconv ! nvegltransform ! nveglglessink

However, I would like to stream the video using the rtsp and my understanding is that I need to first feed the video through a nvstreammux. As a first step to do that I try to run the command:

gst-launch-1.0 aravissrc ! ‘video/x-raw, width=(int)2048, height=(int)1536, format=GRAY8, framerate=30/1’ ! nvvidconv ! nvvideoconvert ! nvegltransform ! nveglglessink

And I get green version of the video. I can get this green version of the video to stream. How do I keep it grayscale.

Thanks,