bernd71
Posts: 5
Joined: Fri Nov 09, 2012 10:13 am

Re: Multiple cameras on a single raspberry pi board

Thu Jul 18, 2013 8:44 am

Some more information might be helpful. Do you want to capture single images or using high quality HD Stream, etc. Do you need live playback at one point or is capture into files and playback later is OK. Does all cameras should work at the same time, needs synchronisation, etc. This all has effect to the total system, don't look only at the count of cameras.

punktea
Posts: 21
Joined: Thu Jul 18, 2013 8:55 am

Re: Multiple cameras on a single raspberry pi board

Thu Jul 18, 2013 9:30 am

I have connected and used 3 logitech webcams via a powered USB hub. Since the output of the webcams are already in MJPEG format, the RPi CPU does not have to do any encoding and the CPU load is low. Since you just need to take snapshots, the bandwidth required across the USB port will also be low and I don't see any problem connecting a large number of webcams. When you do hit limits then just add another RPi. With webcam, the highest resolution is 1920x1080, not sure if that will meet your requirements.

PiGraham
Posts: 3709
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Multiple cameras on a single raspberry pi board

Thu Jul 18, 2013 9:51 am

What we know so far is that this is still image capture to jpg up to 12 cameras.
It has been pointed out more than once that multiple simultaneous cameras are not possible with a single Pi, and paddi2013 has not indicated that single camera at a time is a problem in this application.

paddi2013 wrote:thank you for replying, i am interested in option b, since we are looking into capturing jpegs instead of video. theoretically speaking, how many pi cameras can be multiplexed into one CSI port ? and how complicated will the custom circuit be ? Please and thank you !
paddi2013 wrote:i am looking to use around 6 to 12 cameras with the raspberry pi, do u guys know what is the best way to do it ? and also by minimizing the cost ? Please and thankyou

paddi2013
Posts: 24
Joined: Wed Jul 17, 2013 4:30 am

Re: Multiple cameras on a single raspberry pi board

Mon Jul 29, 2013 7:46 am

tq so much everybody ! this really helps :D

gangster429
Posts: 1
Joined: Tue Jul 30, 2013 3:01 pm

Re: Multiple cameras on a single raspberry pi board

Tue Jul 30, 2013 3:03 pm

Is it possible to use
4x rca to usb capture devices?

ghans
Posts: 7881
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Multiple cameras on a single raspberry pi board

Wed Jul 31, 2013 10:16 am

I guess it would be hard to get only one working in the
first place ..

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
cyrano
Posts: 714
Joined: Wed Dec 05, 2012 11:48 pm
Location: Belgium

Re: Multiple cameras on a single raspberry pi board

Wed Jul 31, 2013 12:21 pm

As I was just having a look at things a couple of days ago, have a peek here:

http://linuxtv.org/wiki/index.php/Easycap

It's called EasyCap. But, as with Wifi dongles, it's hard to tell what you're buying. There are four different chipsets, but at least some of these work with Linux. How hard it will be cross-compiling some libraries, I can't tell.
STK1160 based devices are supported (video and audio) under Linux by the easycap kernel module (kernel 2.6.38 and later) and further on by the stk1160 kernel module (kernel 3.7).

User avatar
jbeale
Posts: 3578
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Multiple cameras on a single raspberry pi board

Wed Jul 31, 2013 5:39 pm

Just to duplicate what I posted yesterday here: http://www.raspberrypi.org/phpBB3/viewt ... 13#p396633

"well supported under Linux" doesn't necessarily include "supported on Raspberry Pi". Note also, "easycap" is a generic name for video capture devices which may use at least three completely different chipsets internally. If you have a working video capture device on R-Pi I would be very interested to hear it! As far as I know, no one has had real success with this yet:

http://www.raspberrypi.org/phpBB3/viewt ... ap#p391648
http://www.raspberrypi.org/phpBB3/viewt ... it=easycap
http://easycap.blogspot.com/2013/03/ras ... vices.html

This is the most successful attempt i have seen:

