Comments (11)
I tried the VLC fix above with Buster and I still can't get rpisurv to install. Running a Raspberry Pi 4.
Edit:
Issue #167 - "The Raspberry Pi 64bit OS does not seem to support mmal for VLC."
with the response:
"Just use Raspberry Pi OS Full (Legacy) 32 bit ?"
Gave it a go, installed the 32bit Buster and it worked first time, no issues. Didn't need to do the fix above either.
Installation worked as expected with no errors.
It took me a while to find the Buster image as it's so old now, if it helps anyone, I downloaded Buster from here (note this is the lite version): https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/
from rpisurv.
I was finally able to get this working based on this comment on the rpi forums: https://forums.raspberrypi.com/viewtopic.php?p=2014202#p2014202.
From what I understand, the pi normally looks for updates from both archive.raspberrypi.org and raspbian.raspberrypi.org. The problem is, the version of vlc from raspbian.raspberrypi.org doesn't have mmal support, so if it uses that one then rpisurv won't install/run. The workaround is to make sure it always uses the version from archive.raspberrypi.org instead, for both vlc and libvlc.
Create /etc/apt/preferences.d/vlc
with the following:
Package: vlc*
Pin: origin "archive.raspberrypi.org"
Pin-Priority: 500
Package: libvlc*
Pin: origin "archive.raspberrypi.org"
Pin-Priority: 500
Package: vlc*
Pin: origin *
Pin-priority: -1
Package: libvlc*
Pin: origin *
Pin-priority: -1
If you already have vlc/libvlc installed then you'll need to remove and reinstall them:
sudo apt remove vlc* libvlc*
sudo apt autoremove
sudo apt autoclean
sudo apt update
sudo apt install libvlc5 vlc
Then you should be able to install/run rpisurv.
from rpisurv.
Solved!
sudo apt remove vlc* libvlc*
sudo apt autoremove
sudo apt autoclean
sudo apt update
sudo apt install libvlc5 vlc
sudo ./install (rpisurv)
from rpisurv.
Was there perhaps anything else you did to get this to work? I ran those commands and still get the same error. I've tried all the solutions in the all the issues I can find, but none of them seem to make this work.
from rpisurv.
Hello, @tboyce021
Your guide works, however, after a few hours of use all streams crashed, with the following output.
systemctl status rpisurv ->
Dec 08 20:22:06 raspberrypi rpisurv[642]: 2022/12/08 20:22:06 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 08 21:31:00 raspberrypi rpisurv[642]: 2022/12/08 21:31:00 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 08 22:39:52 raspberrypi rpisurv[642]: 2022/12/08 22:39:52 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 08 23:48:44 raspberrypi rpisurv[642]: 2022/12/08 23:48:44 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 09 00:57:36 raspberrypi rpisurv[642]: 2022/12/09 00:57:36 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 09 02:06:28 raspberrypi rpisurv[642]: 2022/12/09 02:06:28 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 09 03:15:21 raspberrypi rpisurv[642]: 2022/12/09 03:15:21 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 09 04:23:02 raspberrypi rpisurv[642]: 2022/12/09 04:23:02 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 09 05:29:38 raspberrypi rpisurv[642]: 2022/12/09 05:29:38 - l_default - INFO - Sending stats is disabled, not sending stats
Dec 09 06:36:16 raspberrypi rpisurv[642]: 2022/12/09 06:36:16 - l_default - INFO - Sending stats is disabled, not sending stats
After restarting the rpisurv the streams work again, but with other error messages. Any idea about these it ?
Dec 09 06:40:40 raspberrypi rpisurv[1237]: [b36105f0] main decoder error: buffer deadlock prevented
Dec 09 06:40:40 raspberrypi rpisurv[1237]: [b3510608] main decoder error: buffer deadlock prevented
Dec 09 06:40:40 raspberrypi rpisurv[1237]: error: XDG_RUNTIME_DIR not set in the environment.
Dec 09 06:40:40 raspberrypi rpisurv[1237]: error: XDG_RUNTIME_DIR not set in the environment.
Dec 09 06:40:40 raspberrypi rpisurv[1237]: error: XDG_RUNTIME_DIR not set in the environment.
Dec 09 06:40:40 raspberrypi rpisurv[1237]: error: XDG_RUNTIME_DIR not set in the environment.
Dec 09 06:40:40 raspberrypi rpisurv[1237]: error: XDG_RUNTIME_DIR not set in the environment.
Dec 09 06:40:40 raspberrypi rpisurv[1237]: error: XDG_RUNTIME_DIR not set in the environment.
Dec 09 06:40:40 raspberrypi rpisurv[1237]: error: XDG_RUNTIME_DIR not set in the environment.
Dec 09 06:40:40 raspberrypi rpisurv[1237]: error: XDG_RUNTIME_DIR not set in the environment.
from rpisurv.
@Vattar im had the exact same issue as you where the streams where crashing after so long, i ended up putting a systemctl restart rpisurv
in my cronjob every 6 hours but mine was a memory leak issue it seemed? #170
from rpisurv.
Create
/etc/apt/preferences.d/vlc
with the following:
[...]
If you already have vlc/libvlc installed then you'll need to remove and reinstall them:
[...]
Then you should be able to install/run rpisurv.
I've tried this many times (with additional cleaning/purging and apt-get as well) but with 600 as the priority and still get the same issue, seems apt is ignoring preferences.d.
pi@monitor:~ $ apt policy vlc
vlc:
Installed: (none)
Candidate: 3.0.18-0+rpt3+deb11u1
Version table:
3.0.18-0+rpt3+deb11u1 600
500 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages
3.0.18-0+deb11u1 -1
500 http://deb.debian.org/debian bullseye/main arm64 Packages
500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
from rpisurv.
**Again with the same problem!
I've already tried the solution proposed by user tboyce021, but it doesn't work either!
The VLC version seems correct, but I can't install rpisurv.
Any idea ?**
pi@raspberrypi:~/rpisurv $ sudo ./install.sh
Use this installer on your own risk. Make sure this host does not contain important data and is replacable
This installer will disable graphical login on your pi, please revert with the raspi-config command if needed.
The following version will be installed: "3.0.0"
Do you want to continue press , to cancel
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
coreutils is already the newest version (8.30-3).
fbset is already the newest version (2.1-30).
procps is already the newest version (2:3.3.15-2).
python3-pygame is already the newest version (1.9.4.post1+dfsg-3).
python3-openssl is already the newest version (19.0.0-1).
python3 is already the newest version (3.7.3-1).
python3-yaml is already the newest version (3.13-2).
rsync is already the newest version (3.1.3-6).
sed is already the newest version (4.7-1).
openssl is already the newest version (1.1.1n-0+deb10u6).
ffmpeg is already the newest version (7:4.1.11-0+deb10u1+rpt1).
libraspberrypi-bin is already the newest version (2+git20211125155417+14b90ff-1buster).
vlc is already the newest version (3.0.17.4-0+deb10u2+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Your version of vlc does not have the needed mmal options. Rpisurv needs those
Minimum tested vlc version for Rpisurv is (VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5ced72),
Maximum tested vlc version for Rpisurv is (VLC media player 3.0.17.4 Vetinari (3.0.13-8-g41878ff4f2)
Aborting installation, upgrade to latest vlc player with mmal support
pi@raspberrypi:~/rpisurv $ vlc --version
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC version 3.0.17.4 Vetinari (3.0.13-8-g41878ff4f2)
Compiled by serge on arm-build.pitowers.org (Dec 7 2022 23:06:22)
Compiler: gcc version 8.3.0 (Debian 8.3.0-6)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public Licence;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.
from rpisurv.
I gave up, stuck with Buster and used the package I was using previously.
from rpisurv.
I gave up, stuck with Buster and used the package I was using previously.
I'm using Debian Buster, yet rpisurv refuses to install.
This is a new problem for me... ;/
from rpisurv.
Tentei a correção do VLC acima com Buster e ainda não consigo instalar o rpisurv. Executando um Raspberry Pi 4.
Editar: Problema nº 167 - "O sistema operacional Raspberry Pi de 64 bits não parece suportar mmal para VLC." com a resposta: "Basta usar Raspberry Pi OS Full (Legacy) 32 bits?"
Experimentei, instalei o Buster de 32 bits e trabalhei na primeira vez, sem problemas. Também não foi necessário fazer a correção acima. A instalação funcionou conforme o esperado, sem erros.
Demorei um pouco para encontrar a imagem do Buster, pois ela é muito antiga agora, se ajudar alguém, baixei o Buster aqui: https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/
Thanks! The issue was resolved installing the 32-bit version.
from rpisurv.
Related Issues (20)
- streaming URL doesn't work HOT 7
- Cant connect HOT 32
- rpisurv works on Bullseye and RPI 4 HOT 2
- pisurv not starting HOT 1
- disable_autorotation: True is ignored after switching camera. HOT 2
- Camera can be reached via ping and via VLC on a desktop but stuck on connecting HOT 2
- RPISurv (2x2) not working well on RasPI 3 Model B+ Bullseye HOT 3
- Garbled video at higher resolution HOT 6
- new install on buster, VLC error in the install script HOT 10
- More responsive image updates HOT 1
- rpisurv v3 now works under Bullseye, my issue is with 2x2 rotating my 8 cameras HOT 2
- Won't launch when connected to other displays HOT 1
- 2 streams 1 column fails to work HOT 4
- ubuntu Support? HOT 2
- nr_of_columns: 3 not working HOT 3
- Cameras Images Freeze after about 24h HOT 9
- E: Package 'vlc' has no installation candidate HOT 1
- Use Raspberry Pi OS Lite (Debian v12 bookworm) 32Bit or 64Bit on Pi 5 for a RpiSurv fresh install? HOT 9
- Question: Any chance for UniFi Protect Integration? HOT 5
- No video mode large enough for 1920x1080
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpisurv.