Multicast URL syntax

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
handyman
Posts: 3
Joined: Fri Apr 22, 2016 2:13 pm

Multicast URL syntax

Post by handyman »

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?
ryan-miller
Posts: 2
Joined: Sat May 28, 2016 10:34 pm

Re: Multicast URL syntax

Post by ryan-miller »

I'm currently in the same boat.
Have you figured this out?
0mega
Posts: 1
Joined: Fri Dec 02, 2016 8:08 pm

Re: Multicast URL syntax

Post by 0mega »

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).
all
Posts: 3
Joined: Tue Feb 27, 2018 10:02 pm

Re: Multicast URL syntax

Post by all »

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.
[email protected]
Posts: 1
Joined: Fri Sep 28, 2018 8:40 pm

Re: Multicast URL syntax

Post by [email protected] »

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
Post Reply