http://www.raspberrypi.org/phpBB3/viewt ... ap#p389610
Yes I have had success with em28xx I had apply the patch from http://bufobufomagic.blogspot.co.uk/201 ... -sudo.html
but only at 360x288 - had it stream to ustream and udp for many hours without issue.
kernel is Linux version 3.6.11+
On April 10, 2013, Sebastien Warin posted that he got 640x480 working on a R-Pi using "STK1160 Video Capture Device". In the months since then, several other people tried and could not duplicate that result.
http://easycap.blogspot.com/2013/03/ras ... 9605719538

kayjean
Posts: 1
Joined: Fri Aug 09, 2013 1:01 am

Re: Multiple cameras on a single raspberry pi board

Wed Aug 28, 2013 1:11 pm

Hi PiGraham

I have the same question for one Raspberry + CSI + two cameras. I notice gsh and you talk about lvds PHY and circuitry.
Is there any practical solutions for this issue?

bogdancraciun
Posts: 9
Joined: Fri Mar 01, 2013 1:50 pm

Re: Multiple cameras on a single raspberry pi board

Sun Dec 15, 2013 1:23 pm

In thread: http://www.raspberrypi.org/archives/3376 its mentioned that you can use both CSI interfaces of the BCM2835

"
Mike Kopack on
March 8, 2013 at 12:32 pm said:
Wait, how/where are there 2 CSI interfaces on the Pi ???? I only remember there being the 1 CSI connector….

Or is the DSI one also able to be used for CSI if we so choose? Or does the single CSI connector allow for 2 cameras to be attached??

Comment ↓
Gert van Loo on
March 8, 2013 at 5:59 pm said:
There are two CSI interfaces on the BCM2835 but only one is brought out to a connector on the Pi. The other interface is hidden between a plethora of BGA balls underneath the chip.

Comment ↓
"

So are there any chances to get two Pi cameras via the CSI interfaces? What needs to be done to have access to the second CSI interface?

ghans
Posts: 7881
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Multiple cameras on a single raspberry pi board

Mon Dec 16, 2013 8:06 am

You need to create your very own version of the Raspberry Pi including modified schematics + BOM ,
routing (CSI is a very high-speed bus) , testing , sourcing of components (good luck with the SoC) and
then get the thing manufactured by a competent company (just think of the early RS Components boards ... )


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Vivio
Posts: 1
Joined: Mon Apr 07, 2014 1:28 pm

Re: Multiple cameras on a single raspberry pi board

Mon Apr 07, 2014 1:34 pm

punktea wrote:I have connected and used 3 logitech webcams via a powered USB hub. Since the output of the webcams are already in MJPEG format, the RPi CPU does not have to do any encoding and the CPU load is low. Since you just need to take snapshots, the bandwidth required across the USB port will also be low and I don't see any problem connecting a large number of webcams. When you do hit limits then just add another RPi. With webcam, the highest resolution is 1920x1080, not sure if that will meet your requirements.
You have done this with all the cameras working simultaneously or through an on/off algorithm?
Thanks!

mikerr
Posts: 2804
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Multiple cameras on a single raspberry pi board

Mon Apr 07, 2014 3:23 pm

The new Raspberry Pi Compute module has 2 CSI interfaces:

http://www.raspberrypi.org/raspberry-pi ... w-product/
Android app - Raspi Card Imager - download and image SD cards - No PC required !

aarongreenlee
Posts: 1
Joined: Sun Apr 13, 2014 3:12 am

Re: Multiple cameras on a single raspberry pi board

Sun Apr 13, 2014 3:14 am

How did you make out on your project?

I am also looking to build a multi-camera system and appreciate everyone's contributions in this thread.

Respectfully,

Aaron Greenlee

shakirabbas
Posts: 10
Joined: Thu Feb 27, 2014 7:14 pm

Re: Multiple cameras on a single raspberry pi board

Sun Jul 20, 2014 2:55 am

deleted; inaccurate.
Last edited by shakirabbas on Wed Apr 22, 2015 11:25 pm, edited 1 time in total.

cnr437
Posts: 5
Joined: Wed Jul 30, 2014 2:54 pm

Re: Multiple cameras on a single raspberry pi board

Wed Jul 30, 2014 3:06 pm

