read real time video from two seperate cameras connected to two computers
I connected one camera to each of the two computers.
I tried to used jit.qt.grab to read both real time videos from each camera and project to two different projectors.
The question is: How can I read both real time videos and display it in one computer? (assuming using jit.glue or videoplane).
If the video is not real time but a recording, I understand how to do this.(simply send a message to "read")
But jit.qt.grab is not saving the real time video anywhere in the computer hard drive. Is there another object I can use, or it there a way to read the real time videos from the cache in the computer? Any suggestions?
Attached an image of what I am trying to do if there is any confusion.
What I understand from your drawing is that the output on both computers is the same, right? In that case, why not attach both cameras to one computer and get a cheap VGA-splitter to put it on 2 beamers (or use two VGA/DVI-out with mirroring on if you have it).
Another solution might be to send the video over the network with jit.net.send for instance. You will get a lot of traffic on your local network.
sylvain, thanks for your fast response. I thought about using VGA splitter but the two projectors are more than 40 feet apart. The two cameras are also more than 40 feet apart. Getting 40 feet VGA cable plus two Unibrain Cameras plus 40 feet fireware cable plus two video cards are just tooo expensive.
The set up in the sketch I drew is the most cost effective since I have two mac computers.
You mean like this? Same patch on both computers;
----------begin_max5_patcher---------- 832.3ocwX98aZCCDG+Ypz9evJZO1Eky42S8g0+A1ddZppJPLTWkXSSbZoqZ+ uOG6lBEnAGHl9BlbbA9de37cmyKe4hINS4qH0Nnui9CZxjWjVlnr0ZYRmgIN kYqlUjUqbzgQdhO8dmKe8yDjUBk86oB2EEMDzOlwKZJY0H7aNwZJorBhP8Mf 6rNmyD0z+RZMBXWuM7l2H1w8kYhY2QYKtshLSn0bP6cgvdIsK.Dpux0CcS2M o+hDOujnuiVYdaYlnhtx4RjiyZOaUCKqT4my0Uzrh2jOMWYTF1eCG6nL9uub Q6pb4RiI2LdYIgI1EcWc0UneUgdl2TgpEMymitiTQb2O9fggOudvGDAaxuPu c4mgTI53oRIotNaAYWprjWIPW+yeil1HP4z4ykLYC5srhTKuNSP4rMhIbfJJ fH0R2KqCHCREA2vzPHId+.E5AnXMBg.e0BVgWHo2DxgmB5aAXSWNbTCo5vLL 8S.0fuNoUWB..Oqf5.KlW6bd3DDqHim5OovXafIHxZYjmGHEqydz0AChrBiR OdF01Zc4STVN+oCzSXvsN80knhecmbX+A866XtQzcBkj5adBFQ3Jk7iiRmPe CplDo1kDcDCRbTCSXOpIqWmOJie021F83CfuJURitC.sguswBUVpHY1mMXPA mP0FKeeqTRwFcmpxDDzWAqyGHHdMerTI2Snpz7BtLVFk5N3CSArpfy9l+dGJ HEVlnsZyzL1hgijSojSS4TR0PPR+Mj6iKIICDKT1I.EvN0geP3VxejRP9Xu1 ykX8rIcO8j.8Dw91+zvf23StGJIhJN5iv0HVBRiKcEHiZ4eTYWmvbeB9hEEj AMx2giW7aQpQap163dIaGSZubJnrcdbRJgz9AaEo07lpYc+Ru9nUjGfb8uWN oVPYpCctgW9u2o6n44D16dPGkz7kbozeUHna9X9ar1jI5Fnssifyj3vFqM37 qMeiD2P4FNL0Mrcd8.0hrKZ2UiipCrhpGmTwTSzFLTsEqAJVMEu77vcWLNZN xJZFvQ1TzdVQzii1LJAc6Hvf8UXEDi0OrHn68iilMpNE7IUf22N.EBirFPSL QxoeJ3L0Nzbb9qFLkamV6xVCxk+C1kcC6A -----------end_max5_patcher-----------
I would strongly advise you to not use two computers and a network for this if you can avoid it- you can easily make it work as long as both have gigabit cards, but a good rule of thumb is to use as little complicated machines that can fail as possible… so I second sylvain’s suggestion:
– 40 feet of vga cable are actually very cheap from places like monoprice.com.
– As for cameras, if you’re using unibrains then it means image quality is not the most important issue- in that case you have a few options (in any case placing the computer near one of the cameras narrows your problem down to just the further cam)
>> use any kind of usb camera, with usb extension cords, also cheap, and for a few bucks more you can get a powered extension cord if you need it.
>> use any kind of analog video camera, and capture via any kind of cheap frame grabber, think 30$ external usb dongle (or even an old minidv cam with av-in will do) –
All this is unless you must have very low latency- then you can use a blackmagic intensity card or a dfg1394. Or if you must use both unibrains, get a firewire repeater for the further cam, and plug both into your computer.
– I’m not sure what you meant by two video cards- for capturing you would not need two grabbers as you’d be using your computer’s firewire port for at least one. If you use usb or any of the other solutions i mentioned except the blackmagic card, you won’t need a grabber card at all.
– for output you may not need a splitter if you’re using a desktop computer with a standard dual output card- most pc’s these days have it, and you can get pretty cheap older cards if all you need i the dual output. If it’s a laptop then dualhead2go would be your solution, though I would just change it for an ideally small form factor desktop, that would help both your input and output problems.
(to put this in context, I’ve installed setups with 4+ live feeds over longer distances using one computer, and it really wasn’t very expensive to set up. It still usually beats dealing with multiple computers and software installations).
Thank you Nadav Assor for your insightful advice. So much help!
Forums > Jitter