We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › Hardware Capture Devices (USB/1394/etc)
Pages: 1 2 
Hardware Capture Devices (USB/1394/etc)? (Read 17406 times)
Hardware Capture Devices (USB/1394/etc)?
Jul 26th, 2007, 6:12am
 
I scoured archives for some recommendations for external video capture devices (for working with composite video sources).

What are my chances of getting processing (Capture/JMyron) working with a external PVR style capture device (USB2.0/IEEE1394).  I'm ignoring fire-wire because my PC laptop doesn't have it.

Am I better off purchasing a USB model that only does software encoding, hence the uncompressed stream?  Or is that a non issue?

Are there any key words to look for in the tech specs on the models that would be a good clue?  Specific model experiences?

I don't mind blowing 20$ on webcams to trial, but 100+ on a capture device is another story and seek any advice.

Thanks in advance.

PS, reason for this approach is because the model cameras I want to experiment with are all composite only.  I already have a webcam+processing combination functioning.
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #1 - Jul 27th, 2007, 10:26pm
 
The Firewire Canopus ADVC-55 that I have works very well.  It shows up just like any cam would, and I can run any video source into it. (RCA/S-VIDEO)

Of course, the frame rate in processing is not great, but that
isn't the fault of the ADVC, but the way Processing handles video (as described in Video FAQ).  But I can also use it with video apps like VDub, Premiere, etc.
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #2 - Jul 27th, 2007, 10:32pm
 
