NYC DOT Real Time Traffic

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
mikeyjoel
Posts: 2
Joined: Sun Mar 12, 2023 12:58 pm

NYC DOT Real Time Traffic

Post by mikeyjoel »

Hi ZoneMinders! Hope you are all doing great!

I was wondering if anyone had the experience of connecting already published live streams of cameras from a site like https://nyctmc.org/cameras-list to ZoneMinder just to have an all in one app. The reasoning behind this is because 2 of the cameras they have listed there are close to where I live and I would like to have my personal cameras and those streamed from that site on my own server.
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: NYC DOT Real Time Traffic

Post by dougmccrary »

You can probably use the source type Web Site . . .
Never tried it myself, though.
User avatar
makers_mark
Posts: 18
Joined: Sun Jul 05, 2020 7:23 pm

Re: NYC DOT Real Time Traffic

Post by makers_mark »

Been there done that, then mine changed to TIMS mqtt. But yeah, you can with that current setup they use.
Set up a libCurl https source and find the camera you want (ditch everything in the query (&t=....)). I set the resolution to the true source resolution on the test 352x240

Here is the url test source for an example:

Code: Select all

https://nyctmc.org/api/cameras/eafc65f5-6ff9-4203-905f-3995b9fbc9eb/image
Keep in mind that that generated camera id may change. But it works now, updating every two seconds.
User avatar
makers_mark
Posts: 18
Joined: Sun Jul 05, 2020 7:23 pm

Re: NYC DOT Real Time Traffic

Post by makers_mark »

Image
User avatar
makers_mark
Posts: 18
Joined: Sun Jul 05, 2020 7:23 pm

Re: NYC DOT Real Time Traffic

Post by makers_mark »

~One month later and that link still is working, looks like garbage in the daytime though and I won't comment on the nighttime :D
Image
Post Reply