Vera - Smarter Home Control Forum

General => Video Camera Control => Topic started by: tedp on April 02, 2018, 12:24:53 am

Title: DirectStreamingURL versus videoURLs
Post by: tedp 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 (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
Title: Re: DirectStreamingURL versus videoURLs
Post by: gniknalu on July 04, 2018, 08:51:56 am
Bump
Title: Re: DirectStreamingURL versus videoURLs
Post by: bestermanus on August 25, 2018, 11:30:48 am
bump !
Title: Re: DirectStreamingURL versus videoURLs
Post by: akbooer 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.
Title: Re: DirectStreamingURL versus videoURLs
Post by: Maegda on August 28, 2018, 06:38:14 am
Hello tedp!

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

Thank you!
Title: Re: DirectStreamingURL versus videoURLs
Post by: jswim788 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?
Title: Re: DirectStreamingURL versus videoURLs
Post by: akbooer 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.