I need to be able to pick up the multicast stream, but I can't find a working URL syntax.
I can get it via rtsp using something like:
rtsp://user:pwd@ip:554/cam/realmonitor?channel=1&subtype=0
so I have been trying variations on this theme:
udp://user:[email protected]:40000/cam/realmonitor?channel=1&subtype=0
The multicast stream is not documented in the HTTP API document (which is how I got the working rtsp syntax).
Has anyone figured this out yet?
Multicast URL syntax
-
- Posts: 2
- Joined: Sat May 28, 2016 10:34 pm
Re: Multicast URL syntax
I'm currently in the same boat.
Have you figured this out?
Have you figured this out?
Re: Multicast URL syntax
Try this:
rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=0 (for the main/HD stream)
and
rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=1 (for the SD/secondary stream)
Replace admin with the correct username (most cases admin) and password with your password.
Also x.x.x.x = device regular IP (NOT multicast IP).
rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=0 (for the main/HD stream)
and
rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=1 (for the SD/secondary stream)
Replace admin with the correct username (most cases admin) and password with your password.
Also x.x.x.x = device regular IP (NOT multicast IP).
Re: Multicast URL syntax
Sure that works - it's unicast - not multicast. There's no issue with unicast...multicast is what is broken...never been able to get it to work.
-
- Posts: 1
- Joined: Fri Sep 28, 2018 8:40 pm
Re: Multicast URL syntax
Having the same issue, I ran across the below link and thought it might work for an Amcrest IP cam as well. And my testing shows that it does. To setup and test in VLC you need to go to Tools->Preferences. At the bottom - click Show All Settings. Then under Input/Codecs -> Demuxers -> RTP/RTSP - turn ON "Force Multicast RTP via RTSP"
Then you just use the same URL in VLC you used for the UNICAST from the camera. I didn't belive it was multicasting but like the article prompted - I tested with Wireshark and only multcast streaming was being generated by the camera. I did a few sanity checks - like disabling Multicast on the cam to see that it stopped working, etc. In short - I think that works.
I'm not a multicast export so I'm not really sure HOW this is working (Like how VLC knows the multicast IP and port) but I assume there is some initial communications going on that establishes it. I welcome any extra thoughts or explanation on how this is working. I can tell you AMCREST doesn't know. Also let me know if I'm wrong. I plan to do a lot more testing.
https://lilin.zendesk.com/hc/en-gb/arti ... -using-VLC
Then you just use the same URL in VLC you used for the UNICAST from the camera. I didn't belive it was multicasting but like the article prompted - I tested with Wireshark and only multcast streaming was being generated by the camera. I did a few sanity checks - like disabling Multicast on the cam to see that it stopped working, etc. In short - I think that works.
I'm not a multicast export so I'm not really sure HOW this is working (Like how VLC knows the multicast IP and port) but I assume there is some initial communications going on that establishes it. I welcome any extra thoughts or explanation on how this is working. I can tell you AMCREST doesn't know. Also let me know if I'm wrong. I plan to do a lot more testing.
https://lilin.zendesk.com/hc/en-gb/arti ... -using-VLC