Stream video over hdmi to another device

HDMI out is the whole screen on display. For vide content only, we would suggest use UDP or RTSP. Please check the use-cases in Jetson Nano FAQ

Q: Is there any example of running RTSP streaming?
Q: Is there an example for running UDP streaming?