Hikvision Cameras MJPG
TurnipTruck
Junior Member
Greetings,
Has anyone had some experience pulling MJPG from Hikvision cameras? I have tried all the regular tricks, but come up with nothing.
Thanks!
Has anyone had some experience pulling MJPG from Hikvision cameras? I have tried all the regular tricks, but come up with nothing.
Thanks!
Comments
-
You need to setup the substream to MJPEG. Go to setup, video, click main-stream and change it to sub-stream, then set sub-stream to MJPEG with the appropriate frame rate and resolution.
Kevin D. -
That is what I did. I am able to get the MJPG stream to play in a browser and in VLC, just not on AMX panels.
The URL that I am using is http://IPAddress/Streaming/channels/1/preview
I had AMX look at it and they told me that there needs to be a file name such as image.jpg
If you have had success, could you share the exact URL that you used with AMX panels?
Thanks! -
I had an issue like this a while ago with an HAI camera which basically just required [URL]http://IP:Port[/URL] and I couldn't get it to work in TPD4 resource manager because there was no file name. I think I got the idea from Joe H to instead try sending the params via code to the TP not in the TPD4 file and that worked like a charm.
CASE 3 is an axis cam with path and file name while CASE 4 is the HAI cam with only the IP:8008.CASE 3://camera 3 { fncAxisCam_QueueTPCmd("itoa(iUI_Indx),'^RMF-Camera_',itoa(n),' LG,%U',cTempUser,'%S',cTempPass,'%H',AXISCAM_IP_ADDRESS[n], '%Aaxis-cgi/mjpg%Fvideo.cgi?resolution=4CIF&compression=50%R1%N0%V0',AXIS_QDELIM"); fncAxisCam_QueueTPCmd("itoa(iUI_Indx),'^RMF-Camera_',itoa(n),',%U',cTempUser,'%S',cTempPass,'%H',AXISCAM_IP_ADDRESS[n], '%Aaxis-cgi/mjpg%Fvideo.cgi?resolution=CIF%R1%N0%V0',AXIS_QDELIM"); } CASE 4://camera 4 { fncAxisCam_QueueTPCmd("itoa(iUI_Indx),'^RMF-Camera_',itoa(n),' LG,%U',cTempUser,'%S',cTempPass,'%H',AXISCAM_IP_ADDRESS[n], ':8008%A%F%R1%N0%V0',AXIS_QDELIM"); fncAxisCam_QueueTPCmd("itoa(iUI_Indx),'^RMF-Camera_',itoa(n),',%U',cTempUser,'%S',cTempPass,'%H',AXISCAM_IP_ADDRESS[n], ':8008%A%F%R1%N0%V0',AXIS_QDELIM"); }Maybe this will work for you too.
Edit:
I believe I created the resource in TPD4 with bogus params and then revised those params or lack there of in code. -
TurnipTruck wrote: »That is what I did. I am able to get the MJPG stream to play in a browser and in VLC, just not on AMX panels.
The URL that I am using is http://IPAddress/Streaming/channels/1/preview
I had AMX look at it and they told me that there needs to be a file name such as image.jpg
If you have had success, could you share the exact URL that you used with AMX panels?
Thanks!
I found the stream I have it at home and can post it tomorrow for you you have to turn on snapshots too . -
the stream i use is
ip address: 192.168.......
path :Streaming/channels/1
file /picture
note i had to lower the main stream resolution to 2 megapixel to get them picture to come up on a ndx-500i . i also had to turn on snappshots.
hope this helps someone out .
regards jon
-
Do you have the HikVision cameras connected to the main network directly, or to their NVR? In case of the later, they are on their own subnet and not accessible from the main network where the AMX controller and TP's are normally.
-
bob .
yes my cameras are on my main network and not behind nvr . -
Protocol: HTTP
Host:blabla.com:80 - or whatever port you have
Path: ISAPI/Streaming/channels/102
File:picture
User:admin
Pass:*******
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums
