Comments (10)
From a quick look in the linked document, this would require a re-writing the code to apply the lens shading to the mmal capture object (see the section 2.5 Change the Raspistill.c file)
I don't have an arducam lens, and cannot test this. If you want to create a pull request to add this functionality then feel free.
from raspindi.
I don’t know much about C, but I followed the linked instructions for my arducam camera and it worked like a charm for “raspistill”, so maybe I will take a stab at it.
Do you know what “.c” object I would need to edit (just main.cpp?) and would that be configurable for other lens, otherwise this change would really be pointless?
from raspindi.
The whole program is in main.cpp
, so that's the file you'd need, yes.
The MMAL configuration is set between lines 440 and 485, so it would make most sense probably to put the configuration below that. If you want to have a config file option then you will need to add some logic to pull that out (see line 328 for an example of reading a config value).
from raspindi.
Thank you
from raspindi.
Hello, if you have found the solution, I am interested
thank you
from raspindi.
No update to this issue for 30 days. Closing
from raspindi.
I just wanted to post here for other people that may have this question, that I did end up solving this issue. Thanks to Jörn Nettingsmeier for the idea, I made another fork which allows you to simply apply the --tuning-file
command directly to the raspindi
binary and this for my Arducam worked perfectly...
https://github.com/IrPgFKS0/raspindi
Example:
/opt/raspindi/bin/raspindi -t 0 --width 1920 --height 1080 --tuning-file imx477_original.json --codec yuv420 --framerate 25
from raspindi.
There's some interesting work you've done. I'll try to have a proper look, and see if I can come up with a way of making it backward compatible with the config file format, and merge it into the main repo, if you're ok with that?
from raspindi.
Yes, I am fine either way. I mostly just wanted to post this solution so anyone could fix that shading issue (drove me nuts)! Also the native libraries do support a config file flag so maybe that could be merged together with raspindi's config file.
rpicam-vid -h
-c [ --config ] [=arg(=config.txt)] Read the options from a file. If no filename is specified, default to
config.txt. In case of duplicate options, the ones provided on the command line
will be used. Note that the config file must only contain the long form
options.
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 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
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.