Cov txheej txheem:

Router Ua Tus Yees Duab Yees Duab rau IP Lub Koob Yees Duab: 3 Kauj Ruam
Router Ua Tus Yees Duab Yees Duab rau IP Lub Koob Yees Duab: 3 Kauj Ruam

Video: Router Ua Tus Yees Duab Yees Duab rau IP Lub Koob Yees Duab: 3 Kauj Ruam

Video: Router Ua Tus Yees Duab Yees Duab rau IP Lub Koob Yees Duab: 3 Kauj Ruam
Video: Паромщик Бэтс ► 5 Прохождение Batman: Arkham City 2024, Hlis ntuj nqeg
Anonim
Router Ua Tus Yees Duab Yees Duab rau IP Koob Yees Duab
Router Ua Tus Yees Duab Yees Duab rau IP Koob Yees Duab

Qee tus routers muaj CPU muaj zog thiab USB-chaw nres nkoj ntawm lub rooj tsavxwm thiab tuaj yeem siv ua lub kaw suab kaw suab ntxiv rau kev ua haujlwm, txhawm rau sau thiab faib cov vis dis aus thiab suab los ntawm IP-koob yees duab uas ntws tsuas yog H264/265 RTSP (raws li niaj hnub no pheej yig siab daws teeb meem IP lub koob yees duab). Ntxiv mus, qee tus routers CPU muaj DSP (cov teeb liab digital), thiab yog li tuaj yeem muaj txiaj ntsig zoo rau kev txiav tawm cov vis dis aus (hloov qhov kev daws teeb meem, tus lej tus lej, thiab lwm yam). Raws li kev khaws cia tuaj yeem siv USB flash, USB-HDD, USB-SSD. NAS hauv tsev network tuaj yeem siv tau ib yam nkaus.

Tsis muaj ib tus router tuaj yeem hloov kho raws li tau piav qhia ntawm no, nyob ntawm kev siv CPU thiab cov chaw tsim khoom txwv cov khoom lag luam rov qab. Piv txwv li, nws ua tsis tau tejyam hloov kho Mediatek MTK7621 raws tus router. Tab sis tau ua tiav hloov kho lub router raws li Qualcomm IPQ4018 (Cortex-A7).

Txoj haujlwm no siv OpenWrt, Debian Buster nyob rau hauv debootstrap, FFmpeg thiab Samba.

Kauj Ruam 1: Ntawm Router tau teeb tsa OpenWrt OS

Ntawm Router Tau Txhim Kho OpenWrt OS
Ntawm Router Tau Txhim Kho OpenWrt OS

Ntawm lub router tau teeb tsa OpenWrt OS txhawm rau kom muaj Linux ntawm lub rooj tsavxwm. OpenWRT OS thiab kev sib txuas hauv tsev tau siv raws li tau piav qhia ntawm nplooj ntawv tsim nyog ntawm OpenWrt qhov haujlwm rau tus qauv router no.

Kauj Ruam 2: Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt

Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt
Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt
Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt
Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt
Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt
Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt
Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt
Dedian Buster, FFmpeg thiab Samba tau muab tso rau hauv OpenWrt

Pob FFmpeg tau siv rau sau cov kwj los ntawm IP lub koob yees duab thiab khaws cov ntaub ntawv ntawd los ntawm ib qho me me (2 feeb ntev ntawm txhua ntu). OpenWrt OS muaj FFmpeg ua hauv, tab sis qhov no tsis ua haujlwm nrog H264/265 kwj ntawm lub sijhawm no, txawm tias hom kwj no feem ntau siv hauv kev daws teeb meem siab IP-koob yees duab.

Tab sis nce ntawm OpenWrt OS (lub teeb Linux) tuaj yeem teeb tsa Debian OS (hnyav Linux). Qhov hnyav FFmpeg pob tuaj yeem teeb tsa ntawm Debian tom ntej thiab cov ntawv no tuaj yeem ua haujlwm nrog H264/265 ntws los ntawm IP lub koob yees duab.

Thawj kauj ruam nce kev nco ntawm lub router nrog USB flash (tab sis USB-HDD lossis USB-SSD zoo tshaj). Tib lub sijhawm, qhov chaw khaws khoom no tuaj yeem siv rau kev khaws cov vis dis aus yog tias tsis muaj NAS hauv tsev network. Samba tau teeb tsa.

Kauj ruam thib ob yog txhawm rau txhim kho qhov hnyav Debian OS nyob rau hauv debootstrap.

Kauj ruam thib peb: FFmpeg tau teeb tsa. Lub koob yees duab IP tuaj yeem txuas nrog lub router txuas lossis Wi-nkaus.

Kauj Ruam 3: Txuas IP Lub Koob Yees Duab, teeb tsa Crontab Thiab … Qhov ntawd yog txhua yam

Txuas IP Lub Koob Yees Duab, teeb tsa Crontab Thiab … Qhov ntawd yog txhua yam
Txuas IP Lub Koob Yees Duab, teeb tsa Crontab Thiab … Qhov ntawd yog txhua yam
Txuas IP Lub Koob Yees Duab, teeb tsa Crontab Thiab … Qhov ntawd yog txhua yam
Txuas IP Lub Koob Yees Duab, teeb tsa Crontab Thiab … Qhov ntawd yog txhua yam

Lub koob yees duab IP tuaj yeem txuas nrog lub router txuas lossis Wi-nkaus.

Siv ONVIF Tus Thawj Saib Xyuas Ntaus Ntawv tau pom qhov txuas rau lub koob yees duab RTSP kwj.

Nrog rau qhov txuas RTSP txuas ntawm lub koob yees duab, Crontab ntawm OpenWrt tau teeb tsa los khaws cov vis dis aus los ntawm IP lub koob yees duab hauv cov ntaub ntawv thiab rau kev tswj hwm cov vis dis aus me me.

Yog tag nrho. Puas yog txij li lub router no tsis yog tsuas yog lub router, tab sis yog lub kaw suab kaw ib yam nkaus. Puas tsis muaj kev sim nrog ob lossis ntau lub koob yees duab IP, tab sis kev tshuaj xyuas nrog ib lub koob yees duab IP nkaus xwb tsis qhia txog kev siv lub router CPU ntau dhau.

Cov vis dis aus khaws tau tuaj yeem sib qhia tsis yog hauv tsev network nkaus xwb, tab sis nrog kev nkag mus thoob ntiaj teb hauv Is Taws Nem ib yam. Txhawm rau ua qhov no, nws yog qhov yuav tsum tau teeb tsa FTP server hauv OpenWrt, thiab siv router lub chaw nres nkoj ua piv txwv nrog IP zoo li qub, IP sab nraud, lossis IP ib ntus nrog ceeb toom txog lawv hloov pauv.

Yog tias lub khoos phis tawj ntawm tus router no tsuas yog siv lub kaw video xwb nws yog lub tswv yim zoo los hloov Wi -Fi xov tooj cua ntawm lub rooj tsavxwm - yuav tsawg dua EM hluav taws xob thiab muaj zog ntau dua rau USB.

Paub meej ntawm no.

Pom zoo: