How display a .jpg or .png file in terminal mode (no GUI) on ubuntu using gstreamer

Hello everyon!

I’m trying to display a image using gstreamer in cli mode on jetson nano. I already use the example on gstreamer nvidia manual. Any help?

You may try gstreamer:

# JPG image
gst-launch-1.0 filesrc location=your_file.jpg ! jpegdec ! imagefreeze ! nvvidconv ! nvoverlaysink

# PNG image
gst-launch-1.0 filesrc location=your_file.png ! pngdec ! imagefreeze ! nvvidconv ! nvoverlaysink

fit like a glove. thanks.