rpos icon indicating copy to clipboard operation
rpos copied to clipboard

Dual/multi profiles

Open gitTinker opened this issue 5 years ago • 4 comments

My GeoVision camera has two outputs:

  • a high-res stream (I capture with Synology)
  • a low-res stream (very useful remotely - especially on iPhone)

I think these streams are handled with ONVIF profiles (but I am not certain)

Has anybody experimented with multiple, simultaneous, resolutions from rpos?

gitTinker avatar Jun 06 '19 23:06 gitTinker

Rpos does not support multiple resolutions. rpos uses a live555 based RTSP server that uses harfware h264 encoding cia the v4l2 api. The api only supports one resolition at a time.

More recently some support for gstreamer has been added and this could be changed to support 2 streams.I don't have time to work on this but would merge in pull requests.

Roger

RogerHardiman avatar Jun 07 '19 05:06 RogerHardiman

Hmm. I chose the "mpromonet RTSP server" because of the comment, in the instructions, "Pi users will probably prefer ..." it.

Is there a means to switch to gstreamer ? Just install both?

(FYI just curious. I am going to re-flash my SD Card anyhow and I'll try gstreamer this weekend)

gitTinker avatar Jun 07 '19 23:06 gitTinker

I've not examined the code (I've never used nodeJS before; it's been a python journey on Raspberry) so this may be silly, but what about recieving the full stream from the API, and having code (via CV2?) resize the frames and send them as the 2nd stream?

This might also be a pre-cursor for motion detection.

Note: I am willing to take a stab at this... but much later this year/early next. My current need is to feed video information to MQTT (IoT) broker, so that is priority.

gitTinker avatar Jun 08 '19 00:06 gitTinker

Rpos does not support multiple resolutions. rpos uses a live555 based RTSP server that uses harfware h264 encoding cia the v4l2 api. The api only supports one resolition at a time.

More recently some support for gstreamer has been added and this could be changed to support 2 streams.I don't have time to work on this but would merge in pull requests.

Roger

does the latest code support two RTSP streams?

shivlal12345 avatar Mar 09 '21 11:03 shivlal12345