jarekkk
Posts: 1
Joined: Fri Apr 15, 2016 12:09 pm

Two video streams on full screen at the same time

Fri Apr 15, 2016 9:27 pm

Hello,
I have got a RBpi3b. I want to make a simple viewer for my vivotek ip cameras. It can broadcast with mjpg format and rtsp.
The idea is after boot os it automatically show video on tv from two cameras at the same time.
How i can do this on the simpliest way ?

PS. Sorry for my english.

dukla2000
Posts: 190
Joined: Tue Jan 10, 2012 12:02 am
Location: Reading.UK.EU

Re: Two video streams on full screen at the same time

Sun Apr 17, 2016 12:30 am

Certainly you can run 2 instances of omxplayer so that each outputs to half the screen. Not at my pi at the moment to give a sample but it is easy. The part I am less certain about is piping the streams into omxplayer but I would expect no problem.
ps

Code: Select all

omxplayer -o hdmi --win '1050 450 1850 1050' --aspect-mode letterbox /dev/dvb/adapter0/dvr0
plays a stream from my DVB-T card in a 800*600 section of my 1920*1080 display
Daily driver: Pi3B, 64GB Samsung Evo+ @100MHz, DVB-T, onboard WiFi for internet, BT/USB dongle for KB/mouse, 250GB HDD via USB for media, Raspbian Jessie Lite with Openbox desktop.
Museum: Pi B

Return to “Beginners”