Shortcut on the desktop to run the live stream

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
FTP
Posts: 12
Joined: Wed Sep 20, 2017 6:54 am

Shortcut on the desktop to run the live stream

Post by FTP »

Hi,

I would like to add a shortcut on my desktop to launch the live stream of my IP2M-841 more easily.

At the moment I have... (the camera is on the 192.168.0.44 IP address)

Code: Select all

http://192.168.0.44/
It opens IE on the login page. But I would like to pass the user and password in parameters so that I can access the live stream right after double-clicking on the shortcut icon on the desktop.

I've search and found those topics...
https://amcrest.com/forum/technical-dis ... -t248.html
https://amcrest.com/forum/general-discu ... t1358.html

And this document...
https://s3.amazonaws.com/amcrest-files/ ... 3.2017.pdf

But so far nothing works.
It looks like it should be something like...

Code: Select all

http://admin:[email protected]/cgi-bin/mjpg/video.cgi?channel=1&subtype=0
I have an error message from IE saying it can't find this address.

Any idea? :|
LaPazRico
Posts: 9
Joined: Sun Mar 26, 2017 1:30 pm

Re: Shortcut on the desktop to run the live stream

Post by LaPazRico »

I don't know that model but if you are trying to access the realtime stream, shouldn't it be using RTSP protocol? It should also include the port that's defined for the video stream. On my cameras, if I login to them I can view the exact syntax needed. Something like this example.

rtsp://<username>:<password>@<ip>:<port>/cam/realmonitor?channel=<ChannelNo>&subtype=<ty
peNo>
FTP
Posts: 12
Joined: Wed Sep 20, 2017 6:54 am

Re: Shortcut on the desktop to run the live stream

Post by FTP »

LaPazRico wrote:I don't know that model but if you are trying to access the realtime stream, shouldn't it be using RTSP protocol? It should also include the port that's defined for the video stream. On my cameras, if I login to them I can view the exact syntax needed. Something like this example.

rtsp://<username>:<password>@<ip>:<port>/cam/realmonitor?channel=<ChannelNo>&subtype=<ty
peNo>
I tried this format before, but it's not working.
Regarding the port, it's optional and if add it, it changes nothing.

The only thing I could get working (with or without the port) is...

Code: Select all

http://admin:[email protected]/cgi-bin/snapshot.cgi?channel=0
This goes straight to a snapshot with no need to authenticate.
But nothing works for the live stream :roll:
Dlewczyk
Posts: 3
Joined: Thu Feb 04, 2016 6:17 pm

Re: Shortcut on the desktop to run the live stream

Post by Dlewczyk »

I don't think there are any Windows browsers that will show an RTSP stream. What I have done is set up a shortcut to VideoLan (VLC) and passed the RTSP stream on the Target line in the Shortcut tab after you right click on the shortcut icon like

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=0
You can set a shortcut up for each camera. You can also change the shortcut icon to a more camera looking one if you want. Works for me. :)
FTP
Posts: 12
Joined: Wed Sep 20, 2017 6:54 am

Re: Shortcut on the desktop to run the live stream

Post by FTP »

Dlewczyk wrote:I don't think there are any Windows browsers that will show an RTSP stream.
I agree. But I hoped the HTTP/HTTPS stream could work, while I more and more think it's unfortunately not the case.

1/ It seems Amcrest has issues with live stream on browsers.
Currently on PC:
- IE works by downloading an ActiveX
- on Chrome it works only after opening a dedicated App
- and it's not working on Firefox 52+, Edge or Opera.
So basically, any test can only be done on IE as I'm not sure there's any way to reach the App via an URL on Chrome.

2/ The last API documentation...
https://s3.amazonaws.com/amcrest-files/ ... 3.2017.pdf
...seems to say User/Password in URLs are supported only in RTSP stream (§4.1).
For the HTTP mjpg stream (§4.2), there's no more mention of any User/Password as parameters in the URL.

HOWEVER, I observed that the HTTP Snapshot functionality of the API works with User/Password in the URL, even though it's not documented ($4.4)

Code: Select all

