Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Xav Tau thiab Yam Koj Tau Txais
- Kauj Ruam 2: Tau Txais Software thiab Cov Cuab Yeej los Muab rau hauv Sdcard
- Kauj Ruam 3: Hloov kho thiab teeb tsa txhua qhov
- Kauj ruam 4: Kev hloov kho
- Kauj Ruam 5: Yuav Siv Li Cas:
- Kauj Ruam 6: Sau Cov Lus txib kom tso rau hauv Apps
- Kauj Ruam 7: Qee Yam Ntxiv … WEB Interface
Video: Ua Chromecast Zoo li Raspberry Pi Device: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Kuv twb muaj Chromecast v2 (ib puag ncig, USB lo zoo li yog v1, thiab v3 zoo li v2 tab sis nrog G ntawm kuv thiab muaj lub zog cib nrog Ethernet chaw nres nkoj rau nws) thiab kuv nyiam nws, nws lom zem heev los siv thiab yooj yim rau teeb tsa, TAB SIS …
Yog muaj TAB SIS, thaum kuv nyob hauv qhov chaw uas kuv tsis muaj internet nkag mus thiab siv tsis tau kuv cov phiaj xwm phiaj xwm, Kuv siv tsis tau nws los tshaj tawm xov xwm hauv zos los ntawm kuv lub xov tooj lossis ntsiav tshuaj, txawm tias thaum kuv tsis ua tsis xav tau internet txhua, google hauv "kev txawj ntse" ntawm lawv txiav txim siab tsis pub nws txawm tias khau raj yam tsis muaj internet, qhov phem yog tias koj xav tau kom nws ntws
Kuv muaj lub GL-MT300A mini router, me me heev thiab tuaj yeem siv lub xov tooj, lub roj teeb sab nraud lossis lub xov tooj them, kuv siv nws kom muaj kuv Chromecast ua khub nrog nws thiab thaum kuv xav tau internet kuv tsuas yog txuas lub router rau lub xov tooj network lossis yog tias lawv tsuas muaj WiFi, nws txhawb nqa txuas rau qhov ntawd raws li tus neeg siv khoom thiab ua raws li lub router tib lub sijhawm ib yam nkaus, tam sim no qhov teeb meem tseem muaj, tsis muaj internet = tsis muaj chromecast ntawm xov xwm hauv zos rau koj. Nov los hauv kev ua si Raspberry Pi Zero W (W los ntawm Wireless, nws muaj daim npav tsim, * yaay *, Bluetooth ib yam tab sis kuv tsis xav tau: P)
Kauj Ruam 1: Yam Koj Xav Tau thiab Yam Koj Tau Txais
Koj xav tau:
- Raspberry Pi Zero W (kuv nyob hauv rooj plaub acrylic)
- HDMI Cable (ib qho nrog lub hau yas yog qhov zoo kom muaj)
- Lub Hwj Chim Source (lub xov tooj them nyiaj hauv kuv rooj plaub)
- Mini HDMI (txiv neej) kom puv HDMI (poj niam) adapter (los nrog PI)
- SD daim npav ntawm 8Gb lossis ntau dua (kuv siv 16Gb los ntawm Medion)
- SD daim npav nyeem ntawv (Kuv tau txais kuv li khoom plig nrog lub hwj chim txhab nyiaj los ntawm Hama)
- Kev sib txuas hauv Is Taws Nem thiab PC kom rub "Raspbian Stretch Lite"
- Etcher Portable (sd daim npav daim duab sau ntawv) -> tau Etcher rau Windows x86 (32 -ntsis) (Portable) yuav ua haujlwm ntawm x64 ib yam nkaus
- Rub tawm Putty los ntawm kab ntawv txuas lossis google rau nws
Koj yuav tau txais:
Lub hom phiaj pov rau cov vis dis aus los ntawm cov kev pabcuam online zoo li YouTube thiab xov xwm hauv zos (Yees duab, Suab thiab Duab) rau Android (Raspicast), lub qhov rais thiab ib qho kev ua haujlwm uas txhawb nqa SSH app app
Nws tsis xav tau internet yog tias cov xov xwm uas koj xa mus rau nws tau khaws cia ntawm koj lub cuab yeej lossis qee qhov hauv network hauv zos
Koj tuaj yeem tau txais kev tswj chaw taws teeb ntawm lub hom phiaj xws li rov ua dua, xaiv lub hauv paus, ua si/ncua, ntim, tso tseg. (Raspberry SSH lossis SSH Button, Putty)
Koj tau txais lub sijhawm khau raj nrawm heev ntawm lub cuab yeej, rau Raspberry Pi Zero, ncig 10 vib nas this
Koj tau txais cov ntawv ntsa qub thiab ib txoj hauv kev los tso saib cov ntawv ntsa tsis raug, los ntawm kev nias lub pob uas tsis siv qhov chaw ntawm koj lub cuab yeej thiab nyob ntawd kom txog thaum rov pib dua. (nws tuaj yeem hloov pauv mus tas li, kuv yuav qhia tom qab li cas)
Nws lees txais ntau hom kwj (xws li HTTP, HTTPS, RTSP) thiab nrog kev pab ntawm lub khoos phis tawj, lub khoos phis tawj hauv kuv kis, Sopcast, Acestream ntxiv rau cov xov xwm hauv zos nrog cov ntawv sau sab nrauv (zoo li srt, sub)
Koj tseem tuaj yeem muab cov ntaub ntawv hla HTTP khaws cia hauv koj lub khoos phis tawj, nrog kev pab ntawm nqa tau, ib leeg cov ntaub ntawv, web server rau tus neeg ua si
Muaj ntau ntxiv los nrhiav pom, ntxiv lossis tshem tawm, nyob ntawm koj xav tau
Kauj Ruam 2: Tau Txais Software thiab Cov Cuab Yeej los Muab rau hauv Sdcard
Rub tawm:
Tam sim no koj mus rau https://www.raspberrypi.org/downloads/raspbian/ thiab rub tawm "Raspbian Stretch Lite"
Mus rau https://www.balena.io/etcher/ thiab tau txais Etcher rau Windows x86 (32-ntsis) (Portable) (muaj linux thiab mac version ib yam nkaus)
Rub tawm putty los ntawm
Tam sim no koj muaj txhua yam no peb yuav pib Etcher thiab ntxig daim npav rau hauv daim npav nyeem ntawv thiab nyeem hauv lub computer: P
Hauv Etcher nyem xaiv cov duab thiab xaiv rub tawm cov ntawv zip (rau kuv thaum lub sijhawm kuv sau qhov no yog "2018-11-13-raspbian-stretch-lite.zip", tom qab ntawv xaiv daim npav nyeem los ntawm cov npe tso tawm thiab tsawg kawg nyem nyem, nws yuav thov kev tso cai Tus Neeg Siv Nyiaj Txiag Tswj (UAC), tso cai rau nws, nws xav tau lub cev nkag mus rau sdcard hauv hom tshwj xeeb los sau cov duab. Thaum ua tiav tshem nws, nws twb raug tshem tawm los ntawm Etcher, thiab muab nws rov qab, yuav muaj qhov muab faib khau raj ntawm ~ 50Mb thiab koj yuav tau txais kev ceeb toom rau format "unformatted partition" TSIS TXHOB FORMAT IT, windows tsis tuaj yeem nyeem linux partitions thiab muaj kev faib ua ntu 4.
Koj yuav tsum ua 2 cov ntaub ntawv hauv kev faib ua khau raj.
ib daim ntawv tshiab yam tsis txuas ntxiv hu ua ssh
lwm qhov hu ua wpa_supplicant.conf
Cov ntsiab lus ntawm "wpa_supplicant.conf" yog raws li hauv qab no
lub teb chaws = GB
ctrl_interface = DIR =/var/run/wpa_supplicant GROUP = netdev update_config = 1 network = {ssid = "YOUR_WIFI_SSID" psk = "YOUR_SUPER_SECRET_PASSWORD"}
Tam sim no ntsaws nws hauv koj li Raspberry Pi thiab txuas HDMI cov cuab yeej tso tawm (aka TV, Projector, thiab lwm yam) thiab kom muaj zog.
Kab kawg ua ntej tus ID nkag mus nws yuav pom tus IP. (Raws li txoj cai ntawm tus ntiv tes xoo nws zoo los ua qhov chaw nyob faib rau ntawm koj lub router, saib cov duab ntawm Linksys router.
Kauj Ruam 3: Hloov kho thiab teeb tsa txhua qhov
Hloov kho koj qhov system:
sudo apt-tau hloov tshiab
sudo apt-tau hloov kho sudo apt-tau hloov tshiab sudo rpi-hloov tshiab
Tom qab txhua qhov ua tiav nws yuav rov pib dua thiab koj yuav muaj lub qhov rai tso rau hauv uas tsis ua haujlwm, kaw nws thiab pib dua nrog tib cov ntaub ntawv los ntawm cov kauj ruam dhau los.
Tam sim no peb yuav nruab omxplayer, tsis tas yuav suav nws los ntawm qhov chaw yog ib feem ntawm Raspbian cov chaw cia khoom.
sudo apt-tau nruab omxplayer fonts-freefont-ttf
Kuv xav kom muaj txoj hauv kev los hloov lub HDMI chaw nres nkoj ntawm kuv lub TV, nrog kev pab ntawm kuv Txiv Kab Ntxwv, zoo li kuv xav pov ib yam dab tsi rau nws thiab tsis xav siv lub chaw taws teeb hloov qhov chaw mus rau qhov uas nws txuas nrog. Muaj ib txoj hauv kev los ua qhov ntawd los ntawm Pi thiab nrog kev pab los ntawm cov lus txib los ntawm kuv app xaiv. Zaj dab neeg luv luv ua cov hauv qab no:
sudo apt-tau nruab cec-utils
Tam sim no nws ua raws tus duab framebuffer tus saib hu ua fbi (muaj qhov hloov kho dua tshiab hu ua fim ib yam)
sudo apt-tau nruab fbi
Samba txhawb nqa, windows sib koom rau kev nkag mus thiab muaj cov ntawv sib koom.
sudo apt-tau nruab samba samba-common-bin
cd /home /pib
sudo mkdir -m 1777/tsev/pi/qhia tawm
Kho cov ntaub ntawv teeb tsa samba
sudo nano /etc/samba/smb.conf
ntxig cov kab hauv qab no thaum kawg (qhov pib nrog # yog cov lus pom thiab tuaj yeem tsis quav ntsej)
[qhia tawm]
Tawm tswv yim = Pi sib qhia cov ntaub ntawv Path =/home/pi/share Browseable = yes Sau tau = Yog tsuas yog qhua = tsis tsim daim npog ntsej muag = 0777 daim npog ntsej muag = 0777 Pej Xeem = yog qhua ok = yog
Thaum kawg, txuag nws; siv nano hauv davhlau ya nyob twg:
nias "Ctrl+X" kom kaw cov ntaub ntawv, tom qab ntawv "Y" kom paub meej tias txuag, tom qab ntawv "Nkag mus" kom txuag cov ntaub ntawv raws li lub npe cov ntaub ntawv raug.
Tam sim no teeb tus password rau samba tib yam li rau tus neeg siv pi (default: raspberry)
sudo smbpasswd -a pib
pib dua qhov kev pabcuam samba
sudo /etc/init.d/samba rov pib dua
Tam sim no koj muaj lub hauv paus, kev kho raws li hauv qab no.
Kauj ruam 4: Kev hloov kho
ua kom lub vijtsam txaws tso tawm thaum pib hloov lub vijtsam dub nrog cov ntawv dawb.
Rub tawm WinSCP thiab nkag mus siv tib tus IP, tus siv thiab tus lej nkag los ntawm SSH/Putty tus ID nkag mus.
Mus/tsev/pi/thiab xa cov duab muab rau hauv cov ntawv zip ntawm cov kauj ruam no, tom qab unziping. Ces tawm mus. Cov duab yog 1080p raws li kev daws teeb meem.
ntaus cov lus txib hauv qab no hauv putty:
nano ~/.bashrc
nqes mus rau kab kawg nrog xub tuav cov kab hauv qab no muaj (cov uas pib nrog # yog cov lus pom thiab tuaj yeem tsis quav ntsej)
# fifo rau cov lus txib hla ssh rau omxplayer
mkfifo/tmp/cmd # txaws npo los hloov lub vijtsam dub thiab ntawv sudo/usr/bin/fbi -noverbose -a -T 1 /home/pi/splashscreen.jpg
Thaum kawg, txuag nws; siv nano hauv lub davhlau ya nyob twg: nias "Ctrl+X" txhawm rau kaw cov ntawv, tom qab ntawd "Y" kom paub meej tias txuag, tom qab ntawv "Nkag mus" kom txuag cov ntaub ntawv raws li lub npe cov ntaub ntawv raug.
Tam sim no peb ua tus neeg siv 'pi' pib nkag mus ntawm lub khau raj, peb xav tau qhov no los tso saib cov duab, nws tuaj yeem ua tiav hauv txoj hauv kev yam tsis tau pib nkag mus tab sis nws nyuaj dua thiab tuaj yeem ua phem sai los ntawm ib qho kev ua yuam kev nkaus xwb.
sudo raspi-teeb tsa
- Xaiv khau raj xaiv
- Xaiv Desktop/CLI
- Xaiv Console auto-login rau CLI
Tam sim no peb yuav rov pib dua thiab peb tau ua tiav nrog tus pi thiab yuav ua qhov zoo rau kev ua si.
sudo rov pib dua
Lub tswv yim ntawm kuv txoj haujlwm yog tias feem ntau ntawm cov khoom tau ua tiav hauv SSH tus neeg siv khoom raws li nws tuaj yeem tsim kho thiab hloov pauv qhov nws xav tau.
Kauj Ruam 5: Yuav Siv Li Cas:
Kuv yuav qhia cov lus txib thiab lawv ua dab tsi thiab yuav teeb tsa cov software ntxiv li cas los ntawm cov khoom siv streaming.
Kuv siv 3 Android apps thiab 4 PC apps rau kuv lub hom phiaj tab sis koj siv qhov koj xav tau los ntawm qhov kuv yuav qhia koj cov ore koj tuaj yeem muaj nws txhua yam thiab tseem ntxiv ntau ntxiv rau nws.
• YouTube: hauv Android siv Raspcast, hauv PC siv lub xaib zoo li https://www.onlinevideoconverter.com/ lossis
www.youtubnow.com/ lossis https://youtubemp4.to lossis zoo dua https://mpgun.com/youtube-to-mp4.html?yid=hTJAnWWK7YQ (hTJAnWWK7YQ yog youtube id) koj yuav tau txais txuas ncaj qha rau xov xwm uas tuaj yeem ua si los ntawm cov lus txib hauv qab no:
omxplayer -o hdmi "https://sv89.onlinevideoconverter.com/download?file=f5a0d3c2e4d3g6h7"/tmp/cmd
Ntxiv < /tmp /cmd yuav pab tswj chaw taws teeb thiab; ncha. > /tmp /cmd yuav pib ua si kwj lossis lwm yam nws yuav tos kom tau txais kev txib los ntawm tsib feeb. -O hdmi qhov ntsuas ntawm omxplayer yuav tso tawm rau HDMI video THIAB lub suab mus rau ntawd, qhov no yog qhov tseem ceeb rau cov tib neeg uas siv qhov sib txawv loj dua ntawm Raspberry Pi Zero W.
Tam sim no kuv qhia koj yuav teeb tsa Raspicast rau Android li cas, yog pub dawb thiab tsis muaj kev tshaj tawm.
Nruab Raspicast los ntawm google play store, thiab teeb tsa nws zoo li hauv cov duab muab.
play.google.com/store/apps/details?id=at.huber.raspicast
• Sopcast: pib Sopcast hauv PC xaiv cov channel thiab thaum koj pom cov duab muab cov lus txib hauv qab no
Tus IP 192.168.1.6 yog IP chaw nyob ntawm koj lub PC. LAPTOP TSIS YOG IB LUB PI, hauv kuv tus piv txwv Pi muaj 192.168.1.9 thiab lub khoos phis tawj yog 192.168.1.6
omxplayer -o hdmi "192.168.1.6:8902" /tmp /cmd
• AcePlayer: pib nws, xaiv cov channel thiab… muaj ib zaug teeb tsa koj xav hloov pauv kom nws ua haujlwm, mus rau Cov Cuab Yeej -> Nyiam -> Thick All, Stream output -> Default stream output chain, where you input the following
#duplicate {dst = "http {mux = ts, dst =: 8902/tv.asf}", dst = display}
Nyem Txuag. Tam sim no cov lus txib uas yuav qhia koj cov kwj deg, tom qab koj pib nws ntawm AcePlayer ofc:
omxplayer -o hdmi "https://192.168.1.6:8902/tv.asf"/tmp/cmd
• Casting los ntawm PC cov ntaub ntawv Koj xav tau Putty, Zervit, VLC teeb tsa (tsis nqa tau)
Zervit koj tau txais los ntawm
1st koj yuav tsum tso zervit.exe rau hauv daim nplaub tshev nrog cov ntaub ntawv xov xwm uas koj xav xa mus rau koj li Raspberry PI, tom qab ntawd khiav nws, nws yuav nug qee cov lus nug. "Tus naj npawb chaw nres nkoj kom mloog (80):" hom 80 thiab nkag mus "Txais cov npe teev npe [Y/N]:" ntaus y thiab nkag mus tam sim no qhib qhov browser thiab ntaus hauv koj LAN IP chaw nyob https://192.168.1.6 koj yuav pom tag nrho cov ntaub ntawv tshaj tawm nyob ntawd, luam qhov txuas mus rau ib qho ntawm nws nrog txoj nyem -> luam qhov txuas, tom qab ntawd ssh nrog putty thiab ntaus
omxplayer -o hdmi "https://192.168.1.6/Movie.mp4"/tmp/cmd < - lossis xijpeem koj cov ntaub ntawv xov xwm hu ua
rau cov ntaub ntawv nrog cov ntawv me me tso cov npe, tib lub npe raws li cov vis dis aus nrog txuas ntxiv srt hauv lub qhov rais sib qhia cov ntawv ntawm raspberry
RASPBERRYPI / qhia tawm
los yog
192.168.1.9 / sib qhia
qhov twg 192.168.1.9 yog tus ip ntawm koj cov txiv pos.
hauv koj lub tsev ntawv tais ceev tseg (/home/pi)
winscp nrog pi: rasspberry thiab xa cov ntawv nab nab hu ua 'omxplayersub.py' nrog cov ntsiab lus hauv qab no:
ntshuam sub txheej txheem
ntshuam sys ntshuam urllib2 yog (len (sys.argv)! = 2): luam tawm "Tsis muaj cov ntaub ntawv npe tshwj xeeb" txiav tawm () file = sys.argv [1] subfile = "/home/pi/share/"+ file.split ("/") [-1] subfile = subfile [: -3] + "srt" subfile = urllib2.unquote (subfile) subprocess. Popen ('omxplayer -o hdmi -r --font "/home/pi/Segoe UI, Nruab Nrab.ttf "--italic-font"/home/pi/Segoe UI, Italic.ttf "--align center ' +'" ' +file +' "' +' --subtitles ' +'" ' + subfile +'"', plhaub = Tseeb)
tam sim no upload qhov no nrog Segoe UI thiab FreeSans tsev neeg fonts rau koj lub tsev ntawv (/tsev/pi) Hloov cov npe ntawv rau hom font uas xav tau thiab yog tias xav tau ntxiv-font-size loj 55 (default: 55) tom qab-teeb tsa nrog qhov loj me.
thiab siv cov lus txib hauv qab no los ua si:
nab hab sej omxplayersub.py "https://192.168.1.6/Defiance%20S01E02.mp4" </tmp/cmd <- lossis xijpeem koj cov ntaub ntawv xov xwm hu ua
Yog tias koj tsis pom nws ntawm lub vijtsam ua si, muaj teeb meem sib xws, ntawm qee cov ntaub ntawv h264 cov ntaub ntawv tau nthuav tawm los ntawm h264 -omx li -99, yog tsis zoo 99, thiab nws yuav tsis ua si, qhov no thiab thaum cov ntaub ntawv nrog cov ntawv me me sab nraud koj yuav tsum tau siv VLC kwj xaiv cov ntawv/cov ntaub ntawv, xaiv HTTP, cia qhov chaw nres nkoj pib, h.264/AAC (TS), khaws cov nplai rau 1, Hloov -coding - Teeb tsa cov ntawv tuab, ntaus lub pob nyem thiab cia nws khiav rau qee lub vib nas this.
omxplayer -o hdmi "https://192.168.1.6:8080/"/tmp/cmd < - nws yuav pib ua si
Peb tab tom ua trans-coding, nws yuav ploj me ntsis ntawm kev tso saib thiab CPU yuav ua haujlwm ntau dua hauv PC tab sis nws ua haujlwm.
CEC - Tswj
Qhib TV
ncho on 0 | cec -neeg -s -d 1
Tua TV tawm
ncha standby 0 | cec -neeg siv -s -d 1
Hloov HDMI Source
HDMI1
ncha "tx 4F: 82: 10: 00" | cec -neeg -s -d 1
HDMI2
ncha "tx 4F: 82: 20: 00" | cec -neeg siv -s -d 1
HDMI3
ncha "tx 4F: 82: 30: 00" | cec -neeg -s -d 1
HDMI4
ncha "tx 4F: 82: 40: 00" | cec -neeg -s -d 1
Zoo li koj pom tus thib peb byte hauv txoj kab hex peb ncha yog tus lej ntawm HDMI txuas los teeb tsa.
Kauj Ruam 6: Sau Cov Lus txib kom tso rau hauv Apps
Koj twb tau teeb tsa Raspicast ntawm cov kauj ruam dhau los, tam sim no koj yuav tsum xaiv ntawm Raspberry SSH (nws tau them ib qho) lossis SSH Khawm (nws dawb thiab kuv nyiam nws ntau dua, tab sis kuv twb tau yuav Raspberry SSH ua ntej kom pom qhov no).
Raspberry SSH
play.google.com/store/apps/details?id=uk.co.knowles_online.raspberryssh
Daim ntawv thov no, lossis khawm SSH, xav tau yog tias koj xav tau cov khoom los ntawm PC thiab xav tau kev tswj chaw taws teeb ntawm lub cuab yeej hauv xov tooj ntawd, nws tuaj yeem siv tau yam tsis muaj nws hla putty los ntawm PC.
Kev teeb tsa rau ob qho tib si nyob ze tib yam.
Khawm 1 Btn Text: Reboot
Btn Cmd: Peb
sudo rov pib dua
Khawm 2
Btn Ntawv: Poweroff
Btn Cmd: Peb
sudo poweroff ua
Khawm 3
Btn Cov Ntawv: HDMI1
Btn Cmd: Peb
ncha "tx 4F: 82: 10: 00" | cec -neeg -s -d 1
Khawm 4
Btn Cov Ntawv: HDMI2
Btn Cmd: Peb
ncha "tx 4F: 82: 20: 00" | cec -neeg siv -s -d 1
Khawm 5
Btn Cov Ntawv: HDMI3
Btn Cmd: Peb
ncha "tx 4F: 82: 30: 00" | cec -neeg -s -d 1
Khawm 6
Btn Text: Tua omxplayer
Btn Cmd: Peb
sudo killall -s 9 omxplayer.bin
Khawm 7
Btn Cov Ntawv: Sopcast
Btn Cmd: Peb
omxplayer -o hdmi "https://192.168.1.6:8902"/tmp/cmd
Khawm 8
Btn Cov Ntawv: AcePlayer
Btn Cmd: Peb
omxplayer -o hdmi "https://192.168.1.6:8902/tv.asf"/tmp/cmd
Khawm 9
Btn Cov Ntawv: VLC Kwj
Btn Cmd: Peb
omxplayer -o hdmi "https://192.168.1.6:8080/"/tmp/cmd
Khawm 10
Btn Cov Ntawv: Ua Si/Ncua
Btn Cmd: Peb
ncha -n p> /tmp /cmd
Khawm 11
Btn Cov Ntawv: Ntim +
Btn Cmd: Peb
ncha -n +> /tmp /cmd
Khawm 12
Btn Cov Ntawv: Ntim -
Btn Cmd: Peb
ncha -n -> /tmp /cmd
Khawm 13
Btn Text: Tawm Omxplayer
Btn Cmd: Peb
ncha -n q> /tmp /cmd
Khawm 14
Btn Text: Random Wallpaper
Btn Cmd: Peb
wget -O DELME.jpg https://source.unsplash.com/random/1920x1080 &>/dev/null; sudo killall fbi &> /dev /null; sudo fbi -noverbose -a -T 1 DELME.jpg &> /dev /null; pw 1; rm DELME.jpg
Khawm 15
Btn Text: Default Wallpaper
Btn Cmd: Peb
sudo killall fbi &> /dev /null; sudo fbi -noverbose -a -T 1 splashscreen-j.webp
Khawm 16 Btn Text: Slideshow Wallpaper
Btn Cmd: Peb
cd/tsev/pi/swb//; sudo killall fbi &> /dev /null; sudo fbi -noverbose -a -T 1 -t 5 *-j.webp
-t 5 rau 5 vib nas this
Khawm 17 Btn Text: SUBTITLE HTTP PLAY (Kho kom raug)
Btn Cmd: Peb
nab hab sej omxplayersub.py "https://192.168.1.6/Some%20video%20with%20subtitle.mp4" </tmp/cmd
Thaum kho qhov hloov pauv "https://192.168.1.6/Some%20video%20with%20subtitle.mp4" nrog url ntawm cov ntaub ntawv los ntawm lwm qhov chaw lossis hloov nws mus rau qee yam xws li/home/pi/share. Subtitle xav tau hauv/tsev/pi/qhia tawm, ib txwm.
Freeware lwm txoj rau Raspberry SSHhttps://play.google.com/store/apps/details? Id = com.pd7l.sshbutton & hl = en_US
Ua haujlwm zoo ib yam li Raspberry SSH, tsis muaj kev tshaj tawm, xim tsawg dua thiab txhua lub khawm nyob ntawm ib kab tsis yog 2 tab sis nws dawb thiab ua haujlwm zoo.
Tam sim no thaum kawg qee yam txawv txawv, tshaj tawm dab tsi uas koj sau nrog koj lub xov tooj nyob rau lub sijhawm tiag tiag, muaj qee lub sijhawm qeeb qeeb, rau koj lub TV.
IP WEBCAMERA PRO (them nyiaj)
play.google.com/store/apps/details?id=com.pas.webcam.pro
Pib tshaj tawm thiab siv cov lus txib hauv qab no los pov rau TV
omxplayer -o hdmi rtsp: //192.168.1.8: 8080/h264_ulaw.sdp
RTSP Lub Koob Yees Duab Server (pub dawb)
play.google.com/store/apps/details?id=com.miv.rtspcamera&hl=en&rdid=com.miv.rtspcamera
Ua tib yam li qhov them nyiaj tab sis pub dawb, tsis muaj kev tshaj tawm
omxplayer -o hdmi "rtsp: //192.168.1.8: 5554/lub koob yees duab"
Lub koob yees duab nquag - rtsp: // (ntaus IP chaw nyob): 5554/lub koob yees duab Tom qab lub koob yees duab - rtsp: // (ntaus IP chaw nyob): 5554/sab nraum qab lub koob yees duab - rtsp: // (ntaus ntawv IP chaw nyob): 5554/pem hauv ntej
Lub Koob Yees Duab URL Parameters:
res Kev daws teeb meem - dav (tus lej) x qhov siab (tus lej)
fps Ncej ib ob - fps (tus lej) mic Pab/Disable microphone - rau (hlua) lossis tawm (hlua)
Piv txwv: rtsp: // (ntaus IP chaw nyob): 5554/rov qab? Res = 640x480 & fps = 10 & mic = on
Kauj Ruam 7: Qee Yam Ntxiv … WEB Interface
Nruab nws nrog ib kab nkaus xwb los ntawm git
wget https://raw.githubusercontent.com/brainfoolong/omxwebgui-v2/master/install.sh && clear && sh install.sh
Default user interface in on port 4321, nws xav tau tsis muaj webserver thiab ua haujlwm tag nrho hauv qab php
Yuav tsum:
sudo apt-tau nruab php-cli
sudo apt-tau nruab php-mbstring sudo apt-tau nruab php5-cli sudo apt-tau nruab php5-mbstring
Rub tawm/Clone/Unpack tag nrho tsab ntawv mus rau daim nplaub tshev uas koj nyiam. Teem chmod tseeb rau cov ntawv nrog
chmod +x *.sh
Tsim php webserver mloog ntawm chaw nres nkoj 4321, koj tuaj yeem hloov chaw nres nkoj mus rau yam koj xav tau. Thov tsis txhob siv apache lossis lwm tus neeg rau zaub mov kom khiav cov ntawv php, nws yuav zaum tsis ua haujlwm.
php -S 0.0.0.0.4321 -t/tsev/pi/omxwebgui>/dev/null 2> & 1 &
Qhib lub vev xaib nrog https://192.168.1.9:4321 (qhov twg 192.168.1.9 yog raspberry pi IP)
Txhawm rau pab kom pib rov pib dua tsuas yog ntxiv kab hauv qab no rau koj crontab. Ua qhov no nrog tib tus neeg siv uas koj xav tau los ua cov vis dis aus. Tsis xav tau sudo. Ntxiv cov kab hauv qab no rau crontab nrog crontab -e kom pib qhov yooj yim php webserver ntawm reboot.
crontab -e
tam sim no ntxiv nrog
@reboot php -S 0.0.0.0.4321 -t omxwebgui> /dev /tsis muaj 2> & 1 &
Ntxiv cov ntaub ntawv hauv kev teeb tsa, tsuas yog cov tswv hauv zos lossis cov duab qhia chaw thiab ofc cov kwj tuaj yeem muab ntxiv.add/home/pi/qhia rau cov ntawv luv luv ib yam nkaus thiab yog tias xav tau pab txhim kho rau 2x rov ua dua thiab tsis muaj suab kab.
Pom zoo:
ZOO ZOO Alpha-numeric ZOO TSHAJ: 7 Kauj Ruam (nrog Duab)
ZOO ZOO Alpha-numeric DISPLAY: Muaj ob peb txoj kev xaiv yog tias koj xav tau cov zaub uas tuaj yeem pom los ntawm thoob plaws chav, tso saib loj. Koj tuaj yeem ua ib qho zoo li kuv 'sijhawm sib npaug' lossis 'leds ntawm iav' tab sis qhov no yuav siv li 40 teev ntawm kev ua haujlwm nkees. Yog li ntawm no yog YOOJ YIM los ua cov zaub loj. Qhov
DIY Ntev Nyob Zoo Cov Phooj Ywg Zoo: 4 Kauj Ruam (nrog Duab)
DIY Ntev Nyob Zoo Cov Phooj Ywg Zoo: Kuv tau ua lub teeb pom kev zoo nyob deb hu ua " Tus Phooj Ywg Zoo " teeb. Qhov ntawd tsuas yog txhais tau tias lawv tau khaws cia ua ke rau xim tam sim no ntawm lwm lub teeb. Yog li yog tias koj yuav hloov ib lub teeb ntsuab, sai tom qab lwm lub teeb yuav tig ntsuab
Renegade-i (Programmable IC Tester Uas Zoo Li Zoo Li Qhov Tseeb): 3 Cov Kauj Ruam (nrog Duab)
Renegade-i (Programmable IC Tester Uas Xav Zoo Li Qhov Tiag): MILLION DOLLAR DREAM.Koj puas tau npau suav tias koj muaj koj tus IC tester hauv tsev? Tsis yog lub cuab yeej uas tuaj yeem sim IC, tab sis lub tshuab "programmable" uas zoo li yog ib yam khoom lag luam ntawm cov neeg ua si loj tshaj plaws hauv kev lag luam semicon xeem, ua tiav
Raspberry Pi NAS Uas Zoo Li Zoo Li NAS: 13 Cov Kauj Ruam (nrog Duab)
Raspberry Pi NAS Uas Zoo Li Zoo Li NAS: Vim Li Cas Raspberry Pi NASWell, Kuv tau tshawb nrhiav qhov chaw zoo nkauj tab sis txuag Raspberry Pi NAS los ntawm internet thiab kuv pom tsis muaj dab tsi. Kuv tau pom qee qhov NAS tsim nrog Raspberry Pi tau glued rau ntoo raws li tab sis qhov ntawd tsis yog qhov kuv xav tau. Kuv xav
ASS Device (Anti-Social Social Device): 7 Kauj Ruam
ASS Device (Anti-Social Social Device): Hais tias koj yog tus neeg zoo uas nyiam nyob ib puag ncig tib neeg tab sis tsis nyiam lawv los ze heev. Koj kuj yog cov neeg txaus siab thiab muaj lub sijhawm nyuaj hais tias tsis yog rau tib neeg. Yog li koj tsis paub yuav qhia lawv li cas kom thim rov qab. Zoo, nkag mus - ASS Device! Y