Giter Site home page Giter Site logo

Comments (6)

stephen-hardy avatar stephen-hardy commented on July 29, 2024 1

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.

stephen-hardy avatar stephen-hardy commented on July 29, 2024

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.

monterolabs avatar monterolabs commented on July 29, 2024

Hi,

I got same error, last version Raspbian on 3+ and 4

Thanks

from raspindi.

stephen-hardy avatar stephen-hardy commented on July 29, 2024

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.

rf152 avatar rf152 commented on July 29, 2024

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.

github-actions avatar github-actions commented on July 29, 2024

No update to this issue for 30 days. Closing

from raspindi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.