huceke / omxplayer

omxplayer
GNU General Public License v2.0
522 stars 501 forks source link

Still images within RTSP mosaic #264

Open kaleidoscope47 opened 8 years ago

kaleidoscope47 commented 8 years ago

Hello

We successfully employ omxplayer as a means of generating viewing multiple RTSP feeds simultaneously in whichever arrangement we choose.

In the case of only 3 inputs (in this case 3x CCTV cameras at a particular location), it is more elegant to use a 2x2 matrix with a company logo in the spare quadrant.

We have been able to achieve this with gstreamer/vlc, but it would be preferable to use omxplayer in this instance.

I have read a few times that there is no planned support for images in omxplayer. In this case, would it be a matter of creating a separate RTSP stream for the image itself?

What's the best way of working around the lack of image support?

deenski commented 8 years ago

I am just getting into this, so I could be wrong, but if you were displaying a logo in, let's say, the bottom right "channel", you were displaying it via a stream. You can import a background image, but this image is just used to determine the size of the mosaic in vlc. If you were displaying a logo, it had it's own "channel" in the config file, and was displaying as a video, your eyes just can't tell that the image was being refreshed every x seconds because there is no change in the image, but I assure you it was being refreshed.

I'll update my repo and send you a link, I have the exact same need and will be working on it shortly.