Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Video stream url for VLC/DVR:

  • rtsp://192.168.1.93:554/user=admin&password=&channel=&stream=.sdp?real_stream--rtp-caching=100

Telnet access

  • telnet 192.168.1.10 23
  • Localhost login: root
  • Password: xmhdipc

Configuration placed at this path:

  • /mnt/mtd/Config

To change static IP Address:

  • armbenv
  • netinit eth0 192.168.1.93

For enabling DHCP

  • echo 1 > mnt/mtd/Config/dhcp.cfg

Interesting links:

# cat /proc/cpuinfo
Processor       : ARM926EJ-S rev 5 (v5l)
BogoMIPS        : 218.72
Features        : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant     : 0x0
CPU part        : 0x926
CPU revision    : 5

Hardware        : hi3518
Revision        : 0000
Serial          : 0000000000000000
# ps
  PID USER       VSZ STAT COMMAND
    1 root      1240 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW   [rcu_kthread]
    7 root         0 SW<  [khelper]
    8 root         0 SW   [kworker/u:1]
  119 root         0 SW   [sync_supers]
  121 root         0 SW   [bdi-default]
  122 root         0 SW<  [kintegrityd]
  124 root         0 SW<  [kblockd]
  137 root         0 SW   [khubd]
  148 root         0 SW<  [cfg80211]
  149 root         0 SW   [kworker/0:1]
  231 root         0 SW<  [rpciod]
  234 root         0 SW   [kswapd0]
  288 root         0 SW   [fsnotify_mark]
  291 root         0 SW<  [nfsiod]
  302 root         0 SW<  [crypto]
  372 root         0 SW   [mtdblock0]
  377 root         0 SW   [mtdblock1]
  382 root         0 SW   [mtdblock2]
  387 root         0 SW   [mtdblock3]
  392 root         0 SW   [mtdblock4]
  397 root         0 SW   [mtdblock5]
  431 root         0 SW<  [wusbd]
  440 root         0 SW<  [kpsmoused]
  465 root       872 S <  udevd --daemon
  471 root         0 SWN  [jffs2_gcd_mtd5]
  703 root      1552 S    /utils/upgraded
  711 root      2440 S    searchIp
  713 root      9536 S    dvrHelper /lib/modules /usr/bin/Sofia 127.0.0.1 9578 1
  714 root      1244 S    telnetd
  728 root      482m S    /usr/bin/Sofia
  836 root      1264 S    -sh
  853 root      1240 R    ps
