Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
AbahDoku Custom
Serba-serbi Windows
AbahDoku Wiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
CCTV menggunakan WebCam
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Instalasi== Jalankan command berikut di terminal OpenWrt opkg update && opkg install kmod-video-uvc mjpg-streamer mjpg-streamer-input-file mjpg-streamer-input-http mjpg-streamer-input-uvc mjpg-streamer-output-file mjpg-streamer-output-http mjpg-streamer-output-rtsp mjpg-streamer-output-zmq mjpg-streamer-www-simple luci-app-mjpg-streamer ==Konfigurasi== Lihat di menu <i>System Log</i> OpenWrt, apakah sudah terbaca USB Camera yang sudah di pasang di port USB Lihat menu <b>MJPG Streamer</b>, yaitu menu tambahan di Service OpenWrt, jika belum ada lakukan Release RAM OpenWrt dan buka OpenWrt di tab baru Browser Aktifkan MJG Streamer dengan menCentang kotak yg tersedia, lakukan konfigurasi resolusi sesuai keinginan dan File Output tempat menyimpan file images Save and Apply contigursi yang sudah dibuat. Lakukan akses via browser ke CCTV WebCam di 192.168.1.1 (IP OpenWrt) pada port default 8080 192.168.1.1:8080 ==Menambahkan menu CCTV= Untuk menambahkan menu CCTV di OpenWRT, jalankan command berikut di terminal OpenWrt cat <<'EOF' >/usr/lib/lua/luci/controller/cctv.lua module("luci.controller.cctv", package.seeall) function index() entry({"admin","status","cctv"}, template("cctv"), _("CCTV"), 8).leaf=true end EOF dan cat <<'EOF' >/usr/lib/lua/luci/view/cctv.htm <%+header%> <div class="cbi-map"> <iframe id="cctv" style="width: 100%; min-height: 600px; border: none; border-radius: 2px;"></iframe> </div> <script type="text/javascript"> document.getElementById("cctv").src = "http://" + window.location.hostname + ":8080"; </script> <%+footer%> EOF Lakukan Release RAM dan buka IP OpenWrt di tab baru browser, maka dapat dilihat menu CCTV dengan layar tampilan WebCam
Summary:
Please note that all contributions to AbahDoku Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
AbahDoku Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width