http://admin:[email protected]/cgi-bin/snapshot.cgi?channel=0
3/ When I test the API HTTP mjpg stream URL with User/Password on IE...

Code: Select all

http://admin:[email protected]/cgi-bin/mjpg/video.cgi?channel=1&subtype=0
...I end up on an error message: "Windows cannot find <the URL> Check the spelling and try again."

And if I remove the user/password, the URL works, ask me for the user/password, but then end up on another error message: "This page can’t be displayed
•Make sure the web address http://192.168.0.44 is correct.
•Look for the page with your search engine.
•Refresh the page in a few minutes."

4/ It looks like others have the same issue as me. The same day as me, markplewis has asked more or less the same question for his IP3M-943W camera...
https://amcrest.com/forum/technical-dis ... tml#p11463

Melvin suggests...

Code: Select all

http://user:Pwd@ip:port/cgi-bin/mjpg/video.cgi?[channel=<channelno>]&subtype=1
...but it's the same URL I've tested, I'm quite sure markplewis has also tested it as it's what is in the API documentation (with the addition of the user/pass), others have tested it, but it just doesn't work.

So let's wait for markplewis tests but I'm getting more and more skeptical about the ability of Amcrest to provide an URL that works.
Dlewczyk wrote:What I have done is set up a shortcut to VideoLan (VLC) and passed the RTSP stream on the Target line in the Shortcut tab after you right click on the shortcut icon like

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=0
You can set a shortcut up for each camera. You can also change the shortcut icon to a more camera looking one if you want. Works for me. :)
That's an idea. Indeed it works for me too.
Thanks!

However, it's sad not to have the Amcrest interface to benefit from all the menus and settings, like the PTZ, while viewing the stream :roll:
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: Shortcut on the desktop to run the live stream

Post by Melvin »

Hello,

Enabling anonymous login is another option. This can be set from setup > System > manage users. Here also the settings will not be available for the anonymous user.
Can't find your answer on the forum? Try our Knowledge Base! https://amcrest.zendesk.com/hc/en-us

Image
FTP
Posts: 12
Joined: Wed Sep 20, 2017 6:54 am

Re: Shortcut on the desktop to run the live stream

Post by FTP »

Hi Melvin,
Melvin wrote:Enabling anonymous login is another option. This can be set from setup > System > manage users. Here also the settings will not be available for the anonymous user.
Thanks for your answer!
Yes, indeed it's an option, it works.

But I don't want to decrease the level of security opening the access to the camera to anonymous.

Regarding your answer to markplewis...

Code: Select all

http://admin:[email protected]/cgi-bin/mjpg/video.cgi?channel=1&subtype=0
(my user is "admin" - it's the IP of my camera - the port is the default one, 80, so optional and in any case it doesn't change anything to add it - the video channel is the 1st one - and I want the main stream, 0)

Have you ever tried it?
Are you really sure it works? Can you reproduce it with an IP2M-841?
And if yes, on which browser? IE?
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: Shortcut on the desktop to run the live stream

Post by Melvin »

Hello,

It appears the command does not work with the latest firmware as basic authentication was removed. This was part of security enhancements for the camera.
Can't find your answer on the forum? Try our Knowledge Base! https://amcrest.zendesk.com/hc/en-us

Image
FTP
Posts: 12
Joined: Wed Sep 20, 2017 6:54 am

Re: Shortcut on the desktop to run the live stream

Post by FTP »

Hi,
Melvin wrote:It appears the command does not work with the latest firmware as basic authentication was removed. This was part of security enhancements for the camera.
Indeed, my camera has the latest firmware: 2.520.AC00.18.R from 06-29-2017

So it has been removed in HTTP/HTTPS for live stream only, but not in HTTP/HTTPS for snapshots and not in RTSP?
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: Shortcut on the desktop to run the live stream

Post by Melvin »

Hello,

Can you try the below code once again in Firefox? I was able to get this working in Firefox. Note that the subtype is 1 not 0.

http://admin:[email protected]:8090 ... /video.cgi?[channel=<channelno>]&subtype=1
Can't find your answer on the forum? Try our Knowledge Base! https://amcrest.zendesk.com/hc/en-us

Image
Post Reply