Hi there is a campaign for connecting more than one camera module to one raspberry pi therefore it can be solution for multiple camera systems.

https://www.indiegogo.com/projects/ivpo ... /x/8229812

speedplane
Posts: 1
Joined: Mon Dec 29, 2014 6:02 pm

Re: Multiple cameras on a single raspberry pi board

Mon Dec 29, 2014 6:05 pm

Hi there is a campaign for connecting more than one camera module to one raspberry pi therefore it can be solution for multiple camera systems.

https://www.indiegogo.com/projects/ivpo ... /x/8229812
Note that this is only a multiplexer solution, you couldn't receive multiple video feeds at once.

However, there does appear to be another solution. The pi compute module has two camera inputs, and could receive two video feeds at once.

On the compute module: http://makezine.com/2014/04/07/new-rasp ... -unveiled/
On stereo cameras: http://www.argondesign.com/case-studies ... pberry-pi/

vinersniccel
Posts: 1
Joined: Wed Feb 11, 2015 7:02 pm

Re: Multiple cameras on a single raspberry pi board

Wed Feb 11, 2015 7:07 pm

Up!
Now that the raspberry pi 2 is released, I would like to ask you if it is possible to connect multiple cameras to a single board?

User avatar
Gert van Loo
Posts: 2487
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Multiple cameras on a single raspberry pi board

Wed Feb 11, 2015 7:39 pm

Sorry to sound condescending but there are many, many ,many posts all saying
"Apart from the ARM processor nothing has changed on the Pi-2"
Why would it suddenly support two cameras?

User avatar
BAStumm
Posts: 134
Joined: Fri Aug 23, 2013 3:37 pm
Location: Loon Lake, WA USA
Contact: Website

Re: Multiple cameras on a single raspberry pi board

Wed Feb 11, 2015 7:49 pm

Gert van Loo wrote:Sorry to sound condescending but there are many, many ,many posts all saying
"Apart from the ARM processor nothing has changed on the Pi-2"
Why would it suddenly support two cameras?
That and the amount of RAM... That changed too... :lol:

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Multiple cameras on a single raspberry pi board

Thu Feb 12, 2015 12:35 am

> by Gert van Loo » Wed Feb 11, 2015 7:39 pm
>> "Apart from the ARM processor nothing has changed on the Pi-2"
>>
> Why would it suddenly support two cameras?
>
What is it specifically that is different between the CSI and DSI implementations? They both use the D-PHY physical interface but have their own protocols. The bandwidth needs are reversed, the camera is sending out massive amounts of data while the display is receiving massive amounts. Is there something in the hardware that prevents them from being generalized ports?

ghans
Posts: 7881
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Multiple cameras on a single raspberry pi board

Thu Feb 12, 2015 6:27 am

It's more a legal and business problem. You need both
documentation and GPU code to make it work , and
both is completely secret.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
Gert van Loo
Posts: 2487
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Multiple cameras on a single raspberry pi board

Thu Feb 12, 2015 10:38 am

stderr wrote:> by Gert van Loo » Wed Feb 11, 2015 7:39 pm
>> "Apart from the ARM processor nothing has changed on the Pi-2"
>>
> Why would it suddenly support two cameras?
>
What is it specifically that is different between the CSI and DSI implementations? They both use the D-PHY physical interface but have their own protocols. The bandwidth needs are reversed, the camera is sending out massive amounts of data while the display is receiving massive amounts. Is there something in the hardware that prevents them from being generalized ports?
There is the tiny problem that one is an input and the other is an output.
The port direction on the chip is NOT reversible.....


bryanjones
Posts: 1
Joined: Tue Feb 10, 2015 12:19 pm

Re: Multiple cameras on a single raspberry pi board

Thu Feb 26, 2015 10:53 am

I know its years later, but you can now get Raspberry Pi Camera multiplexers : http://www.ivmech.com/magaza/en/ivmech- ... lexer-p-90

One of these with the Pi 2 would be an awesome setup. I was actually thinking it would be awesome to be able to attach two Pi camera's so you could have a hi res day one and then switch to a hi res noir one at night. Would make an ultimate security camera setup.

Return to “Camera board”