H.264 URL String

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
blanchedAlmonds
Posts: 2
Joined: Thu Oct 27, 2022 7:24 am

H.264 URL String

Post by blanchedAlmonds »

Hello.

I am able to view the video substream from my IP camera using this URL via ffplay or VLC.

rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0

I am trying to get my camera to display on my website, but it must be H.264 and not RTSP.

As you can see from the screenshot, my substream is set to encode at H.264.

I think there might be a problem with the URL endpoint for streaming the H.264 content (one major problem being that rtsp://) But, I'm not finding any documentation on what the URL should be if its H.264

Thanks!!
Attachments
Screenshot from 2022-10-27 07-30-26.png
Screenshot from 2022-10-27 07-30-26.png (21.18 KiB) Viewed 853 times
jack7
Posts: 904
Joined: Tue May 29, 2018 7:46 pm

Re: H.264 URL String

Post by jack7 »

VLC would be receiving mainstream with that rtsp command.  Substream is Subtype=1 and would be using h.264.
Your webpage would also have to handle digest authorization to camera and camera would likely need port forwarding.  Your webpage program may have some instructions for that.
blanchedAlmonds
Posts: 2
Joined: Thu Oct 27, 2022 7:24 am

Re: H.264 URL String

Post by blanchedAlmonds »

Right now my webserver has a direct connection on my network, so I'm not worried about port forwarding.

OK, subtype = 1

rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1

But, is this URL endpoint really used for H.264? The protocol still is rtsp, so I think no? Sorry, there is no documentation on it.
jack7
Posts: 904
Joined: Tue May 29, 2018 7:46 pm

Re: H.264 URL String

Post by jack7 »

Camera should send RTSP video stream using whatever Encode Mode is specified in Camera Video Settings.
BobTheDroid
Posts: 13
Joined: Sun Nov 06, 2022 5:24 pm

Re: H.264 URL String

Post by BobTheDroid »

RTSP is the protocol and H.264 is the encoding format of the data stream. The latter is sent using the former. They both work together and there's no such thing as the H.264 URL string. ;)
Post Reply