Comments (6)
OK, here is what I did. But, first, I'd like to call out that I made a mistake above. I referenced Buster when I should have said Bullseye. I thought Debian releases were unique to the letter. My mind held on to Buster for "B", and I thought I was good. Anyway...
- Raspberry Pi Official Imager
- Raspberry Pi OS Lite (32bit) - Debian Bullseye - Released: 2022-09-22
sudo apt update
sudo apt upgrade
sudo raspi-config
- Performance Options -> GPU Memory -> 256
- Interface options -> Legacy Camera -> Yes
wget https://github.com/raspberry-pi-camera/raspindi/archive/refs/tags/v2.0.2.zip
unzip v2.0.2.zip
cd raspindi-2.0.2
./easy-setup.sh
/opt/raspindi/raspindi.sh
And you get...
Parse error at /etc/raspindi.conf:18 - syntax error
Let's open the config file and fix the error:
sudo nano /etc/raspindi.conf
Go to the last line, delete carriage return and the close parenthesis, replace close parenthesis, CTRL-X, yes
WORKS!
Now, here is what I did after it started working. THIS IS NOT ESSENTIAL, just an example of what also works.
Configure 1080p feed
sudo nano /etc/raspindi.conf
Change to the following:
neopixel_path = "/tmp/neopixel.state";
camera_number = "-1";
height="1088";
width="1920";
fps="30";
Using 1088 because 1080 results in "Aspect ratio forced to: 1920 x 1088"
Setup as a service
sudo nano /lib/systemd/system/raspindi.service
Set content:
[Unit]
Description=RasPiNDI
After=multi-user.target
[Service]
Type=idle
ExecStart=/opt/raspindi/raspindi.sh
[Install]
WantedBy=multi-user.target
from raspindi.
I just tried on a Raspberry Pi 3, and followed the instructions to the letter on a Buster lite 32bit OS. Freshly installed via the official Raspberry Pi installer.
Got this:
Parse error at /etc/raspindi.conf:17 - syntax error Segmentation fault
So... it is Lite specific? Or, it is Buster specific? It happens across architecture, storage medium type, Pi model.
I guess I'll try an older version, or full version, next.
from raspindi.
Hi,
I got same error, last version Raspbian on 3+ and 4
Thanks
from raspindi.
I was able to get it working, by using a binary from the releases. With all the people talking about their successful experiences using it in the Issues, I guess either everyone uses the releases, or I'm just especially incompetent. I could never make the Readme instructions work no matter what HW/OS combination or how carefully I followed them. I'm starting to wonder if those instructions represent someone's best recollection of installation, on an OS that has already had a bunch of other things installed. Or, perhaps it is a full desktop (never ended up getting to test that). I'll be shocked if anyone tells me those instructions work on a brand new headless image.
I have my notes on what worked on another machine. Tomorrow or the next day I'll get those posted here.
But, it is working working well on a Pi 4. About 215ms latency @ 1080p 30fps.
from raspindi.
Apologies for the delay on looking at this one. I've got no spare Pi boards at the moment (If only I could get my hands on one!), so can't test it. I'll see if I can free up one of my existing ones to try it out at some point.
Pleased you've managed with the binaries. My guess with a segfault is there's an issue with one of the libraries, but without a board I can't actually test it!
from raspindi.
No update to this issue for 30 days. Closing
from raspindi.
Related Issues (20)
- USB Webcam Support HOT 2
- Is there a method to adjust camera settings while the NDI stream is running? HOT 4
- Unable to build main branch HOT 2
- camera models applicable HOT 4
- Cannot find libraries HOT 2
- Segmentation Fault (again) HOT 1
- Error while loading shared libraries: libcamera.so.0 HOT 3
- "Segmentation Fault" when trying to run HOT 35
- Build fails HOT 2
- Connected but no image HOT 9
- Build errors HOT 10
- Missing libencoders.so.1 library when running binary HOT 7
- raspindi stop a second after start with OBS plugin HOT 5
- Cannot change fps HOT 1
- Build fails HOT 6
- Preview tally status not correct with OBS 30.0.2 on Mac OS X HOT 1
- Segfault after a few minutes of streaming HOT 2
- Raspberry PI 5 support? HOT 2
- Camera not detected with raspindi on Raspberry Pi 3 Model B
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 raspindi.