Author Topic: Amcrest ProHD 1080P  (Read 14525 times)

Offline RHCPNG

  • Full Member
  • ***
  • Posts: 151
  • Karma: +5/-0
Re: Amcrest ProHD 1080P
« Reply #45 on: February 28, 2018, 04:04:25 am »
Any update on this?

For me the live stream doesn't work in the browser. In the app it says continuous stream and seems to work.

I have the latest firmware and used the method of GaryTTirn. I would really like to have a visual in the browser. In AltUI on openLuup to be precise.
« Last Edit: February 28, 2018, 04:06:42 am by RHCPNG »

Offline GaryTTirn

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Amcrest ProHD 1080P
« Reply #46 on: March 02, 2018, 11:37:21 am »
I believe currently live streaming via browser using Vera UI requires support for flv-streams which Amcrest cameras don't support.
I fiddled around with the MJPEG stream from the Amcrest (http://<camera IP>/cgi-bin/mjpg/video.cgi?channel=0&subtype=1) but it won't work with Vera.

One can define those flv-streams via the same Streams-variable that enables RTSP streams like this :

flv,http,/cgi-bin/mjpg/video.cgi?channel=0&subtype=1;flv_low,http,/cgi-bin/mjpg/video.cgi?channel=0&subtype=1;rtsp,rtsp,/cam/realmonitor?channel=1&subtype=0;rtsp_low,rtsp,/cam/realmonitor?channel=1&subtype=1

After adding the flv anf flv_low parts, Vera will open the flash based stream player in the web UI when live but since the HTTP stream from Amcrest is MJPEG, the flash based player cannot play it.
Those flv and flv_low parts need to be removed to get frame by frame *streaming* back.

I suppose Vera web UI could support the native H.264 RTSP streams via web UI if they implemented a RTSP to WebRTC proxy in the Vera and had HTML5 web UI that can play those webRTC streams. Naturally the used browser should support displaying H.264 via WebRTC as Vera lacks the CPU power to transcode H.264  to something else.

Since openluup allows for much more powerful hardware, I would imagine adding that kind of RTSP to WebRTC proxy with optional transcoding functionality could be implemented into openluup and AltUI. I suppose giving a hint to the openluup and ALTUI develops might be enough :)

There seems to be some discussion around the subject of streaming RTSP via web pages https://flashphoner.com/7-ways-to-stream-rtsp-on-the-page/

Offline ny2pit

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Amcrest ProHD 1080P
« Reply #47 on: March 04, 2018, 12:56:03 pm »
Hi again Gary and RHCPNG,

 I continue to have no luck with getting a still image to display w/in Vera using UI5.  I can get it to display beautifully (1080p!) using the RTSP link and VLC. 
Tried to roll the camera firmware back to an older one, the camera would not accept it.  Tried to manually send the UN/PW via commands Gary suggested, that did not work. 

 I'm basically out of ideas on this one.  Can't find anything on google either ....

 I've used a separate app for now (ipcamviewer) for remote viewing, thinking about instituting Blue Iris as I add cameras - I have a server running 24/7 that can handle the load.

 Disappointed i haven't been able to make this work - really wanted to be able to keep everything on one app, but .... what Vera can do with the cameras is pretty limited anyway, so I'm not sure it's something worth spending a ton of time on ...

 If anyone has any other suggestions, I'm all ears...

Offline GaryTTirn

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Amcrest ProHD 1080P
« Reply #48 on: March 10, 2018, 03:23:20 am »
I continue to have no luck with getting a still image to display w/in Vera using UI5.  I can get it to display beautifully (1080p!) using the RTSP link and VLC. 
Tried to roll the camera firmware back to an older one, the camera would not accept it.  Tried to manually send the UN/PW via commands Gary suggested, that did not work. 

I'm afraid the combination of new firmware with HTTP Digest authentication and UI5 will never work.
According to the Vera release notes, the support for HTTP Digest Authentication was only added to UI7.
http://support.getvera.com/customer/portal/articles/2078473-ui7-%E2%96%BE-version-7-0-10-1-7-649-1-7-1320-%E2%96%BE-july-30-2015
Imp.   Critical   Add support for digest authentication in REQ_Image and other camera functions

If the camera hardware is so new that it won't accept the older firmware that still uses HTTP basic authentication, then I think the only option to get camera integrated to Vera is to upgrade Vera hardware to get UI7 and HTTP Digest authentication support.

Alternative solution is to look at setting up a VPN to your home as this provides you direct access to your home IP network from just about anywhere and you can then use all those apps vendors provide to connect to cameras or any other device you may have. VPN connection is an option if you get public IP address from your ISP. Amcrest cameras provide a DDNS service that makes it possible to use VPN with dynamic, changing public IP which is great as a static IP from the ISP could be either not available at all or expensive.

OpenVPN (https://openvpn.net/) SSL based VPN or StrongSwan (https://www.strongswan.org/) IPSec VPN solutions come to mind first, I'm using StrongSwan myself for my needs.

However, setting up VPNs do require quite a bit of technical knowledge and also require certain features from the home's internet router as it would probably be the device terminating the VPN connection.
Some router vendors like Netgear do have support for OpenVPN in their software on some of their models and setting that up is not as complex as StrongSwan.
https://kb.netgear.com/29783/How-do-I-use-VPN-service-on-my-Nighthawk-router-with-my-Android-device