Top/Bottom Vertical Video (e.g. Security Camera) Monitor using Raspberry Pi 4

Raspberry Pi Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPvIdR5BEqDgO7DsGAla_AZ

CanaKit Raspberry Pi 4 (4GB) Starter Kit (Amazon Affiliate)
➡️ Purchase here: https://amzlink.to/az0ZfrkkOaE2j
UK: https://amzlink.to/az0tldMyYgHkO
CA: https://amzlink.to/az02dRfQRpSbE
ES: https://amzlink.to/az0LjL2QjxrJf (similar)
FR: https://amzlink.to/az03BF7ks0KJJ (similaire)
IT: https://amzlink.to/az0TWmA9d7fFm (simile)
DE: https://amzlink.to/az0cV12rz0zJb (ähnlich)
IN: https://amzlink.to/az0KxgOoOocos
AU: https://amzlink.to/az0cjN4OPfBBq
NL: https://amzlink.to/az0yZHtGePHqS (vergelijkbaar)

Raspberry Pi Downloads: https://www.raspberrypi.org/downloads/

Rotate Screen
sudo nano /boot/config.txt

Add this line and use Control-O to save and Control-X to exit.

display_rotate=1
Top Script
#!/bin/bash
/usr/bin/omxplayer --win "0,0,1080,960" "rtsp://username:password@ip_address:554/cam/realmonitor?channel=1&subtype=1"
Bottom Script
#!/bin/bash
/usr/bin/omxplayer --win "0,960,1080,1920" "rtsp://username:password@ip_address:554/cam/realmonitor?channel=1&subtype=1"