# ls /bin
BurnHWID   cat        env        hush       ln         netinit    searchIp   true
[          chmod      false      ip         login      netstat    sed        tty
[[         cp         fgrep      ipaddr     ls         ping       sh         udevd
armbenv    date       free       iplink     mkdir      pppd       sleep      udevinfo
arping     dd         grep       iproute    mkfifo     pppoe      sync       udevstart
ash        dvrHelper  himc       iprule     mknod      ps         sysinit    udpsvd
awk        dvrbox     himd       iptunnel   mount      pwd        test       umount
btools     echo       himd.l     kill       msh        rm         top        upgraded
busybox    egrep      himm       killall    mv         rmdir      touch      xargs
# armbenv -r
LibCrypto : g_cryptotype = 2
**********************************************************************
|                      SYSTEM INFO
|                 ID:           8043420004048425
|       product type:           50H10L
|            product:           HI3518E_50H10L_S39
|      video channel:           1
|      audio channel:           1
|           alarm in:           1
|          alarm out:           1
| forward video chip:           OV9712
|           DSP chip:           HI3518E
|  analog audio mode:           voice codec
|           talkback:           voice codec
|    back video chip:           no chip
|    store interface:           SDIO
|    matrix surpport:           No
| wireless interface:           USB
|    hardware encode:           encode chip
|   hardware version:           1
|    video_interface:           BNC
|      net_interface:           Ethernet
|  hardware info len:           8
**********************************************************************
LIBDVR: Complied at Jun 12 2015 19:34:48 SVN:1028
bootdelay = 1
baudrate = 115200
serverip = 192.168.1.107
ipaddr = 192.168.1.93
netmask = 255.255.255.0
ethaddr = 00:12:13:11:8e:e0
HWID = 8043420004048425
ob_start = 0
ob_data = 82
# cat /etc/init.d/rcS
#! /bin/sh

/etc/init.d/dnode

udevd --daemon
udevstart

mount -t squashfs /dev/mtdblock2 /usr
mount -t squashfs /dev/mtdblock3 /mnt/web
mount -t squashfs /dev/mtdblock4 /mnt/custom
mount -t jffs2 /dev/mtdblock5 /mnt/mtd

mount -t ramfs  /dev/mem        /var/
mkdir -p /var/tmp
mount -t ramfs  /dev/mem2       /utils
mount -t usbfs usbfs /proc/bus/usb/

mkdir -p /mnt/mtd/Config /mnt/mtd/Log /mnt/mtd/Config/ppp /mnt/mtd/Config/Json
if [ -f /mnt/mtd/Config/ppp/3gdigal ]; then
        chmod 777 /mnt/mtd/Config/ppp/3gdigal
fi

/usr/etc/loadmod
netinit
cp /bin/upgraded /utils/ -f
/utils/upgraded &
ifconfig eth2 down
telnetd &
sysinit &
searchIp &
#wlandaemon &
#route_switch &

/bin/pppd pty /etc/ppp/pppoe-start file /etc/ppp/pppoe-options &
if [ -f /mnt/custom/extapp.sh ];then
        /mnt/custom/extapp.sh &
fi
dvrHelper /lib/modules /usr/bin/Sofia 127.0.0.1 9578 1 &
@canaula

This comment has been minimized.

Show comment
Hide comment
@canaula

canaula Aug 22, 2017

Hello!
For this camera, what is the URL to show an image capture?

I need to insert the image into a web.

The problem of this camera with this firmware is that it does not fuciona neither sending by mail nor the sending by ftp. It's a mess, I'm 2 years old with headaches.

canaula commented Aug 22, 2017

Hello!
For this camera, what is the URL to show an image capture?

I need to insert the image into a web.

The problem of this camera with this firmware is that it does not fuciona neither sending by mail nor the sending by ftp. It's a mess, I'm 2 years old with headaches.

@ovisopa

This comment has been minimized.

Show comment
Hide comment
@ovisopa

ovisopa Sep 5, 2017

I also want to get an image capture and everything I tried so far didn't worked :( If anyone can give us some help, regarding this feature, how to check for sure if it's implemented in the firmware, I'll be thankful

http://192.168.1.86/webcapture.jpg?command=snap&channel=1
http://192.168.1.86/webcapture.jpg?user=admin&password=*****&command=snap&channel=1
http://user:pwd@192.168.1.86/webcapture.jpg?command=snap&channel=1

Some details from the telnet connection:
cat /proc/cpuinfo
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 218.72
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5

Hardware : hi3518
Revision : 0000
Serial : 0000000000000000


| SYSTEM INFO
| ID: 8043420004048425
| product type: 50H10L
| product: HI3518E_50H10L_S39
| video channel: 1
| audio channel: 1
| alarm in: 1
| alarm out: 1
| forward video chip: OV9712
| DSP chip: HI3518E
| analog audio mode: voice codec
| talkback: voice codec
| back video chip: no chip
| store interface: SDIO
| matrix surpport: No
| wireless interface: USB
| hardware encode: encode chip
| hardware version: 1
| video_interface: BNC
| net_interface: Ethernet
| hardware info len: 8


LIBDVR: Complied at Oct 22 2014 09:50:09 SVN:887

Build Date:2014/10/23 16:54:2
System: V4.02.R12.00006510.10010.1407

Thank you.

ovisopa commented Sep 5, 2017

I also want to get an image capture and everything I tried so far didn't worked :( If anyone can give us some help, regarding this feature, how to check for sure if it's implemented in the firmware, I'll be thankful

http://192.168.1.86/webcapture.jpg?command=snap&channel=1
http://192.168.1.86/webcapture.jpg?user=admin&password=*****&command=snap&channel=1
http://user:pwd@192.168.1.86/webcapture.jpg?command=snap&channel=1

Some details from the telnet connection:
cat /proc/cpuinfo
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 218.72
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5

Hardware : hi3518
Revision : 0000
Serial : 0000000000000000


| SYSTEM INFO
| ID: 8043420004048425
| product type: 50H10L
| product: HI3518E_50H10L_S39
| video channel: 1
| audio channel: 1
| alarm in: 1
| alarm out: 1
| forward video chip: OV9712
| DSP chip: HI3518E
| analog audio mode: voice codec
| talkback: voice codec
| back video chip: no chip
| store interface: SDIO
| matrix surpport: No
| wireless interface: USB
| hardware encode: encode chip
| hardware version: 1
| video_interface: BNC
| net_interface: Ethernet
| hardware info len: 8


LIBDVR: Complied at Oct 22 2014 09:50:09 SVN:887

Build Date:2014/10/23 16:54:2
System: V4.02.R12.00006510.10010.1407

Thank you.

@PeterEmbedded

This comment has been minimized.

Show comment
Hide comment
@PeterEmbedded

PeterEmbedded Oct 11, 2017

Use this to capture a single frame:
http://192.168.1.123/webcapture.jpg?command=snap&chanel=1
Note the typo in "chanel"

PeterEmbedded commented Oct 11, 2017

Use this to capture a single frame:
http://192.168.1.123/webcapture.jpg?command=snap&chanel=1
Note the typo in "chanel"

@PetrJakes

This comment has been minimized.

Show comment
Hide comment
@PetrJakes

PetrJakes Nov 27, 2017

About mentioned solution (http://...) reads low resolution channel only.
Try to use ffmpeg to capture still image from the video stream:
ffmpeg -f rtsp -rtsp_transport tcp -y -i "rtsp://xxx.xxx.xxx.xxx:port/user=admin&password=yourPass&channel=1&stream=0.sdp?real_stream" -f image2 -vframes 1 -vsync 2 -pix_fmt yuvj420p "/path/to/the/picture/photo_$(date +%Y.%m.%d_%H:%M:%S).jpg"

PetrJakes commented Nov 27, 2017

About mentioned solution (http://...) reads low resolution channel only.
Try to use ffmpeg to capture still image from the video stream:
ffmpeg -f rtsp -rtsp_transport tcp -y -i "rtsp://xxx.xxx.xxx.xxx:port/user=admin&password=yourPass&channel=1&stream=0.sdp?real_stream" -f image2 -vframes 1 -vsync 2 -pix_fmt yuvj420p "/path/to/the/picture/photo_$(date +%Y.%m.%d_%H:%M:%S).jpg"

@sony87

This comment has been minimized.

Show comment
Hide comment
@sony87

sony87 Feb 26, 2018

I'm trying to configure such camera HI3518E_50H10L_S39 to NVR software (Genius Vision NVR). When installed locally in the network where the camera is it finds the camera and add it via onvif protocol with username root and password which i don't know. It's working locally. Tried to access it remotely vie the external IP, port forwarding on 8899 port is set but it's refusing to connect. Not sure which password to use... any help ?

sony87 commented Feb 26, 2018

I'm trying to configure such camera HI3518E_50H10L_S39 to NVR software (Genius Vision NVR). When installed locally in the network where the camera is it finds the camera and add it via onvif protocol with username root and password which i don't know. It's working locally. Tried to access it remotely vie the external IP, port forwarding on 8899 port is set but it's refusing to connect. Not sure which password to use... any help ?

@rocklaam

This comment has been minimized.

Show comment
Hide comment
@rocklaam

rocklaam Mar 20, 2018

I have a IP camera using HI351E, model: IPC-Z06HL and trying to get a video link ? Can you show me the way in detail ? I'm just a newbie! Thanks in advance ! :D

rocklaam commented Mar 20, 2018

I have a IP camera using HI351E, model: IPC-Z06HL and trying to get a video link ? Can you show me the way in detail ? I'm just a newbie! Thanks in advance ! :D

@AntonOrlov

This comment has been minimized.

Show comment
Hide comment

AntonOrlov commented Apr 18, 2018

@neeqkowlah

This comment has been minimized.

Show comment
Hide comment
@neeqkowlah

neeqkowlah May 22, 2018

Hi, I have a camera wifi with the hi3518E chip. the IPC-BT511SW-1.3
The FTP service was not working so I tried to update the firmware with some of the list given in the previous message.
But since i update it, The Wifi connection doesn't work anymore :(
the camera is always working, i see the picture but olnly whent it is connected with ethernet cable.

I have a doubt on something : when i saw the version on the web interface I think i have seen
4.0.R12.00006510
but when i connected with telnet, i saw 53H13 in product type:

is it possible ? how can i recover wifi connection ? is there any old firmware ? does anyone had the same pb ?

thank you very much

neeqkowlah commented May 22, 2018

Hi, I have a camera wifi with the hi3518E chip. the IPC-BT511SW-1.3
The FTP service was not working so I tried to update the firmware with some of the list given in the previous message.
But since i update it, The Wifi connection doesn't work anymore :(
the camera is always working, i see the picture but olnly whent it is connected with ethernet cable.

I have a doubt on something : when i saw the version on the web interface I think i have seen
4.0.R12.00006510
but when i connected with telnet, i saw 53H13 in product type:

is it possible ? how can i recover wifi connection ? is there any old firmware ? does anyone had the same pb ?

thank you very much

@Suncatcher

This comment has been minimized.

Show comment
Hide comment
@Suncatcher

Suncatcher May 22, 2018

Hi guys!
Do you know does this camera support PoE (Power over Ethernet)?

Suncatcher commented May 22, 2018

Hi guys!
Do you know does this camera support PoE (Power over Ethernet)?

@JanLoebel

This comment has been minimized.

Show comment
Hide comment
@JanLoebel

JanLoebel Jun 20, 2018

I've wrote something about the Hikam S6 (based on HI3518E):

https://gist.github.com/JanLoebel/b5dafcda555323785d32ccb7d643dbcd

JanLoebel commented Jun 20, 2018

I've wrote something about the Hikam S6 (based on HI3518E):

https://gist.github.com/JanLoebel/b5dafcda555323785d32ccb7d643dbcd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment