Author Topic: DirectStreamingURL versus videoURLs  (Read 958 times)

Offline tedp

  • Sr. Member
  • ****
  • Posts: 285
  • Karma: +6/-2
DirectStreamingURL versus videoURLs
« on: April 02, 2018, 12:24:53 am »
I'm trying to shore up my videos on vera. It seems the wiki only documents "videoURLs" http://wiki.micasaverde.com/index.php/Luup_UPnP_Variables_and_Actions#Camera1

Most forum chatter on videoURLs stops around 2012, but there is talk of DirectStreamingURL (some of it says don't bother with DirectStreamingURL). Does anyone have any guidance on which/how to use, and how to confirm that one is indeed streaming rather than just grabbing successive jpeg?

Thanks

Offline gniknalu

  • Full Member
  • ***
  • Posts: 177
  • Karma: +3/-2
Re: DirectStreamingURL versus videoURLs
« Reply #1 on: July 04, 2018, 08:51:56 am »
Bump

Offline bestermanus

  • Sr. Newbie
  • *
  • Posts: 49
  • Karma: +2/-4
Re: DirectStreamingURL versus videoURLs
« Reply #2 on: August 25, 2018, 11:30:48 am »
bump !

Offline akbooer

  • Master Member
  • *******
  • Posts: 6152
  • Karma: +275/-69
  • "Less is more"
Re: DirectStreamingURL versus videoURLs
« Reply #3 on: August 25, 2018, 11:36:13 am »
Yes, DirectStreamingURL works.  For my Foscam, I have:

Code: [Select]
/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=XXX&pwd=YYY

as per the camera manual.

If you clear that, then Vera should poll the regular device URL.  In my case:

Code: [Select]
/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=XXX&pwd=YYY

This is not a good idea, since it quickly consumes CPU resources, as it does, indeed, grab successive JPEG images.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline Maegda

  • Customer Care
  • Global Moderator
  • Jr. Member
  • *****
  • Posts: 79
  • Karma: +1/-0
Re: DirectStreamingURL versus videoURLs
« Reply #4 on: August 28, 2018, 06:38:14 am »
Hello tedp!

There is a case (#328302) open on this matter, could you reply?

Thank you!
Vera Control, Ltd.  Smarter Home Control
support@getvera.com  +1 (866) 966-2272

Offline jswim788

  • Hero Member
  • *****
  • Posts: 788
  • Karma: +57/-2
Re: DirectStreamingURL versus videoURLs
« Reply #5 on: August 28, 2018, 01:08:02 pm »
Code: [Select]
/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=XXX&pwd=YYY
Code: [Select]
/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=XXX&pwd=YYY
This is not a good idea, since it quickly consumes CPU resources, as it does, indeed, grab successive JPEG images.
Are you saying the former is better than the latter?  Aren't both of these a series of JPEG pictures that have to be decoded?  Or does the former set up some sort of bypass that goes direct from the camera to the browser without using the Vera?

Offline akbooer

  • Master Member
  • *******
  • Posts: 6152
  • Karma: +275/-69
  • "Less is more"
Re: DirectStreamingURL versus videoURLs
« Reply #6 on: August 28, 2018, 01:22:38 pm »
Are you saying the former is better than the latter?  Aren't both of these a series of JPEG pictures that have to be decoded?  Or does the former set up some sort of bypass that goes direct from the camera to the browser without using the Vera?

Yes, exactly so.  Or, at least, that's true for AltUI.  The frame rate is markedly different.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.