6

I'm amazed there isn't more action on this thread, I've been chasing down the answer to this question for months. I stream from a Pi Camera (CSI) to a Janus server, and I found the best pipeline is gst-launch-1.0 v4l2src ! video/x-h264, width=$width, height=$height, framerate=$framerate/1 ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink sync=...


3

According to the documentation you linked to, this camera doesn't come with an application to capture images. They offer a demo application, written in C, but other than that you have to write your own application to utilize this camera.


3

From picamera.readthedocs.io, 5.11. Raw Bayer data captures : Bayer data consists of 10-bit values, because this is the sensitivity of the OV5647 sensor used by the Pi’s camera. The 10-bit values are organized as 4 8-bit values, followed by the low-order 2-bits of the 4 values packed into a fifth byte. You can read this code for an example of raw ...


3

It's not possible without stopping the recording and restarting it with new parameters and a new output file.


2

Raspbian on Raspberry Pi 4 uses ARMv7 binaries while Pi Zero uses ARMv6hf. You can easily use ARMv6hf binaries on ARMv7 CPUs but not the other way around. So build your libraries on your target platform or use cross compilation.


2

Sony IMX219PQ , can be configured as master slave and thus frame synchronized, there is even a sony app note about it. I have used this on a custom stereo camera board, but proper configuration of the sensor is needed.


2

raspi-config seems to support noninteractive mode: you can use nonint command to set the camera # raspi-config nonint do_camera %d # %d - Integer input - 0 is in general success / yes / selected, 1 is failed / no / not selected sudo raspi-config nonint do_camera 0 For more details please check the full list of options: https://github.com/l10n-tw/rc_gui/...


2

The Pi Camera socket is the same on all boards except for the Pi Zero which has a smaller socket.


2

By eliminating different options, I found that -t 0 is causing this. Using -t 1 is fine. --help does not mention that 0 is a special value. -t, --timeout : Time (in ms) before takes picture and shuts down (if not specified, set to 5s) However, I found some documentation on raspberrypi.org saying (emphasis mine): Note that low values (less than 500ms, ...


2

From raspicam , Release notes: Note: when using the full resolution video callbacks with the full resolution of the Raspberry Pi Camera v2, you will likely get an error such as mmal: mmal_vc_port_enable: failed to enable port vc.ril.camera:out:1(BGR3): ENOSPC. In order to fix this increase your GPU memory to at least 256MB.


2

over_voltage=4 force_turbo=1 ...in /boot/config.txt solved the problem for me with a Pi Zero, good quality power supply and low quality 3rd party knock-off cheap camera. My guess is that 3rd party cheapo cameras draw more volts that the board expects, and that over volting the board compensates for this.


1

Most projects you'll find are aimed at driving projectors which lack built-in keystone correction. I've seen a generic xrandr keystone helper and a Pi-specific ofxPiMapper you may want to look at. Speaking of direct video stream transformations, I would check out AviSynth: I bet there are perspective correction plugins, but I'm too far from the subject to ...


1

Without a datasheet this is not possible, as in the chance you connect everything correctly is really small. I found a site where they sell these: https://www.witrigs.com/oem-rear-camera-for-samsung-galaxy-j5-2016, maybe you can ask them if they have a datasheet/pinout.


1

I expect not from your picture but a link to the board would help. The main difference between a 'normal' camera and an IR one is that normal cameras have a physical filter behind of the lens that cuts out some frequencies of ultraviolet and infrared before it hits the surface of the sensor. By removal of this filter, the sensor can then detect the IR ...


1

Found out that motion has a Rest-API like interface which can create Snapshots. build the following crontab and it does what I needed it to do. 0 */1 * * * rm /var/lib/motion/* && curl -s -o /dev/null http://pigrow:8080/0/action/snapshot && ping 10.1 -c 3 > /dev/null && mv /var/lib/motion/image* /mnt/nas without the ping it ...


1

I've not used the script before (try not to rely on cloud services much now) but you have to run the config wizard first to create the hidden ~/.dropbox_uploader with the details in. I would delete this file: rm ~/.dropbox_uploader Run the program again (with NO parameters) using ./dropbox_uploader.sh This will give you a set of instructions and a URL ...


1

You can get wattage readers that plug to your wall and then you plug your devices to it. But if you don't want to get one this is how you do it. Find out how any watts you use in total (Pi 4 is 5W, motors are 3W... you get the idea) then divide that by 5V. That'll be an estimate of how many amps you need an hour (assuming you are using a 5V battery pack). ...


1

Yes, there is a Pi cam that can do both. It can be set on auto detect to record during the day and night. I found this one on Amazon.


1

Check vcgencmd get_camera result. It will return how many cameras are supported and detected. Normally you will get "supported=1 detected=1". If you get "detected=0" then camera is not detected : double check your connection, ribbon cable integrity and orientation, or consider that a picamera can fry from times to times. I never met "supported=0", but ...


1

I fixed the issue by powering the Raspberry Pi with a 5.1V, 2.5A power plug now its been running well 24/7 ever since.


1

I presume by context you mean the 3V3 power rail pins (pin 1 and pin 17). They are NOT GPIO. On the recent Pi models you can draw about an amp from the 3V3 power rail. On the earlier Pi models you can draw about 100 milliamps. As an aside you can only safely draw about 20 milliamps from a single GPIO and about 50 milliamps in total from the GPIO.


1

The camera is probably running out of GPU memory. Check config.txt in the /boot/ folder. The gpu_mem option should be at least 128. Possible Duplicate of : What causes ENOSPC error when using the Raspberry Pi camera module?


1

Yes! Thanks @Dougie That seems to fix it. Apparently there is a new AWB algorithm to accomodate the Pi4 and this screws with PiNoIR cameras on older pi's The whole discussion is found here: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=245994 By now it seems to be included in the standard upgrade. I ran sudo apt update && sudo apt ...


1

Change the settings in /boot/config.txt gpu_mem=128 start_x=1 Reboot and re-test.


1

Try including the full path to the python executable in rc.local, for example /usr/bin/python /home/me/Desktop/python/cameratest.py &


1

I'd take a look at the picam library. It provides direct access to the camera, as the native MMAL library is used without any external dependencies or processes or wrappers. It's still based loosely on the raspistill, but unlike JRPicam, doesn't wrap the native process, and therefore has much better performance. Do note however that this does not use the ...


1

I just measured spectral response of a raspberry pi NoIR camera module using 2inch integrating sphere and monochromator. The first spectrum I did just using NoIR camera module, the second one with a blue filter which I got together with the camera. Also I did transmittance spectra of the filter for the reference. I would like to apologize for the low ...


1

I had the same problem, looked like camera was faulty. In desperation I checked the continuity of the ribbon cable, all lines were open! Turned out to be a tiny hairline crack in cable near the termination, must have been bent too far. Cut the bad bit off with scissors, sandpapered the insulation till the metal conductors showed, glued the blue plastic back ...


1

All flex cables have a minimum bend radius, under which a specified number of fold-unfold cycles is guaranteed. This radius depends on the brand, but generally it's around 5-10 mm. Here's a spec for AWM 20941 flex cable from JUDD WIRE, which is sold on Amazon as a Raspberry camera accessory: As you can see, you can bend it at a right angle with a raduis ...


Only top voted, non community-wiki answers of a minimum length are eligible