Tutti i passi for every configurare l’autenticazione a thanks fattori (2FA) for every l’accesso remoto by the use of SSH al Raspberry Pi.
Il film è for each “puro divertimento” ma i passi mostrati sono quelli da compiere per poter abilitare l’autenticazione SSH for every l’utente “pi” con codice di riconoscimento a thanks fattori by way of app su smartphone.
» PREREQUISITI
– Obtain Raspberry Pi OS “Complete”: https://www.raspberrypi.org/downloads/raspberry-pi-os/
– Scriverlo su MicroSD ed inserirla nel Pi
– Collegare mouse e tastiera, cavi ethernet (opzionale) e alimentazione
– Collegare il Raspberry Pi commercial Internet
– Aggiornare il sistema operativo
Action1: installare i pacchetti e le librerie for each la compilazione
– sudo apt put in construct-important checkinstall cmake git libmbedtls-dev libasound2-dev libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev libjack-jackd2-dev libjansson-dev libluajit-5.1-dev libpulse-dev libqt5x11extras5-dev libspeexdsp-dev libswresample-dev libswscale-dev libudev-dev libv4l-dev libvlc-dev libx11-dev libx11-xcb1 libx11-xcb-dev libxcb-xinput0 libxcb-xinput-dev libxcb-randr0 libxcb-randr0-dev libxcb-xfixes0 libxcb-xfixes0-dev libx264-dev libxcb-shm0-dev libxcb-xinerama0-dev libxcomposite-dev libxinerama-dev pkg-config python3-dev qtbase5-dev libqt5svg5-dev swig
– wget http://ftp.debian.org/debian/pool/non-free/f/fdk-aac/libfdk-aac2_2..1-1_armhf.deb
– wget http://ftp.debian.org/debian/pool/non-cost-free/f/fdk-aac/libfdk-aac-dev_2..1-1_armhf.deb
– sudo dpkg -i libfdk-aac2_2..1-1_armhf.deb
– sudo dpkg -i libfdk-aac-dev_2..1-1_armhf.deb
Move2: compilare OBS Studio (può volerci un po’ di tempo…)
– sudo git clone –recursive https://github.com/obsproject/obs-studio.git
– cd obs-studio
– sudo mkdir create
– cd construct
– sudo cmake -DUNIX_Composition=1 -DCMAKE_Install_PREFIX=/usr ..
– sudo make -j4
– sudo make put in
Action3: creare uno script di avvio for every il Raspberry Pi 4 (così da evitare errori)
– cd ~
– nano obs.sh
– scrivere il codice:
#!/bin/bash
MESA_GL_Version_OVERRIDE=3.Three obs
– uscire con: ctrl+x, y, invio
Step4: verify time!
– avviare OBS Studio e configurarlo!
[Soundtrack by Various Artists released under Creative Commons]
#gon_60s #raspberrypi #OBS #sudio #livestreaming #streaming #Youtube #Twitch
SEGUIMI SU
» Website: http://geekonerd.xyz
» YouTube Area people: https://www.youtube.com/geekonerd/group
» Canale Telegram: https://telegram.me/geekonerd_channel
» Telegram: https://telegram.me/geekonerd
» Twitter: https://twitter.com/geekonerd
» Instagram: https://instagram.com/geekonerd
supply
Avete mai desiderato mandare in live streaming su YouTube o Twitch il vostro Raspberry Pi? Beh, sul Raspberry Pi 4 (con 4GB di RAM) semplicemente compilando ed installando OBS Studio è possibile!
Hi. Very nice ! But I have a problem running the cmake :
pi@raspberrypi:~/obs-studio/build $ sudo cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
— OBS_VERSION: 26.1.2-211-g9da6fc67c
— No Native SSE2 SIMD Support – Using SIMDE
— Scripting: Luajit supported
— Scripting: Python 3 supported
— Using system Jansson library
— XCB[XCB]: Found component XCB
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Wayland (missing: WAYLAND_LIBRARIES WAYLAND_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindWayland.cmake:76 (find_package_handle_standard_args)
libobs-opengl/CMakeLists.txt:55 (find_package)
— Configuring incomplete, errors occurred!
See also "/home/pi/obs-studio/build/CMakeFiles/CMakeOutput.log".
Do you have any idea ? I followed every steps. Thanks
quando compilo
sudo cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
sudo make -j4
sudo make install
mi ridà una errore:
— OBS_VERSION: 26.1.2-200-g848395f32
— No Native SSE2 SIMD Support – Using SIMDE
— Scripting: Luajit supported
— Scripting: Python 3 supported
— Using system Jansson library
— XCB[XCB]: Found component XCB
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Wayland (missing: WAYLAND_LIBRARIES WAYLAND_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindWayland.cmake:76 (find_package_handle_standard_args)
libobs-opengl/CMakeLists.txt:55 (find_package)
— Configuring incomplete, errors occurred!
See also "/home/pi/obs-studio/build/CMakeFiles/CMakeOutput.log".
è possibile che nella build manchi un file o c'è qualche errore di compilazione?
non riesco a fare copia e incolla dalla descrizione perché YouTube l'accorcia, hai una pagina web ?
Sadly it's only 853×480 :/
Hi! This is exactly what I am looking for!
During STEP 1 I encountered the problem but don't know how to solve it:
The following packages have unmet dependencies:
libpulse-dev : Depends: libpulse0 (= 12.2-4+deb10u1) but 12.2-4+deb10u1+rpi1 is to be installed
Depends: libpulse-mainloop-glib0 (= 12.2-4+deb10u1) but it is not going to be installed
Can you give me a hand please?
Hello! I installed OBS following your instructions, after running the obs.sh script, the error “Failed to initialize video. Your graphics processor may not be supported or you may need to update your graphics drivers” and OBS will not start
Hello, I installed it like you did and when I open the OBS, the window is bigger than my Screen, and all the fonts seems to be bigger than normal. I cant reach some buttons that are on the bottom of the windows for example. Do you know how can I change the window Size of OBS? Thanks
So you think we can stream 25/30p at 1080 with a real camera now?
Ok I see the issue: at step 2 it lacks two points (- sudo cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..) that's typo error I guess
I think there's an error: if you try to execute cmake from build directory (cd build) it didn't found the needed CMakeList.txt to compile
Devo per forza provare anche questa.
Con OBS com'è la temperatura e il consumo risorse?