Comments (7)
Having looked further into this, there is a newer version of the NDI library that appears to support Raspberry Pi specifically.
I will have a look at this this week, and see if it works better.
from raspindi.
I haven't looked at this, although it looks interesting. I might have a look at the MMAL library and see if it can do any of the processing (which is pretty much just adding an alpha channel).
If you want to look yourself by all means fork and create a pull request, I'd be interested in seeing how well it performs if we can offload some of that processing.
from raspindi.
Ok, I've been looking at this, and got a little bit stuck down a rabbit hole. Keep your eyes open for v2.0.0, which completely rewrites how it retrieves the images from the camera, and from my limited testing so far works much, much better (smooth video even at 1920x1080).
from raspindi.
Let me know how you get on with version 2.0.0; You should see an improvement on the framerate thing.
from raspindi.
Great news thanks - I’ll test it out and report back.
from raspindi.
@rf152 - works a treat at 1280x720 @ 30fps in a Model 3B+ - I have monitored the output and it holds up at 30fps, video is smooth. Searching around on monitoring GPU, seems impossible on the rPi. But a `pi@raspberrypi:~ $ sudo vcdbg reloc stats
'Relocatable heap version 4 found at 0x3c000000
total space allocated is 44M, with 44M relocatable, 0 legacy and 0 offline
0 legacy blocks of size 2359296
small_allocs : 33
allocs : 173
alloc_fails : 0
legacy_block_fails : 0
compactions : 0
discard_compactions : 0
aggressive_compactions : 0
aggressive_compaction_waits : 0
aggressive_compaction_timeouts: 0
locks : 0
small_locks : 0
free list at 0x3cfc1f00
15M free memory in 2 free block(s)
largest free block is 15M bytes'
Shows it's in use (before largest block is 235M bytes) which matched the rPi mem split
Slightly jerky at 1080p, also noticed a warning Aspect ratio forced to: 1920 x 1088
when the Conference file is set
neopixel_path = "/tmp/neopixel.state"; camera_number = "-1"; height="1080"; width="1920"; fps="30";
`
I'll say again - awesome simple implementation of a raspberryPi studio camera. Thanks
from raspindi.
Yeah, the locked ratio is to do with the way that the camera captures; it has all sort of weird artifacts when you force it to 1920x1080. It's supposed to crop, but I couldn't get it to work properly. I might revisit it further down the line.
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 HOT 6
- 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 HOT 1
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.