Pregunta:
Varias cámaras en Raspberry Pi
wael
2016-10-12 14:31:16 UTC
view on stackexchange narkive permalink

I am very new here, and I really want to know if it is possible to run 4 camera module to make a video at the same time, even if I use the multiple camera module*? I want to make a 360 degree video using a Raspberry Pi by implementing 4 camera module pi simultaneously

*camera module = http://www.arducam.com/multi-camera-adapter-module-raspberry-pi/

¿Qué módulo de cámara múltiple? ¿Te refieres a la cámara Pi o una cámara USB? ¿Por qué necesitas 4 cámaras para hacer un video?
Creo que es mejor que le preguntes eso a la gente de Arducam, wael.
También tenga en cuenta que este módulo es compatible con RPi 1 y 2, según la página del producto. No estoy seguro de poder usarlo con RPi 3.
Un par de cosas que noté en el enlace que proporcionó: 1) "Tenga en cuenta que la placa adaptadora de múltiples cámaras Raspberry Pi es un producto incipiente que puede tener algunos problemas de estabilidad y limitaciones debido a la integridad de la señal del cable y las bibliotecas de núcleo de video de código cerrado de RPi, por lo que Úselo bajo su propio riesgo." Esto me llevaría a creer que esto no está listo para un uso serio y puede que nunca lo esté. 2) ¿No incluyen un video que lo muestre funcionando?
3) Tampoco incluyen ninguna mención del rendimiento que puede esperar, pero dado que está tratando de cuadriplicar la carga de trabajo, esperaría que la velocidad de cuadros sufriera en consecuencia. Puede que sea mejor buscar una cámara raspberry pi de 360 ​​grados. He visto algunas opciones aquí: 1) un accesorio tipo lente y una serie de Pi zero con varias cámaras. Es probable que también haya otras opciones.
Para que conste, el RPi Compute Module admite __dos__ cámaras RPi simultáneamente en dos conectores separados.
Dos respuestas:
Piotr Kula
2016-10-12 17:53:45 UTC
view on stackexchange narkive permalink

That camera adapter is a multiplexer.

What it means, is that you use software to select which camera you want to get video from and then record it.

It is unclear if the camera has to initialise after you selected it.. or if it is constantly streaming video and all you are doing is "switching channels"

The best application for this is 3D photography. So basically static objects that do not move.

What you are trying to do with 360video will not work. After stitching you will get black holes all over the place and probably induce vomiting.

You may get better results using USB WebCams that encode h264 on the webcam and store the stream on the Pi, download the data to a Xenon 3.8Ghz and stitch it...

Ahhh.. were you thinking you could stream and stitch on the Pi? "No way, José"

prinxis
2016-10-14 02:10:10 UTC
view on stackexchange narkive permalink

UV4L support videorooms. You can stream to a videoroom from any Raspberry Pi 2 or 3. Where is this videoroom? On the Raspberry Pi itself! if you want. In facts, UV4L comes with a ready-to-use OS image with an MCU that can host the videoroom itself. UV4L supports the following input real or virtual devices: official camera modules, USB webcams, IP Cam streams, etc..(each participant can also stream audio, if you are interested in this). A participant can also be a browser (no plug-in is required). And audio/video can optionally be two-way.

In substance, you have plenty of options here: you can have 4 live streams from your 4 Rpi's or cameras (e.g. 4 IP cams or 2 Dual CM) and as "producers" for the video stream, and one browser or Rpi as "consumer". In the PC browser you can do plenty of things to process the incoming videos. Being everything web-based the OS should be easy to tweak. Finally, there is also a RESTful API if you want to write native applications or to access the Rpi H264 encoder for high-res full-fps streams.



Esta pregunta y respuesta fue traducida automáticamente del idioma inglés.El contenido original está disponible en stackexchange, a quien agradecemos la licencia cc by-sa 3.0 bajo la que se distribuye.
Loading...