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,
- 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.
- 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?
- 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.