how to stream the output video of deepstream on jetson tx2 to another ubuntu host machine (Solved)

I add something in ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt

[server]
port=2222
wait-for-client-output=0
dump-client-image-crop=0
crop-width=640
crop-height=480
crop-format=1
crop-color-format=1

Then I do
$ nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt
I get log in terminal:

CLASS_IDS TO OEPRATE ON gie_id(0) : 2:
** ERROR: <create_processing_instance:779>: Could not create element nvivatxrxserver
** ERROR: <create_processing_instance:890>: create_processing_instance failed
** ERROR: <create_pipeline:1024>: create_pipeline failed
** ERROR: main:384: Failed to create pipeline
Quitting
App run failed

Can I ask whether it is the correct way to display the video with detecting boxes on another ubuntu host machine or what can I do to stream the output results of deepstream while the nvgstiva is running?

ydeng3,
Did you run the apps from Jetson TX2 or through ssh shell from your Ubuntu host? If it’s latter, you could add,
export DISPLAY:=0
and try again. If it’s former, the video should be displayed with default red bounding box. There is runtime command support while the apps is running. You could look into print_runtime_command() inside nvgstiva_app_main.c for details. Good luck!

export DISPLAY=:0

Thanks for your reply. As you mentioned, I am running the nvgstiva-app directly from jetson tx2. I think I need to look into the function you suggested.
B.T.W. Can I ask what other platform does deepstream sdk support?

Hi ydeng3,

B.T.W. Can I ask what other platform does deepstream sdk support?
Currently, Jetson TX2 was suggested with high performance and low power requirement at the edge side.
You can find more information from https://developer.nvidia.com/smart-cities

Cheers.

Hi kayccc,

I am trying to stream out from Jetson TX2 to VLC on a specific port.

But i get the same error :

$ nvgstiva-app -c ${HOME}/configs/PGIE-FP16-CarType-CarMake-CarColor.txt
I get log in terminal:

CLASS_IDS TO OEPRATE ON gie_id(0) : 2:
** ERROR: <create_processing_instance:779>: Could not create element nvivatxrxserver
** ERROR: <create_processing_instance:890>: create_processing_instance failed
** ERROR: <create_pipeline:1024>: create_pipeline failed
** ERROR: main:384: Failed to create pipeline
Quitting
App run failed

Looking at print_runtime_command() but nothing happens

Thx ,

Zvika