Skip to content

Instantly share code, notes, and snippets.

@pzankov
Last active June 10, 2017 20:35
Show Gist options
  • Save pzankov/3abdb99932794d08b32862fadc76a5d0 to your computer and use it in GitHub Desktop.
Save pzankov/3abdb99932794d08b32862fadc76a5d0 to your computer and use it in GitHub Desktop.

Info

  • H.265 H.264 3MP / 4MP IP Module PCB Circuit Board Onvif for CCTV Security Camera
  • Model IPG-83H40PL-B
  • DSP Hi3516D
  • Sensor 4.0M 1/3" OV4689

IP Discovery

sudo arp-scan --interface=enp0s25 --localnet

Stream URI

  • rtsp://192.168.1.10/user=admin&password=tlJwpbo6&channel=1&stream=0.sdp
  • rtsp://192.168.1.10/user=admin&password=tlJwpbo6&channel=1&stream=1.sdp

Camera configuration

  • Encoding
    • Disable second stream
    • H264, 1080P, 25fps, CBR 8192 kb/s
  • Camera
    • IR_CUR Automatically switch

VLC configuration notes

  • VDPAU hardware decoder had a wrong frame size for the H264 stream. Change decoder type if you have problems.
  • Network
    • Caching policy below Normal will lead to skipped frames in a very dark environment
    • Use Live555 stream transport mode "RTP over RTSP"

Live video can be viewed with vlc STREAM_URI.

Recording

openRTSP -K -t -c -v -D 1 -4 -P 300 -B 10000000 -b 10000000 STREAM_URI

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