(marking this topic so that it sticks around since it's a FAQ... input on success with various capture devices is most helpful)
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #3 - Jul 28th, 2007, 10:35am
 
movax wrote on Jul 27th, 2007, 10:26pm:
The Firewire Canopus ADVC-55 that I have works very well.  It shows up just like any cam would, and I can run any video source into it. (RCA/S-VIDEO)

Thanks for suggesting this item:
http://www.canopus.com/products/ADVC55/index.php

Froogle:
http://www.google.com/products?q=Canopus+ADVC-55&btnG=Search&show=dd

But 180.00 is pricey especially considering i'd have to also add a PCMCIA firewire card as well.  I'm seeing USB capture devices in the 40-120 range, ideally looking for one of those that is known to work well with processing.
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #4 - Jul 28th, 2007, 2:47pm
 
I have been using the Pinnacle PCTV Pro USB.

http://www.pinnaclesys.com/PublicSite/us/Products/Consumer+Products/PCTV+Tuners/PCTV+Analog+PVR+%28cable_antenna%29/PCTV+Pro+USB
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #5 - Jul 29th, 2007, 4:39am
 
smallfly wrote on Jul 28th, 2007, 2:47pm:
I have been using the Pinnacle PCTV Pro USB.


I've been leaning towards their HD stick, the successor of that one.

http://www.pinnaclesys.com/PublicSite/us/Products/Consumer+Products/PCTV+Tuners/PCTV+Analog_Digital+PVR/PCTV+HD+Stick

Thanks for mentioning a pinnacle device works, gives me more confidence in that choice.  Guess I'll order the HD stick from somewhere that accepts returns, and downgrade to the one you mention if that fails.  Although having one with additional video out jacks would be neat, which some of the more expensive models have.
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #6 - Aug 11th, 2007, 6:35am
 
clickykbd wrote on Jul 29th, 2007, 4:39am:
I've been leaning towards their HD stick, the successor of that one.

http://www.pinnaclesys.com/PublicSite/us/Products/Consumer+Products/PCTV+Tuners/PCTV+Analog_Digital+PVR/PCTV+HD+Stick


Happy to report!  the Pinnacle HD Stick Pro (80$) works well with both Capture library and JMyron, although so far I have only tested composite camera sources with it, and not taken a crack at digital TV and other HD sources.  Just watching those is hard for this laptop, so testing will have to wait for faster system.

I got mine here:
http://www.circuitcity.com/ssm/Pinnacle-PCTV-HD-Pro-Stick-230100090/sem/rpsm/oid/169034/catOid/-13043/rpem/ccd/productDetail.do
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #7 - Jul 9th, 2008, 11:46pm
 
Anyone here tried the VideoGlide driver on a Mac?

http://www.echofx.com/videoglide.html

I just ordered a GrabBeeX, to see how it works out. The indication that it might work comes from http://wiki.openframeworks.cc/index.php?title=Video_Capture_Devices_OS_X as it uses Quicktime for video.

Edit: This works well for me with Processing

AM
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #8 - Oct 1st, 2008, 7:04pm
 
I solutionned my problem by installing macam on Mac OS X
link:
http://webcam-osx.sourceforge.net/cameras/index.php
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #9 - Oct 15th, 2008, 6:40am
 
clickybd (or anyone!)

I'm having trouble getting my Pinnacle HD Stick Pro to work with Processing.  I can view the composite input on the Pinnacle software, but nowhere else.

I read Ben's FAQ on this topic and I thought I followed it all, but no luck.  Here are the details:

I receive the same errors in both Processing and WinVDIG 1.01 when I try to access the composite video input:

oPCTV DiB BDA Analog Capture (Dev1 Path2)-WDM: Problem starting streaming

and then

oPCTV DiB BDA Analog Capture (Dev1 Path2)-WDM: Could not open file-mapping object

I have the most recent Quicktime/iTunes package running on WinXP.
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #10 - Feb 4th, 2010, 6:42pm
 
Dude, seriously, if you are even going to bother doing something like this then you're going to be much happier if you spend a bit of money and gets some good hardware. If you go cheap your video quality is going to be so bad, and so un-shareable, you're going to wish you never bothered.
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #11 - Feb 6th, 2010, 11:44am
 
I built my own PVR that captures video.  I used a Hauppauge tv card along with GBPVR.  The card $100 GBPVR free!
Replacing the background pixels.
Reply #12 - Feb 8th, 2010, 10:40pm
 
I am using the video library to capture video.I am doing a project similiar to chromakey.I am to change the background with a chosen background image that i like by using a green background.By doing so,I can change the green background pixels with a still image pixels in the Data folder to change whatever background image that I like to have.
This is achieved by  reading the color of one of the captured green background pixel,then compare the whole frame pixels with the green pixels,therefore leaving behind only those pixels that does not have the green pixel.
The effect that i get is quite bad which i believe is the limitation of the processing and the camera.I try to smoothen out the effect by making an offset in the range of comparing the R,G.B of the green pixels,however the effect is still very bad.
The code is as follow:
import processing.video.*;

Capture video;
PImage img;
PImage img2;
float bgcolorR,bgcolorG,bgcolorB;
float videoR,videoG,videoB;
float imgR,imgB,imgG;
float offset=60;

void setup() {
 size(200,200);
 strokeWeight(5);
 // Uses the default video input, see the reference if this causes an error
 video = new Capture(this, width, height, 24);
 numPixels = video.width * video.height;
 noCursor();
 smooth();
}

void draw() {
 if (video.available()) {
   video.read();
   video.loadPixels();
   img = loadImage("sunflower.jpg");
   img2 = loadImage("ship.jpg");

   int threshold = 127; // Set the threshold value
   float pixelBrightness; // Declare variable to store a pixel's color
   loadPixels();

     for (int y = 0; y < height; y++ ) {
   for (int x = 0; x < width; x++ ) {
     int loc = x + y*width

     videoR=red(video.pixels[loc]);
     videoB=blue(video.pixels[loc]);
     videoG=green(video.pixels[loc]);
     
     
     
     bgcolorR=red(video.pixels[0]);
     bgcolorB=blue(video.pixels[0]);
     bgcolorG=green(video.pixels[0]);
     
     //comparing the video pixel with the green pixel with some offset value
     if((videoR>bgcolorR-offset&&videoR<bgcolorR+offset)&&(videoB>bgcolorB-offset&&vi
deoB<bgcolorB+offset )&&(videoG>bgcolorG-offset&&videoG<bgcolorG+offset)){
     color imgcolor=img.pixels[loc];
     
      imgR = (imgcolor >> 16) & 0xFF;
      imgG= (imgcolor >> 8) & 0xFF;
      imgB = imgcolor & 0xFF;
     

     pixels[loc] = color(imgR,imgG,imgB);
     }
     else
     {
       pixels[loc]=video.pixels[loc];
     }
       
    // pixels[loc]=video.pixels[loc];
     
   }
   }
 
 
   updatePixels();
 
}
}


I wonder if anyone has done similiar thing before.
Thanks for any help and advice
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #13 - Feb 14th, 2010, 4:03pm
 
Same here, so far, the Pinnacle HD Stick Pro does the job just fine. Even for HD 1080 vids.
Good luck...  Cool
Re: Hardware Capture Devices (USB/1394/etc)?
Reply #14 - Feb 17th, 2010, 10:37pm
 
GaryCl wrote on Feb 6th, 2010, 11:44am:
I built my own PVR that captures video.  I used a Hauppauge tv card along with GBPVR.  The card $100 GBPVR free!


I have one of these cards laying around collecting dust, How is this working out for you quality wise. Is the frame rate acceptable with this card. Also, how much system resources does it use since I dont believe that mine has a lot of processing power on the board.  Any info would be greatly appreciated.

Jim
Pages: 1 2