Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Kho RPi Memory Card
- Kauj ruam 2: Teeb RPi Installation
- Kauj Ruam 3: Nruab Qhov Software Xav Tau
- Kauj Ruam 4: Xeem Kev Tshaj Tawm
- Kauj ruam 5: Kho rau Autostart
- Kauj Ruam 6: Yeem Tsis Nyob IP Qhov Chaw Nyob
Video: Raspberry Pi Web Stream Kit - Ntu 2 (Pi Video Streaming): 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-31 10:20
Okay, kuv tsis xav tias qhov no xav tau cov duab, tab sis lub vev xaib nyiam cov duab. Cov no feem ntau yog cov lus txib thiab cov kauj ruam rau koj. Muaj tus lej ntawm lwm qhov chaw uas tuaj yeem hais txog txhua yam tshwj xeeb.
Nov yog qhov ua haujlwm rau kuv. Qhov no suav nrog lwm daim los ntawm txhua qhov mus rau teeb tsa lub webcam & raspberry pi system kom tso cov zis rau qee lub khoos phis tawj, qhov no, OBS Studio khiav.
Kuv siv lub koob yees duab los muab ntau lub ntsiab lus pom ntawm FIRST LEGO League kev sib tw. Kuv kuj tseem muab 4 lub koob yees duab tso rau kuv cov menyuam kawm ntawv theem siab kom tso tau cov xwm txheej (kev hais kwv txhiaj, kev kawm tiav, thiab lwm yam) rau Facebook. Kuv kuj tau sim nrog Twitch thiab Youtube. OBS Studio muab ntau txoj kev xaiv
Tsis muaj qhov txwv tiag rau cov koob yees duab, tsis yog siv bandwidth. Kuv nyiam siv cov kab nyuaj, vim nws khaws cov bandwidth zoo dua. Wireless muaj teeb meem latency, tshwj xeeb tshaj yog nyob rau hauv ib puag ncig teeb liab teeb liab nrog ntau ntawm cov hlau (nrhiav tau qhov no thaum lub sij hawm qhuav ntawm lub tsev kawm ntawv cov nyiaj pab txhawb nqa).
Khoom siv
Computer nrog Kev Siv Internet
Raspberry Pi, nrog cov keyboard/nas/video nkag tau. Ethernet nkag mus rau Is Taws Nem ib yam.
Logitech c920 webcam
Kauj Ruam 1: Kho RPi Memory Card
Rau Daim Npav nrog NOOBs teeb tsa
Kuv tab tom pib nrog daim npav uas tuaj nrog cov khoom kuv nyuam qhuav tau txais los ntawm ABOX. Noobs v3.0.0 nyob ntawm daim npav.
Kuv muaj daim npav uSD 32GB. Ib 16 GB tseem yuav ua haujlwm. Kuv xav tias me me tuaj yeem ua haujlwm, tab sis rau tus nqi sib txawv, tsuas yog tau txais 16, 32, lossis daim npav loj dua.
Yog tias koj muaj daim npav, koj tuaj yeem hla mus rau Kauj Ruam 2
Rau kev teeb tsa tshiab los ntawm kos,
Download NOOBS latest from
- Rub cov cuab yeej rau SD Card teeb tsa
-
Txhawm rau format SD Card nkaus xwb: SD Card Formatter
https://www.sdcard.org/downloads/formatter/index.html
-
Rau kev nyeem los ntawm daim npav / sau ntawv rau SD daim npav
https://sourceforge.net/projects/win32diskimager/files/latest/download
-
- Siv uSD adapter rau USB, lossis SD daim npav los txuas rau koj lub PC Windows
- Format SD card, siv SD Card Formatter
- Load NOOBs.zip mus rau SD card, siv win32diskimager,
- Tshem daim npav SD ntawm koj lub cuab yeej
Qhov no zoo ib yam li cov kauj ruam ntawm
Kauj ruam 2: Teeb RPi Installation
Ntxig daim npav SD rau hauv rPi
- Xyuas kom rPi muaj cov vis dis aus tso tawm, Enet, Keyboard, Mouse, thiab Video txuas
- Siv lub zog rau chav tsev
-
Ntawm lub qhov rais teeb tsa, Xaiv OS los nruab (Raspbian tau siv rau qhov piv txwv no)
- Qhov no yuav siv qee lub sijhawm (li 20 feeb)
- Kho lub tebchaws, lus, keyboard …
- Ua ib qho kev hloov tshiab (tau txheeb xyuas ntawm teeb)
-
Tom qab Reboot, ua lwm yam teeb tsa ntawm Raspberry Pi Configuration Dialog
- Hloov kho tus tswv tsev lub npe rau tus nqi uas xav tau
-
Pab kom SSH, VNC, chaw nres nkoj txuas, txuas txuas
Lov tes taw lwm yam khoom
- Tsis muaj kev hloov kho tshiab
- Tsis muaj kev hloov chaw (yuav tsum tau teeb tsa zoo los ntawm kev teeb tsa thawj zaug)
Kauj Ruam 3: Nruab Qhov Software Xav Tau
FIRST - Tua lub qhov rai davhlau ya nyob twg thiab hloov kho rPi distro
sudo apt-tau hloov tshiab
sudo apt-tau nruab dist-upgrade
Qhov thib ob - Rub tawm cov tsev qiv ntawv yooj yim xav tau thiab tsim
sudo apt-tau nruab tsim-qhov tseem ceeb libjpeg8-dev imagemagick libv4l-dev cmake -y
sudo ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h
(Kuv tsis nco qab qhov txuas rau videodev2.h txuas. Nws nyob hauv keeb kwm ntawm kuv qhov kev teeb tsa qub ib xyoos dhau los. Nws zoo li tsis mob rau qhov siv no)
Kawg - Rub tawm-j.webp" />
ua cd
git clone https://github.com/jacksonliam/mjpg-streamer.git cd mjpg-streamer/mjpg-streamer-sim ua sudo ua nruab
Kauj Ruam 4: Xeem Kev Tshaj Tawm
Ntawm lub qhov rais davhlau ya nyob twg, ua cov hauv qab no
/usr/local/bin/mjpg_streamer -i "input_uvc.so -r 1280x720 -d/dev/video0 -f 30 -q 80" -o "output_http.so -p 8080 -w/usr/local/share/mjpg- xov xwm/www"
Saib kwj ntawm rPi
qhib lub brower rau "localhost: 8080/? action = stream"
Saib kwj ntawm koj lub PC
Ntawm rPi, tau txais IP chaw nyob rau chav tsev (ifconfig) (eth0: 192.168.1.36, piv txwv)
Qhib koj lub PC brower rau "https://192.168.1.36:8080/?action=stream"
Kauj ruam 5: Kho rau Autostart
Hloov tshiab ~/mjpg-streamer/mjpg-streamer-experimental/start.sh
Nco ntsoov kab ntawv no tau ntxiv thiab tsis tawm lus:
./mjpg_streamer -i "./input_uvc.so -r HD -f 30" -o "./output_http.so -w./www"
Hloov tshiab /etc/rc.local
Hloov qhov "tawm 0" tom kawg ntawm cov ntawv nrog:
cd/tsev/pi/mjpg-streamer/mjpg-streamer-sim
sudo./start.sh & tawm 0
Rov pib dua raspberry pi thiab rov ua Kauj Ruam 4, txhawm rau txheeb xyuas yam
Kauj Ruam 6: Yeem Tsis Nyob IP Qhov Chaw Nyob
Lub hauv paus DHCP qhov chaw nyob yuav txaus rau koj xav tau.
Koj kuj tseem yuav xav teeb tsa koj tus kheej IP teeb tsa zoo li qub. Kuv kev teeb tsa rau kuv cov cuab yeej kho mob txhais tau tias muaj lub network kaw.
Kuv LAN teeb tsa yog:
- (4 qty) Logitech C920 USB lub koob yees duab RPi
- Txhua RPi txuas nrog qhov hloov pauv uas tsis muaj kev tswj hwm.
- Lub khoos phis tawj nrog OBS Studio tseem txuas rau qhov hloov pauv.
- Txhua qhov chaw nres nkoj no tau teeb tsa rau kuv tus kheej tus IP chaw teeb tsa.
- Ntawm RPi, hauv /etc/dhcpcd.conf, kuv teeb tsa cov chaw no
eth0 ua
qhia 8.11.2.12
routers zoo li qub = 8.11.1.1
wb wl0
qhia 8.11.2.102
routers zoo li qub = 8.11.1.1
Txhawm rau kom tau txais OBS lub suab xa mus rau "ntiaj teb sab nrauv", siv koj lub khoos phis tawj lossis USB Ethernet adapter txhawm rau thawb cov khoom tso tawm rau Facebook, YouTube, Twitch, lossis lwm yam kev pabcuam video server.
Pom zoo:
Tsim Koj Tus Kheej Hauv Is Taws Nem Kev Tswj Video-Streaming Robot Nrog Arduino thiab Raspberry Pi: 15 Cov Kauj Ruam (nrog Duab)
Tsim Koj Tus Kheej Kev Tswj Xyuas Internet-Tshaj Cov Neeg Hlau Nrog Arduino thiab Raspberry Pi: Kuv yog @RedPhantom (aka LiquidCrystalDisplay / Itay), tus menyuam kawm ntawv 14 xyoos los ntawm cov neeg Ixayees kawm hauv Max Shein Junior High School rau Kev Tshawb Fawb Qib Siab thiab lej. Kuv tab tom ua txoj haujlwm no rau txhua tus kom kawm paub thiab qhia tawm! Koj yuav muaj
Tutorial: Yuav Siv ESP32-CAM hauv Video Streaming Web Server: 3 Kauj Ruam
Tutorial: Yuav Siv ESP32-CAM hauv Video Streaming Web Server: Nqe lus piav qhia: ESP32-CAM yog ESP32 Wireless IoT Vision Development Board hauv daim ntawv me me, tsim los siv hauv ntau yam IoT cov haujlwm, xws li cov cuab yeej ntse hauv tsev, kev lag luam wireless tswj, saib xyuas wireless, QR wireless tus cim
Nyob 4G/5G HD Video Streaming Los Ntawm DJI Drone ntawm Tsawg Latency [3 Kauj Ruam]: 3 Kauj Ruam
Nyob 4G/5G HD Video Streaming Los Ntawm DJI Drone ntawm Tsawg Latency [3 Kauj Ruam]: Cov lus qhia hauv qab no yuav pab koj kom tau txais cov yeeb yaj kiab HD zoo nyob los ntawm yuav luag txhua DJI drone. Nrog kev pab los ntawm FlytOS Mobile App thiab FlytNow Web Application, koj tuaj yeem pib tshaj tawm cov vis dis aus los ntawm drone
Raspberry Tank Nrog Web Interface thiab Video Streaming: 8 Cov Kauj Ruam (nrog Duab)
Raspberry Tank Nrog Lub Vev Xaib Interface thiab Video Streaming: Peb tab tom yuav pom li cas kuv tau pom me ntsis WiFi Tank, muaj peev xwm tswj tau lub Vev Xaib Chaw Tswj thiab Kev Tshaj Tawm Video. Vim li no kuv & tau xaiv
Yuav Ua Li Cas Txhim Kho Cov Ntaub Ntawv Tsis Txaus Siab, thiab Rub Tawm Koj Cov Video Video Nyiam Rau Koj Lub PSP Portable: 7 Cov Kauj Ruam
Yuav Ua Li Cas Txhim Kho Cov Ntaub Ntawv Tsis Txaus Siab, thiab Rub Tawm Koj Cov Video Video Nyiam Rau Koj Lub PSP Portable: Kuv siv Media Go, thiab tau ua qee qhov kev dag kom tau txais cov vis dis aus tsis txhawb nqa los ua haujlwm ntawm kuv PSP Qhov no yog txhua yam kuv cov kauj ruam uas kuv tau ua , thaum kuv xub tau txais kuv cov vis dis aus tsis txhawb nqa los ua haujlwm ntawm kuv PSP. Nws ua haujlwm 100% nrog tag nrho kuv cov vis dis aus rau kuv PSP Po