Cov txheej txheem:
- Kauj Ruam 1: Cov Duab Los Ntawm IP Lub Koob Yees Duab
- Kauj Ruam 2: Txheeb Cov Duab - Txoj Cai 1
- Kauj Ruam 3: Txheeb Cov Duab - Txoj Kev 2
- Kauj Ruam 4: Luam Cov Duab rau Windows PC
- Kauj Ruam 5: Tsim Yeeb Yaj Kiab - Photolapse 3
- Kauj Ruam 6: Tsim Cov Yees Duab - VirtualDub
- Kauj Ruam 7: Xaus
Video: Yuav Ua Li Cas Lub Sijhawm Lapse Video: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-31 10:20
Hauv Cov Lus Qhia Kuv yuav piav qhia cov kauj ruam uas kuv siv los ua lub sijhawm video lapse. Cov kab ke thiab kho vajtse kuv siv kom tau txais cov duab yog lub khoos phis tawj Linux thiab lub network raws IP lub koob yees duab. Ib tsab ntawv sau ntawm Linux lub khoos phis tawj thiab txhua x vib nas this pov npav IP lub koob yees duab, tuav cov duab, rov ua qhov loj me, lub sijhawm thiab hnub tim nyiaj muas noj thiab khaws nws mus rau lub computer hard drive. Txhawm rau tsim cov vis dis aus los ntawm cov duab Kuv yuav npog ob qhov sib txawv freeware thov ntawm lub Windows PC thiab saib ntawm kev siv Linux raws li kev xaiv.
Thaum tau txais cov duab koj yuav tsum txiav txim siab lub sijhawm nruab nrab ntawm txhua daim duab, lossis ntau npaum li cas cov duab ib teev lossis ib hnub koj yuav tsum tsim cov vis dis aus uas zoo nkaus li zoo thiab tsis ntev lossis luv.
Hauv kuv qhov dej khov tawm video. Kuv rub ib daim duab txhua 20 vib nas this los ntawm ua ntej hnub tuaj ntawm thawj hnub thiab mus ncaj mus txog hnub poob ntawm hnub tom qab. Kuv tshem tawm cov duab hmo ntuj feem ntau ua ntej kuv ua lawv rau hauv cov vis dis aus, tab sis txiav txim siab khaws "lub hli nce"
Qhov no tawm kuv nrog ib ncig ntawm 4, 430 cov duab. Yog tias kuv tsim cov vis dis aus siv 25 ntas ib ob, qhov ntev yuav yog:
4, 430/25 = 177.2 vib nas this ntev. 177.2 vib nas this yog ze li 3 feeb.
Yog tias koj xav ntes qee yam zoo li lub tsev tab tom tsim, tom qab ntawd txhua 3 txog 5 feeb yuav yog qhov pib zoo.
Nyob ntawm seb ntau npaum li cas thiab ntev npaum li cas kuv yuav tsum tau ntes cov duab, Kuv siv ib qho rau ob txoj hauv kev sib txawv.
Kauj Ruam 1: Cov Duab Los Ntawm IP Lub Koob Yees Duab
Feem ntau cov koob yees duab IP siv nyob rau hauv ob qho video kev saib xyuas lossis rau tag nrho cov lus tsa suab webcams tso cai rau koj mus saib cov duab tseem-j.webp
"https:///snap.jpg"
Rau Lub Ntiaj Teb Lub Koob Yees Duab:
"https:///image.cgi? daws teeb meem = 1920x1080"
Koj yuav tsum tau google lub url los siv rau koj lub koob yees duab hom.
Ob qhov Ubiquiti thiab Planet cov duab kuv rub yog 1920x1080 hauv qhov loj me (default rau txhua lub koob yees duab raws li lawv yog 1080 lub koob yees duab). Nrog qhov loj me no koj xaus nrog cov ntaub ntawv ntau thiab cov ntaub ntawv yees duab loj. Kuv nyiam rov ua cov duab loj dua thaum kuv rub nws thiab sau nws rau disk thiab kuv yuav qhia cov theem no hauv kuv tsab ntawv. Kuv siv hloov pauv uas yog ib feem ntawm cov cuab yeej ImageMagick.
Kauj Ruam 2: Txheeb Cov Duab - Txoj Cai 1
Kuv siv txoj hauv kev no txhawm rau ntes cov xwm txheej luv dua li dej khov. Koj tuaj yeem siv txoj hauv kev no txhawm rau ntes qee yam xws li txav mus thiab teeb tsa ib qho xwm txheej - qee yam siv sijhawm ob peb teev lossis 1 lossis 2 hnub thiab qhov twg koj tuaj yeem tshem tawm cov duab tsis xav tau xws li hmo ntuj ua ntej ua haujlwm hauv video
Hauv qab Linux, ib tsab ntawv rau kuv lub koob yees duab Ubiquiti zoo li no:
#!/bin/tsoo
# mus rau daim nplaub tshev raug
cd/tsev/steve/iceoff
# Ubiquiti - ubnt lub koob yees duab
URL = "https://192.168.2.114/snap.jpg"
# qhov twg los sau cov duab
ubnt_dir =/tsev/steve/iceoff/ubnt
# ncua ntawm cov duab
ncua = 20
#lub
thaum muaj tseeb ua
# siv sijhawm/hnub txhawm rau txhawm rau lub npe cov ntaub ntawv - qhov no yuav tsum nyob hauv ntu ntu
tam sim no = $ (/bin/hnub '+%Y%m%d%H%M%S')
# tau txais daim duab thiab sau nws li ubnt.jpg
/usr/bin/wget -q -O "$ ubnt_dir/ubnt.jpg" -t 1 $ URL
# rov loj dua ubnt-j.webp
hloov -geometry 1024x "$ ubnt_dir/ubnt.jpg" "$ ubnt_dir/$ {tam sim no}.jpg"
# pw tsaug zog rau lub sijhawm ncua ces tau txais lwm daim duab
/bin/pw tsaug zog "$ ncua sijhawm"
ua tiav
Tsab ntawv ua dab tsi:
teeb URL sib txawv rau qhov twg cov duab nyob ntawm lub network/lub koob yees duab
teeb tsa qhov sib txawv ubnt_dir rau qhov uas peb xav khaws cov duab (koj yuav tsum tsim cov npe ua ntej khiav cov ntawv)
teeb tsa qhov sib txawv ncua mus rau pes tsawg vib nas this ntawm cov duab - qhov no ua rau nws yooj yim los hloov lub sijhawm nruab nrab ntawm cov duab, tsuas yog hloov qhov kev hloov pauv no thiab rov ua dua tsab ntawv
pib lub voj nrog thaum ua qhov tseeb - cov loops no yuav tsum mus kom txog thaum koj nres tsab ntawv nrog ctrl -c
teeb tsa qhov sib txawv tam sim no raws li xyoo, hli, hnub, teev, thib ob
Lub Ob Hlis 16, 2019 ntawm 8 feeb thiab 29 vib nas this tom qab 1 teev yuav zoo li 20190216130829
siv wget txhawm rau rub daim duab los ntawm URL thiab sau nws li ubnt-j.webp
hloov cov duab ubnt-j.webp
pw tsaug zog rau tus naj npawb ntawm vib nas this hauv qhov hloov pauv qeeb
rov qab thiab pib thaum lub sijhawm tseeb ua kauj ruam
Txhawm rau sau tsab ntawv no kuv nkag mus rau kuv tus as khauj thiab khiav nws los ntawm lub davhlau ya nyob twg - yog li qhov no zoo rau kev ntes qee yam xws li dej khov ntawm lub pas dej - nws tau ua tiav hauv ib hnub lossis ob hnub thiab kuv xav tau duab txhua 20 vib nas this.
Kauj Ruam 3: Txheeb Cov Duab - Txoj Kev 2
Rau lub sijhawm ntev lapses zoo li kev tsim kho lub tsev lossis ib xyoo ntev lub sijhawm lapse project kuv siv lwm txoj hauv kev ntawm kev ntes cov duab. Rau qhov no kuv siv cron.
Cron yog qhov muaj txiaj ntsig uas khiav cov lus txib ib zaug txhua x feeb, teev, hnub lossis hli. Yog li koj tuaj yeem txiav thaum cov lus txib sau los ntawm feeb, teev, hnub, hnub ntawm lub hlis thiab lwm yam.
Rau lub sijhawm dhau mus uas mus rau lub hlis uas kuv tau txais cov duab txhua X feeb Kuv siv cov haujlwm cron thiab cov ntawv sib txawv me ntsis hauv qhov ntawd nws tsis xav tau lub voj (qhov tseeb thaum ua thiab ua tiav) txij li cron yuav hu rau tsab ntawv txhua X tus lej feeb.
Tsis tsuas yog koj tuaj yeem siv nws los sau tsab ntawv txhua X feeb, tab sis koj tuaj yeem txwv nws kom khiav ntawm qee lub sijhawm yog li koj tsis tas yuav tshem ntau cov duab hmo ntuj. Raws li lub caij thiab nruab hnub hloov pauv kuv hloov kuv txoj haujlwm cron kom pom nws.
Txhawm rau tsim txoj haujlwm cron nkag mus rau koj lub Linux server thiab khiav: crontab -e Qhov no yuav pib kho koj li crontab. Kuv cov ntaub ntawv crontab muaj kab zoo li no:
*/5 4-23 * * * /home/steve/timelapse/get.ubnt>/dev/null 2> & 1
Tus */5 txhais tau tias khiav txhua 5 feeb
4-23 txhais tau tias khiav ntawm 4 teev sawv ntxov txog 11 teev tsaus ntuj (qhov no hloov pauv nrog lub caij rau kuv)
Thawj * txhais tau tias khiav nws txhua hnub ntawm lub hli
Qhov thib ob * txhais tau tias khiav nws txhua lub hlis ntawm lub xyoo
Qhov thib peb * txhais tau tias khiav nws txhua hnub ntawm lub lim tiam
/home/steve/timelapse/get.ubnt yog tsab ntawv lub npe uas ua haujlwm
/dev/null 2> & 1 txhais tau hais tias muab cov qauv tso tawm rau qhov tsis muaj thiab muaj qhov ua yuam kev rau tsis yog - yog tias koj tsis muaj qhov no koj yuav tau txais email txhua lub sijhawm ua haujlwm cron ua haujlwm.
Kuv tsab ntawv /usr/steve/timelapse/get.ubnt zoo li no:
#!/bin/tsoo
cd/tsev/steve/timelapse
URL = "https://192.168.2.114/snap.jpg"
tam sim no = $ (/bin/hnub '+%Y%m%d%H%M%S')
/usr/bin/wget -q -O ubnt-j.webp
hloov -geometry 1024x ubnt-j.webp" />
Tsab ntawv no ua dab tsi:
hloov mus rau/home/steve/timelapse
teeb URL sib txawv rau qhov twg cov duab nyob ntawm lub network/lub koob yees duab
teeb tsa qhov sib txawv tam sim no rau xyoo, hli, hnub, teev, feeb, thib ob (yog li peb tuaj yeem siv sijhawm/hnub thim qhov kawg-j.webp
tau txais cov duab los ntawm URL thiab sau nws tawm rau ubnt.jpg
hloov daim duab mus rau 1024 pixels dav khaws qhov sib piv raug thiab sau cov ntawv ua hnub tim/sijhawm.
Ib yam li cov txheej txheem yav dhau los/tsab ntawv nws yuav ua cov ntaub ntawv npe ua ntu zus thiab pab kom peb tsim cov vis dis aus nrog cov thav ntawv hauv kab ntawv raug. Tom qab kuv muaj ob peb hnub tsim nyog ntawm cov duab Kuv yuav luam lawv rau hauv daim nplaub tshev ntawm kuv lub Windows PC los tsim cov vis dis aus. Kuv ib txwm siv ftp kom tau txais cov ntaub ntawv ntawm lub Windows PC raws li lawv nyob hauv tib lub network thiab tus ID nkag mus/lo lus zais yog cov ntawv tsis pom hauv Internet.
Kauj Ruam 4: Luam Cov Duab rau Windows PC
Txhawm rau luam cov duab los ntawm Linux system rau lub khoos phis tawj Windows rau kev ua rau hauv cov vis dis aus Kuv siv FTP.
Qhov rai program kuv siv rau qhov no yog FileZilla Client. Koj tuaj yeem siv ib tus neeg siv ftp uas koj xav tau, txawm tias kab lus hais kom ua version hauv windows.
Yog tias koj paub koj tab tom ua dab tsi koj kuj tseem tuaj yeem siv Samba lossis NFS thiab muaj Linux cov ntaub ntawv tshwm raws li daim nplaub tshev hauv Windows.
Kauj Ruam 5: Tsim Yeeb Yaj Kiab - Photolapse 3
Tam sim no peb muaj cov duab, peb yuav tsum sib txuas ua ke los tsim cov vis dis aus.
Muaj ntau txoj haujlwm uas koj tuaj yeem siv los ua qhov no thiab koj yuav xav sim nrog cov haujlwm sib txawv.
Txawm li cas los xij rau tus lej me me ntawm cov duab zoo li kuv ntes thaum ib lossis ob hnub ntawm cov dej khov tawm kuv siv lub qhov rai program Photolapse 3 - uas hmoov tsis tau hloov kho ntxiv lawm thiab kuv tsis tuaj yeem pom thawj lub vev xaib rau nws. Txawm li cas los nws tseem muaj los ntawm tus lej "rub tawm" cov chaw. Kev tshawb nrhiav google sai yuav tsum yog ib qho zoo.
Dab tsi yog/tau zoo txog qhov program no yog tias nws yog ib qho binary, yog li tsis muaj kev teeb tsa. Tsuas yog rub lub binary thiab khiav nws. Qhov tsis zoo yog tias nws yuav tsis ua cov lej loj ntawm cov ntaub ntawv. Los ntawm qhov loj Kuv txhais tau tias tej zaum 20 txhiab lossis ntau dua, tab sis rau qee yam zoo li kuv cov dej khov tawm nrog kwv yees li 5, 000 cov duab nws tsuas yog zoo.
Koj pib qhov kev zov me nyuam, nyob rau sab saum toj sab saum toj lub thawv tshawb pom lossis pom qhov twg koj cov duab tau khaws cia, tom qab ntawd muab tus lej ntawm tus lej ib ob (tus lej me dua yuav ua rau cov vis dis aus zoo li qeeb qeeb). Tom ntej no nyem lub pob "Load files from this folder"
Photolapse yuav thauj khoom thiab saib ua ntej txhua tus ncej thiab koj yuav tau txais lub tswv yim ntawm qhov vis dis aus yuav zoo li cas.
Thaum nws tau ua tiav tag nrho daim nplaub tshev, nyem rau ntawm "Tsim Movie" khawm, hloov lub npe cov ntaub ntawv yog tias koj xav tau, tom qab ntawd nyem "Txuag".
Tom ntej no koj yuav tsum xaiv txoj hauv kev nrawm rau cov vis dis aus lossis tso nws kom tsis txhob nyem. Kuv siv "Microsoft Video 1". Txhua yam uas tshuav yog nyem "OK"
Txawm hais tias koj yuav tsum tau mus dhau txhua kauj ruam ntxiv los xaiv qhov sib txawv sib txawv txoj kev lossis codec, nws tsim nyog sim sib txawv ntawm no yog tias koj xav tau cov vis dis aus nrawm.
Cov duab kuv tau siv rau lub vijtsam ntes hauv cov kauj ruam no yog qee qhov los ntawm thawj cov dej khov tawm ntawm cov duab. Kuv siv 1191 cov duab ntawm 1024x576 pixels. Lawv nqa kwv yees li 110MB ntawm qhov chaw disk. Cov vis dis aus tau nrawm yog 235MB hauv qhov loj me thiab qhov tsis hloov pauv yog 1.96 GB
Kauj Ruam 6: Tsim Cov Yees Duab - VirtualDub
Lwm qhov haujlwm kuv tau siv yog VirtualDub
Rub tawm cov ntawv zip ntawm no. Muaj 32-ntsis thiab 64-ntsis version
Unzip cov ntaub ntawv rau hauv lawv tus kheej daim nplaub tshev.
Ib yam uas koj yuav tsum tau ua nrog koj cov duab yog rov ua tus lej rau lawv. Siv hnub/sijhawm lub npe ntawv cov npe zoo li kuv cov ntawv sau tsim yuav tsis ua haujlwm nrog VirtualDub. Muaj ob peb txoj hauv kev rov sau cov ntaub ntawv:
Ua ntej, ua kom thaub qab ntawm koj cov ntaub ntawv, tom qab ntawd lwm qhov thaub qab. Tom qab ntawd siv daim ntawv thib ob:
Qhib daim nplaub tshev nrog cov duab, hloov qhov pom mus rau "cov ntsiab lus", hais txog thawj cov ntaub ntawv ntawm cov npe, nias ctrl-a kom xaiv txhua cov ntaub ntawv, nyem txoj cai thiab xaiv "hloov npe". Hloov cov ntaub ntawv npe rau 1 ces ntaus nkag.
Qhov no yuav ua cov npe ntawm cov ntaub ntawv thiab txuas ntxiv (1).jpg, tom qab ntawd (2)-j.webp
Txoj kev thib ob yog siv qhov program hu ua Irfanview. Nws muaj hom sib txawv uas koj tuaj yeem hloov npe cov ntaub ntawv ua ntu zus raws li 1.jpg, 2.jpg, 3-j.webp
Thaum cov ntaub ntawv raug hloov pauv, pib VirtualDub, nyem "file" ces "open video file". Xaiv thawj-j.webp
Nyem "Video" ces "Nce Tus Nqi" hloov qhov no mus rau 30 (lossis xijpeem tus lej koj xav sim)
Nyem "Video" ces "Compression" - zoo li nrog photolapse 3 Kuv tau siv "Microsoft video 1"
Txhawm rau pib ua cov duab nyem "File" ces "Save as AVI". Npe lub npe ntawv ces nyem "Txuag"
Qhov no yuav pib ua thiab qhia ntev npaum li cas nws yuav siv sijhawm.
Txawm hais tias muaj ntau qib hauv kev siv VirtualDub, nws yuav ua cov ntaub ntawv ntau dua li photolapse 3.
Kuv tau ua lub sijhawm ncua sijhawm nrog ntau dua 88,000 cov duab siv VirtualDub.
Kauj Ruam 7: Xaus
Txhawm rau saib cov yeeb yaj kiab timelapse koj tuaj yeem siv qhov program zoo li VLC lossis Windows tus kheej media player.
Muaj ntau ntau, ntau txoj hauv kev los ntes cov duab thiab ua kom ncua sijhawm.
Yog tias koj muaj lub koob yees duab canon, muaj tus thib peb firmware CHDK rau qee tus qauv uas yuav tso cai rau koj siv lub koob yees duab nyob rau hauv hom kev sib nrug thiab siv ib daim duab txhua x vib nas this.
Kev sim ntau! Vam tias koj pom Cov Lus Qhia no nthuav thiab yog tias koj ua lub sijhawm ncua sijhawm nco ntsoov tso qhov txuas rau nws hauv cov lus.
Pom zoo:
Yuav Siv Li Cas Lub Sijhawm Teev Sijhawm Tiag (DS3231): 5 Kauj Ruam
Yuav Ua Li Cas Siv Lub Sijhawm Caij Sijhawm Tiag (DS3231): DS3231 yog tus nqi qis, tsis tshua muaj neeg raug I2C lub sijhawm tiag tiag (RTC) nrog kev sib xyaw ua kom sov-them nyiaj siv lead ua oscillator (TCXO) thiab siv lead ua. Lub cuab yeej suav nrog lub roj teeb nkag thiab tswj lub sijhawm kom raug thaum lub zog tseem ceeb rau
Yuav Ua Li Cas Tsim Lub Sijhawm Teev Sijhawm: 7 Kauj Ruam
Yuav Ua Li Cas Tsim Lub Sijhawm Teev Sijhawm: Qhov haujlwm no yuav siv Zio Qwiic Ultrasonic Distance Sensor los txheeb xyuas thiab taug qab tus neeg. Lub cuab yeej yuav tau muab tswv yim tso rau saum lub vijtsam/saib lub ntsej muag rau tus neeg zaum zaum, nyob rau ntawm nws lub computer
Yuav Hloov Li Cas Lub Roj Teeb Hauv Lub Sijhawm Sijhawm Tag: 12 Cov Kauj Ruam
Yuav Hloov Li Cas Lub Roj Teeb Hauv Lub Sijhawm Teev Sijhawm: Lub Nkoj Lub Sijhawm Sijhawm Tag yog qhov hloov pauv txias rau lub moos, txuas rau khaub ncaws, hnab hlua lossis hnab tshos. Lub roj teeb tawm thaum kawg, yog li ntawm no yuav hloov nws li cas. Nws yog tus qauv 364 / AG1 / LR621 / SR621W / 164 khawm roj teeb ntawm tes uas
Yuav Ua Li Cas Tsim Lub Sijhawm Uas Ua Haujlwm Lub Sijhawm Ntawm Phab Ntsa: 6 Kauj Ruam
Yuav Ua Li Cas Tsim Lub Sijhawm Uas Ua Haujlwm Lub Sijhawm ntawm Phab Ntsa: Cov lus qhia no qhia koj yuav tsim lub moos projector li cas. Cov cuab yeej no tso cai rau koj npaj sijhawm rau ntawm phab ntsa. Raws li lub tswb LCD me me (tsis dhau me me, hloov pauv, koj yuav tsis tuaj yeem ua nws thiab ua haujlwm rau nws), qhov no yog txoj hauv kev zoo rau kev tshem tawm
Yuav Kho Li Cas Lub Hwj Huam Rau Kuv Dell Laptop Lub Sijhawm Li Cas: 8 Kauj Ruam
Yuav Ua Li Cas Txhim Kho Lub Hwj Chim Rau Kuv Lub Dell Lub Sijhawm Li Cas: Cov lus qhia no qhia yuav ua li cas txhawm rau kho lub zog txuas rau Dell Vostro laptop, thaum nws yuav ntsaws rau hauv koj lub khoos phis tawj tab sis yuav tsis them koj lub roj teeb lossis sau npe li ntsaws kiag li. Qhov laj thawj tshwj xeeb no thiab kev daws teeb meem tseem tsis tau them online. Txhua