two HDMI display problem

I use these instructions to enable two HDMI display:
sudo systemctl stop lightdm.service
sudo sh -c ‘echo 0 > /sys/class/graphics/fb1/blank’
Then,

  1. gst-launch-1.0 filesrc location=test.ts.265 ! tsdemux ! queue ! h265parse ! omxh265dec ! nvvidconv ! nvoverlaysink display-id=0, the display is OK and there is full screen on the first screen.
  2. gst-launch-1.0 filesrc location=test.ts.265 ! tsdemux ! queue ! h265parse ! omxh265dec ! nvvidconv ! nvoverlaysink display-id=1, the display is not full screen on the second screen and the top/bottom of the second screen is black. What is the problem?
  3. gst-launch-1.0 filesrc location=test.ts.265 ! tsdemux ! queue ! h265parse ! omxh265dec ! nvvidconv ! nvoverlaysink overlay-w=1920 overlay-h=1080 display-id=1, the display is OK and there is full screen on the second screen.

Thank you very much.

I think this just indicate your source does not match the display mode.

You could use nvvidconv to upscale the input source to match your display.

Please refer to our gstreamer guide.