Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Shinobiのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Shinobi
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:監視]] [[Category:ウェブアプリケーション]] [[en:Shinobi]] {{Related articles start}} {{Related|ウェブカメラ設定}} {{Related|ZoneMinder}} {{Related articles end}} [https://shinobi.video/ Shinobi] は Node.js で記述された最新のオープンソース NVR(Network Video Recorder) です。個人または教育のための使用であれば、Pro バージョンの使用にライセンスキーは必要ありません。商用目的の使用の場合は、[https://hub.shinobi.video/articles/view/QDD2cqvbTekzhar この]ページを参照してください。 {{Note|h.265 をサポートするカメラは、Shinobi ダッシュボードのブラウザでは表示できません。録画(ビデオのコピー)は引き続き機能しますが、ブラウザを使用して表示することはできません。モバイルアプリを使って、これらのストリームを表示できます。}} == インストール == {{AUR|shinobi-git}} を [[インストール]] して下さい。 {{Note|Shinobi は root としてではなく非特権ユーザーとして実行されます。これは、アップストリームが {{ic|node}} の実行を期待する方法です。その結果、いくつかの制限が課せられます: # WebUI からのプラグインのインストールは機能しません。必要な場合は、root としてサーバーを手動で起動して下さい。 # {{ic|pm2}} が使用されていないため、WebUI からの再起動機能は機能しません。 # root のみが実行できるため、1000 未満のポートへのバインドは機能しません。これは、FTP または SMTP を使用してモーション/オブジェクト検出を受信する場合にのみ関係します。いくつかの回避策オプションについては、[[#カメラ内からの動き/物体検出]] を参照してください。}} == 設定 == === MariaDB サーバーのインストールとセットアップ === 初期設定については [[MariaDB#インストール]] を参照し、次のコマンドを使用して Shinobi 用のデータベースを作成します: # mysql > CREATE DATABASE ccio; flush privileges; \q Shinobi のユーザー {{ic|majesticflame}} を作成し、新しいデータベースに対するすべての権限を付与します: # mysql < /usr/share/shinobi/sql/user.sql {{Note|{{AUR|shinobi-git}} は {{Pkg|mariadb}} に依存するため、MariaDB は Shinobi と同じサーバーにインストールされます。ただし、Shinobi を手動でインストールした場合や、MariaDB を別のサーバーにインストールして {{Pkg|mariadb}} 依存関係を使用せずにインストールした場合は、{{ic|/usr/share/shinobi/sql/user.sql}} をコピーして変更する必要があります。例えば、LAN IP が '''192.168.9.100''' の場合 $ sed 's/127.0.0.1/192.168.9.100/g' < /usr/share/shinobi/sql/user.sql > /tmp/user.sql 次に、[[SCP と SFTP#一般的な使用方法|scp]] またはその他のメカニズムを使用してファイルを MariaDB サーバーにコピーし、変更した SQL ファイルを実行します: # mysql < /tmp/user.sql }} 最後にデータベースにテーブルを追加します: # mysql ccio < /usr/share/shinobi/sql/framework.sql === Shinobi のセットアップ === {{Note|MariaDB が別のサーバー上にある場合は、{{ic|/etc/shinobi/conf.json}} を編集し、{{ic|db.host}} の下の '''127.0.0.1''' を置き換えます。}} 必要に応じて {{ic|/etc/shinobi/conf.json}} をカスタマイズします。 必要に応じて、メールセクションを設定し、コメントに示されているように cron キーをランダムなものに置き換えます。 必要に応じて、{{ic|/etc/shinobi/super.json}} を編集し、"pass" の値を md5sum ハッシュ化されたパスワードに置き換えることにより、スーパー管理者パスワードを変更します。次のようなものを生成します。 $ echo -n PASSWORD | md5sum shinobi.target ユニットを使用して Shinobi を [[起動]]/[[有効化]] します。{{ic|shinobi.target}} は {{ic|shinobi-camera.service}} と {{ic|shinobi-cron.service}} を起動/停止します。http://localhost:8080/super にアクセスして、ユーザーの作成を含む初期セットアップを実行します。ウォークスルーについては、[https://shinobi.video/docs/configure 公式の設定ガイド] を参照してください。完了したら、http://localhost:8080 にアクセスし、管理者以外のユーザーとしてログインします。 {{Note|別のコンピューター上の場合は '''localhost''' を LAN IP に置き換え、{{ic|/etc/shinobi/conf.json}} の {{ic|ip}} の下にある '''127.0.0.1'''を置き換えます。}} == Android および iOS アプリ == Android と iOS の両方の Shinobi モバイルアプリは、[https://cdn.shinobi.video/installers/ShinobiMobile/ この] 公開テストを通じて利用できます。 == Tips and tricks == === Delay between camera video and Shinobi === Some level of a lag or delay between the camera and the Shinobi dashboard is normal and dependent on stream type and video settings. See [https://hub.shinobi.video/articles/view/Eug1dxIdhwY6zTw upstream documentation] for some tips on minimizing the delay. === Motion/object detection natively in Shinobi === Shinobi can monitor a video feed and only record if motion is detected. Full frame or trigger areas are natively supported. See the [https://shinobi.video/docs/configure#content-setting-up-motion-detection setting-up-motion-detection] article of upstream's documentation. === Motion/object detection from within the camera === Some camera manufactures offer native motion/object detection within the firmware of the camera itself. Shinobi can accept external event to trigger a record when motion is detected by the camera and these events are communicated by either [https://hub.shinobi.video/articles/view/Qdu39Dp8zDqWIA0 SMTP] or [https://shinobi.video/articles/2019-02-23-how-to-use-ftpbased-event-triggering-in-shinobi FTP]. {{Note|Adjustment to a higher value to the '''Segment length''' variable might be needed if there is a lag between when the camera detects motion and when Shinobi triggers the start of video. To test this, simply watch the live stream while someone triggers motion. Observe the time from the camera's clock when the motion was triggered and compare that to the video. Set a higher value and test again.}} Since our package is not running {{ic|node}} as root, it cannot use the native ports for these services (25 for STMP and 21 for FTP). It is recommended to simply select a port above 1,000 for these services on Shinobi and within the camera. If using the native ports is a hard requirement, use a [[drop-in snippet]] for {{ic|shinobi-camera.service}}: [Service] AmbientCapabilities=CAP_NET_BIND_SERVICE == Resources == * [https://shinobi.video/docs/ Shinobi docs] - Official docs and guides. * [https://www.ispyconnect.com/cameras iSpy camera database] - Large database of URLs for various cameras. * [https://hub.shinobi.video/explore Shinobi camera database] - Searchable database of supported cameras including things such as protocols, URLs for streams, and other technical specs. * [https://community.home-assistant.io/t/stream-component-confirmed-cameras-and-configurations/106729 Home assistant camera database] - Another resource for finding URLs for streams.
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
Shinobi
に戻る。
検索
検索
Shinobiのソースを表示
話題を追加