Well you need one omxplayer command for each camera (one line for each camera).
Here is my own configuration that puts 3 cameras on a 1920x1080 monitor, leaving the upper-left area empty (I put a clock and weather information there)
Code:
omxplayer --lavfdopts probesize:25000 --no-keys --live --timeout 30 --aspect-mode stretch --layer 4 --nohdmiclocksync --avdict rtsp_transport:tcp --win "1440 0 1920 360" "rtsp://user:pass@192.168.0.39/cam/realmonitor?channel=1&subtype=1"
omxplayer --lavfdopts probesize:25000 --no-keys --live --timeout 30 --aspect-mode stretch --layer 3 --nohdmiclocksync --avdict rtsp_transport:tcp --win "0 540 960 1080" "rtsp://user:pass@192.168.0.40/cam/realmonitor?channel=1&subtype=2"
omxplayer --lavfdopts probesize:25000 --no-keys --live --timeout 30 --aspect-mode stretch --layer 2 --nohdmiclocksync --avdict rtsp_transport:tcp --win "960 360 1920 1080" "rtsp://192.168.0.52/Streaming/Channels/2"
For basic usage all you need to do is change the URL to point at your camera, and change the
--win "xxx xxx xxx xxx" option to specify which portions of the screen you want the video to appear on. It is up to you to figure out the best coordinates for your cameras. I always prefer to preserve the original aspect ratio, so this tool comes in handy:
Aspect Ratio Calculator (ARC)
Changes are applied when you click Save.
For more advanced usage, like if you want to use audio or something, open up a terminal on the pi and type
and it will output a full listing of all the command line options you can use.