Capture images (JPEG) from IP-Camera

Hey there!
I have been trying to capture images from an IP-Camera. I understand that this has to be done by using a custom DataSource and I have tried many many example found here on the net, but with no results.
I think I've tried every piece of code found here at this forum regarding this subject.. :/
The best I could do was not getting an error while creating a custom DataSource from a BufferedStream..but the when I try to configure/realize the Processor - created with Manager.createProcessor(customdatasource) - it gives me an error which, I think, has something to do with unrecognized content..
I could post all the examples I tried but I think it would be too much of a confusion so...does anyone have a full working example of code to achieve this? WITH the frame grabber class? plizzzzzzzzz?
Thanks,
Edd

I felt Captfoss' solution was inspired and so gave it a go. The following builds a video from an ip cam jpg stream using a version of Sun's JpegImagesToMovie.java. It is hacked together quickly and with scope for improvement, but it works, proves the idea, and is a good example.
Run as:- java JpegImagesToMovie -w 320 -h 240 -f 30 -o file:test.avi
* @(#)JpegImagesToMovie.java     1.3 01/03/13
* Copyright (c) 1999-2001 Sun Microsystems, Inc. All Rights Reserved.
* Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
* modify and redistribute this software in source and binary code form,
* provided that i) this copyright notice and license appear on all copies of
* the software; and ii) Licensee does not utilize the software in a manner
* which is disparaging to Sun.
* This software is provided "AS IS," without a warranty of any kind. ALL
* EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
* IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
* NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
* LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
* OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
* LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
* INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
* CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
* OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
* This software is not designed or intended for use in on-line control of
* aircraft, air traffic, aircraft navigation or aircraft communications; or in
* the design, construction, operation or maintenance of any nuclear
* facility. Licensee represents and warrants that it will not use or
* redistribute the Software for such purposes.
* Some public domain modifications by Andy Dyble for avi etc by self and from 
* other internet resources 19/11/2008. Reads editable 20 ip cam network jpg files.
* Supported formats tested for compression options. This code could be much improved
* further to these amendments. Absolutely no warranties. www.exactfutures.com
import java.io.*;
import java.net.*;
import java.util.*;
import java.awt.Dimension;
import javax.media.*;
import javax.media.control.*;
import javax.media.protocol.*;
import javax.media.protocol.DataSource;
import javax.media.datasink.*;
import javax.media.format.VideoFormat;
import javax.media.format.JPEGFormat;
* This program takes a list of JPEG image files and convert them into
* a QuickTime movie.
public class JpegImagesToMovie implements ControllerListener, DataSinkListener {
    public boolean doIt(int width, int height, int frameRate, Vector inFiles, MediaLocator outML, String outputURL)
     ImageDataSource ids = new ImageDataSource(width, height, frameRate, inFiles);
     Processor p;
     try {
         System.err.println("- create processor for the image datasource ...");
         p = Manager.createProcessor(ids);
     } catch (Exception e) {
         System.err.println("Yikes!  Cannot create a processor from the data source.");
         return false;
     p.addControllerListener(this);
     // Put the Processor into configured state so we can set
     // some processing options on the processor.
     p.configure();
     if (!waitForState(p, p.Configured)) {
         System.err.println("Failed to configure the processor.");
         return false;
     // Set the output content descriptor to QuickTime.
     if(outputURL.endsWith(".avi") || outputURL.endsWith(".AVI"))
          p.setContentDescriptor(new ContentDescriptor(FileTypeDescriptor.MSVIDEO));
     if(outputURL.endsWith(".mov") || outputURL.endsWith(".MOV"))
          p.setContentDescriptor(new ContentDescriptor(FileTypeDescriptor.QUICKTIME));
     // Query for the processor for supported formats.
     // Then set it on the processor.
     TrackControl tcs[] = p.getTrackControls();
     for(int i=0;i<tcs.length;i++)
          System.out.println("TrackControl "+i+" "+tcs);
     Format f[] = tcs[0].getSupportedFormats();
     if (f == null || f.length <= 0) {
     System.err.println("The mux does not support the input format: " + tcs[0].getFormat());
     return false;
     for(int i=0;i<f.length;i++)
          System.out.println("Supported Format "+i+" "+f[i]);
//     tcs[0].setFormat(f[0]);
     if(outputURL.endsWith(".avi") || outputURL.endsWith(".AVI"))     // must be VideoFormat
          System.err.println("Setting the track format to: "     // INDEO50 CINEPAK f[0] etc
               + tcs[0].setFormat(new VideoFormat(VideoFormat.INDEO50)));
     if(outputURL.endsWith(".mov") || outputURL.endsWith(".MOV"))
          System.err.println("Setting the track format to: "     // JPEG CINEPAK RGB f[0] etc
               + tcs[0].setFormat(new VideoFormat(VideoFormat.JPEG)));
     //System.err.println("Setting the track format to: " + f[0]);
     // We are done with programming the processor. Let's just
     // realize it.
     p.realize();
     if (!waitForState(p, p.Realized)) {
     System.err.println("Failed to realize the processor.");
     return false;
     // Now, we'll need to create a DataSink.
     DataSink dsink;
     if ((dsink = createDataSink(p, outML)) == null) {
     System.err.println("Failed to create a DataSink for the given output MediaLocator: " + outML);
     return false;
     dsink.addDataSinkListener(this);
     fileDone = false;
     System.err.println("start processing...");
     // OK, we can now start the actual transcoding.
     try {
     p.start();
     dsink.start();
     } catch (IOException e) {
     System.err.println("IO error during processing");
     return false;
     // Wait for EndOfStream event.
     waitForFileDone();
     // Cleanup.
     try {
     dsink.close();
     } catch (Exception e) {}
     p.removeControllerListener(this);
     System.err.println("...done processing.");
     return true;
* Create the DataSink.
DataSink createDataSink(Processor p, MediaLocator outML) {
     DataSource ds;
     if ((ds = p.getDataOutput()) == null) {
     System.err.println("Something is really wrong: the processor does not have an output DataSource");
     return null;
     DataSink dsink;
     try {
     System.err.println("- create DataSink for: " + outML);
     dsink = Manager.createDataSink(ds, outML);
     dsink.open();
     } catch (Exception e) {
     System.err.println("Cannot create the DataSink: " + e);
     return null;
     return dsink;
Object waitSync = new Object();
boolean stateTransitionOK = true;
* Block until the processor has transitioned to the given state.
* Return false if the transition failed.
boolean waitForState(Processor p, int state) {
     synchronized (waitSync) {
     try {
          while (p.getState() < state && stateTransitionOK)
          waitSync.wait();
     } catch (Exception e) {}
     return stateTransitionOK;
* Controller Listener.
public void controllerUpdate(ControllerEvent evt) {
     if (evt instanceof ConfigureCompleteEvent ||
     evt instanceof RealizeCompleteEvent ||
     evt instanceof PrefetchCompleteEvent) {
     synchronized (waitSync) {
          stateTransitionOK = true;
          waitSync.notifyAll();
     } else if (evt instanceof ResourceUnavailableEvent) {
     synchronized (waitSync) {
          stateTransitionOK = false;
          waitSync.notifyAll();
     } else if (evt instanceof EndOfMediaEvent) {
     evt.getSourceController().stop();
     evt.getSourceController().close();
Object waitFileSync = new Object();
boolean fileDone = false;
boolean fileSuccess = true;
* Block until file writing is done.
boolean waitForFileDone() {
     synchronized (waitFileSync) {
     try {
          while (!fileDone)
          waitFileSync.wait();
     } catch (Exception e) {}
     return fileSuccess;
* Event handler for the file writer.
public void dataSinkUpdate(DataSinkEvent evt) {
     if (evt instanceof EndOfStreamEvent) {
     synchronized (waitFileSync) {
          fileDone = true;
          waitFileSync.notifyAll();
     } else if (evt instanceof DataSinkErrorEvent) {
     synchronized (waitFileSync) {
          fileDone = true;
          fileSuccess = false;
          waitFileSync.notifyAll();
     public static void createInputFiles(Vector files)
          // Create a file for the directory
          File file = new File("images");
          // Get the file list...
          String s[] = file.list();
          files.removeAllElements();     // if any set from arguments
          for(int i=0;i<s.length;i++)
               if(s[i].indexOf(".jp")!=-1)
                    files.addElement("images"+File.separator+s[i]);     // and to sort if required
               else
                    System.out.println((i+1)+": "+s[i]+" - ignored");
public static void main(String args[]) {
     if (args.length == 0)
     prUsage();
     // Parse the arguments.
     int i = 0;
     int width = -1, height = -1, frameRate = 1;
     Vector inputFiles = new Vector();
     String outputURL = null;
     while (i < args.length) {
     if (args[i].equals("-w")) {
          i++;
          if (i >= args.length)
          prUsage();
          width = new Integer(args[i]).intValue();
     } else if (args[i].equals("-h")) {
          i++;
          if (i >= args.length)
          prUsage();
          height = new Integer(args[i]).intValue();
     } else if (args[i].equals("-f")) {
          i++;
          if (i >= args.length)
          prUsage();
          frameRate = new Integer(args[i]).intValue();
     } else if (args[i].equals("-o")) {
          i++;
          if (i >= args.length)
          prUsage();
          outputURL = args[i];
     } else {
          inputFiles.addElement(args[i]);
     i++;
///     createInputFiles(inputFiles);
     if (outputURL == null)// || inputFiles.size() == 0)
     prUsage();
     // Check for output file extension.
     if(!outputURL.endsWith(".avi") && !outputURL.endsWith(".AVI") && !outputURL.endsWith(".mov") && !outputURL.endsWith(".MOV"))
          System.err.println("The output file extension should end with a .mov extension");
          prUsage();
     if (width < 0 || height < 0) {
     System.err.println("Please specify the correct image size.");
     prUsage();
     // Check the frame rate.
     if (frameRate < 1)
     frameRate = 1;
     // Generate the output media locators.
     MediaLocator oml;
     if ((oml = createMediaLocator(outputURL)) == null) {
     System.err.println("Cannot build media locator from: " + outputURL);
     System.exit(0);
     JpegImagesToMovie imageToMovie = new JpegImagesToMovie();
     imageToMovie.doIt(width, height, frameRate, inputFiles, oml, outputURL);
     System.exit(0);
static void prUsage() {
     System.err.println("Usage: java JpegImagesToMovie -w <width> -h <height> -f <frame rate> -o <output URL>");// <input JPEG file 1> <input JPEG file 2> ...");
     System.exit(-1);
* Create a media locator from the given string.
static MediaLocator createMediaLocator(String url) {
     MediaLocator ml;
     if (url.indexOf(":") > 0 && (ml = new MediaLocator(url)) != null)
     return ml;
     if (url.startsWith(File.separator)) {
     if ((ml = new MediaLocator("file:" + url)) != null)
          return ml;
     } else {
     String file = "file:" + System.getProperty("user.dir") + File.separator + url;
     if ((ml = new MediaLocator(file)) != null)
          return ml;
     return null;
// Inner classes.
* A DataSource to read from a list of JPEG image files and
* turn that into a stream of JMF buffers.
* The DataSource is not seekable or positionable.
class ImageDataSource extends PullBufferDataSource {
     ImageSourceStream streams[];
     ImageDataSource(int width, int height, int frameRate, Vector images) {
     streams = new ImageSourceStream[1];
     streams[0] = new ImageSourceStream(width, height, frameRate, images);
     public void setLocator(MediaLocator source) {
     public MediaLocator getLocator() {
     return null;
     * Content type is of RAW since we are sending buffers of video
     * frames without a container format.
     public String getContentType() {
     return ContentDescriptor.RAW;
     public void connect() {
     public void disconnect() {
     public void start() {
     public void stop() {
     * Return the ImageSourceStreams.
     public PullBufferStream[] getStreams() {
     return streams;
     * We could have derived the duration from the number of
     * frames and frame rate. But for the purpose of this program,
     * it's not necessary.
     public Time getDuration() {
     return DURATION_UNKNOWN;
     public Object[] getControls() {
     return new Object[0];
     public Object getControl(String type) {
     return null;
* The source stream to go along with ImageDataSource.
class ImageSourceStream implements PullBufferStream {
     Vector images;
     int width, height;
     VideoFormat format;
     int nextImage = 0;     // index of the next image to be read.
     boolean ended = false;
     float frameRate;
     long seqNo = 0;
     public ImageSourceStream(int width, int height, int frameRate, Vector images) {
     this.width = width;
     this.height = height;
     this.images = images;
          this.frameRate = (float)frameRate;
     format = new VideoFormat(VideoFormat.JPEG,
                    new Dimension(width, height),
                    Format.NOT_SPECIFIED,
                    Format.byteArray,
                    (float)frameRate);
     * We should never need to block assuming data are read from files.
     public boolean willReadBlock() {
     return false;
byte[] input_buffer;
byte[] imgbytearray;
byte[] imgusebyte;
int camWidth = 320;
int camHeight = 240;
URL url;
long timeStamp;long timeStamp0=System.currentTimeMillis();long resultTimeStamp;
     public boolean urlFetchJPG()
          String ipcamserver = "146.176.65.10";     // examples 146.176.65.10 , 62.16.100.204 , 194.168.163.96 , 84.93.217.139 , 194.177.131.229 , 148.61.171.201
          try
               url = new URL("http://"+ipcamserver+"/axis-cgi/jpg/image.cgi?camera=&resolution=320x240".trim());
          catch(Exception e){System.out.println("Exception url "+e);}
          try
               if(input_buffer==null)input_buffer = new byte[8192];
               if(imgbytearray==null)imgbytearray = new byte[camWidth*camHeight*3];
               URLConnection uc = url.openConnection();
               uc.setUseCaches(false);
               //uc.setDoInput(true);
               //uc.setRequestProperty("accept","image/jpeg,text/html,text/plain");
               BufferedInputStream in;
               int bytes_read;
               int sumread=0;
               in = new BufferedInputStream(uc.getInputStream());
               while((bytes_read=in.read(input_buffer, 0, 8192))!=-1)
                    if(sumread+bytes_read>imgbytearray.length)
                         byte[] imgbytearraytemp = new byte[sumread+bytes_read+8192];
                         System.arraycopy(imgbytearray,0,imgbytearraytemp,0,imgbytearray.length);
                    System.arraycopy(input_buffer,0,imgbytearray,sumread,bytes_read);
                    sumread=sumread+bytes_read;
               in.close();
               imgusebyte = new byte[sumread];
               System.arraycopy(imgbytearray,0,imgusebyte,0,sumread);
          catch(Exception e){System.out.println("Exception urlFetchJPG "+e);}
          return true;
     * This is called from the Processor to read a frame worth
     * of video data.
     public void read(Buffer buf) throws IOException {
     // Check if we've finished all the frames.
     if (nextImage >= 20) //images.size())
          // We are done. Set EndOfMedia.
          System.err.println("Done reading all images.");
          buf.setEOM(true);
          buf.setOffset(0);
          buf.setLength(0);
          ended = true;
          return;
///     String imageFile = (String)images.elementAt(nextImage);
     nextImage++;
//     System.err.println(" - reading image file: " + imageFile);
     // Open a random access file for the next image.
///     RandomAccessFile raFile;
///     raFile = new RandomAccessFile(imageFile, "r");
     byte data[] = null;
     // Check the input buffer type & size.
///     if (buf.getData() instanceof byte[])
///          data = (byte[])buf.getData();
          urlFetchJPG();
          data = imgusebyte;
     // Check to see the given buffer is big enough for the frame.
///     if (data == null || data.length < raFile.length()) {
///          data = new byte[(int)raFile.length()];
          buf.setData(data);
     // Read the entire JPEG image from the file.
///     raFile.readFully(data, 0, (int)raFile.length());
//     System.err.println(" read " + raFile.length() + " bytes.");
     buf.setOffset(0);
///     buf.setLength((int)raFile.length());
          buf.setLength(data.length);
     buf.setFormat(format);
     buf.setFlags(buf.getFlags() | buf.FLAG_KEY_FRAME);
///          long time = (long)(seqNo * (1000D / frameRate) * 1000000);
          timeStamp = System.currentTimeMillis();
          resultTimeStamp = timeStamp - timeStamp0;
          long time = resultTimeStamp * 0xf4240L;
          buf.setTimeStamp(time);
          buf.setSequenceNumber(seqNo++);
     // Close the random access file.
///     raFile.close();
     * Return the format of each video frame. That will be JPEG.
     public Format getFormat() {
     return format;
     public ContentDescriptor getContentDescriptor() {
     return new ContentDescriptor(ContentDescriptor.RAW);
     public long getContentLength() {
     return 0;
     public boolean endOfStream() {
     return ended;
     public Object[] getControls() {
     return new Object[0];
     public Object getControl(String type) {
     return null;
{code}

Similar Messages

  • Can you capture images directly from a fuji camera - Fine Pix S2pro

    can you capture images directly from a fuji camera -- Fine Pix S2pro or Fine Pix S2pro to a imac running 10.6.5
    camera tethered to the imac

    Page 76. Thanks!!!
    You can quickly open Camera when the screen is locked by double-clicking the Home button, then tapping          .

  • I would like to create a pop-up window appear from Labview Interface. In this window, I will have a slide control and an image taken from a camera. The main VI have to run while pop-up window is open. How can I do ?

    When I pushed a button, this pop-up window has to appear. There will be a slide control and a picture from a camera in this window. Is it possible to make appear this windows while main VI Interface continue to run ? How can I do this ? Thank you for your answers.
    Cyril.

    Here you go. This is simple example. Maybe not the best way, I am just
    beginner in LV and still not comfortable with data flow that much. I prefer
    events, so I would change this to use Event Structures.
    When you click on OK button on SliderMain, it opens Slider.vi. Now both
    windows are open and you can interact with both. Now if you click on OK
    again with Slider.vi open, you run into problems. Only thing I did was
    change VI properties of slider.vi, mainly window appearance.
    vishi
    "Cy" wrote in message
    news:[email protected]..
    > I would like to create a pop-up window appear from Labview Interface.
    > In this window, I will have a slide control and an image taken from a
    > camera. The main VI hav
    e to run while pop-up window is open. How can I
    > do ?
    >
    > When I pushed a button, this pop-up window has to appear. There will
    > be a slide control and a picture from a camera in this window. Is it
    > possible to make appear this windows while main VI Interface continue
    > to run ? How can I do this ? Thank you for your answers.
    > Cyril.
    [Attachment SliderMain.vi, see below]
    [Attachment Slider.vi, see below]
    Attachments:
    SliderMain.vi ‏16 KB
    Slider.vi ‏11 KB

  • Warranty on the issue of purple spot in images taken from rear camera?

    My iPhone 5 have purple spot in images taken from rear camera. I just noticed the issue in my phone today.
    I researched online and some people also have the same issue and have their phone replaced in Apple shops.
    I don't have any receipt or store warranty card since it was just given to me as a gift in the Philippines last April 2013, I checked the warranty coverage status (https://selfsolve.apple.com/agreementWarrantyDynamic.do) and it still has repair and service coverage.
    Im now here in Dubai, and my question is that will Apple Premium Reseller shops here in Dubai honor the said warranty and have my iPhone repaired or replaced?

    Im now here in Dubai, and my question is that will Apple Premium Reseller shops here in Dubai honor the said warranty and have my iPhone repaired or replaced?
    No.
    The warranty for an iPhone purchased from an official source in the Philippines will be honored in the Philippines only.

  • How can I get my new ipad 4 to read my compact flash cards? If not can I download the images directly from my camera?

    how can I get my new ipad 4 to read my compact flash cards? If not, can I download the images directly from my camera?

    Tom, thanks for your quick reply. I'm a commerical photographer using Canon 5D mk2's mostly and have in the past just downloaded images to a mac book for backup. I really liked the compact size of the Ipad and just got the retina model with the camera connection kit and seem to be hearing that CF readers can't be used with it b/c they draw too much power. Seems like I remember reading I could use a cord that might have come with my cameras to download directly to the Ipad. I haven't tried it yet as I can't find the connection but then you just said it can't be done? 
       I'm COMPLETLY lost as to your "first pluging in a flash drive to my computer, advice. Do you mean Ipad when you say computer?  "then put your movie/photo files into the folder." HOW????????
         Then plug it into the Ipad??????     TOTALLY lost.
    Also your saying just "do a google search for a reader doesn't work b/c NONE are able to work with the newer Ipads b/c they use TOO much power or so everyone says everyone that have tried.
       Hope you can help a little more b/c I'm really getting frustrated with all the conflicting advice!
    Thanks, Dennis  [email protected]

  • I have problems with uploading images to my printing company have the images have been manipulated through CS6 i have saved images as jpeg but the printer company tell me they are not j peg, they will not upload images save from a camera are fine

    I have problems with uploading images to my internet printing company when  the images have been manipulated through CS6 and  i have saved images as jpeg  the printer company tell me they are not j peg,
    but images saved from my phone or camera images that have not been manipulated upload fine, What am i doing wrong?

    Save/Export them as JPG. Photoshop defaults to PSD, so make sure you select JPG and not just rename the file to .jpg.
    There are two ways to save them as JPG: Regular Save as option or Save for Web & Devices
    Take your pick.

  • Capturing live Video From DV Camera

    I Tried to capture a church service using iMovie. I Expected multiple files because of the file size limit and imovie braking up the file. I also assumed that these files butt seamlessly together, but to my surprise they do not. How can i get a hour+ of continues live video recorded?

    Please note that I don't believe your camera will put out a proper full-resolution, full-quality HD signal via HDMI while in record mode. DSLR cameras are notorius for not allowing you to fully turn off info overlays on the HDMI output, or even if you can on your particular camera, the output signal is somewhat cropped or otherwise not a proper HD signal.
    We're a reseller of the Atomos Ninja portable recorders and this has been a huge issue - DSLR shooters want to use Ninja for the exact purpose you mention, for long, uninterrupted recordings, but the HDMI outputs from those cameras are just not suitable.
    Do this - connect the HDMI out from your camera to an HD display and start recording with the camera. Do you get a perfect, full-screen image without any overlays or any cropping, and at full quality? My understanding is that they all "dumb-down" the output signal in some regard while recording, unlike video cameras that will all put out a perfect HD image. The only 2 DSLRs that I'm aware of with "clean" output are the Panasonic Lumix GH2, and the new Nikon D4.
    As mentioned, even if a DSLR camera will put out a good image, you will need a "capture device" with HDMI input such as BMD Intensity or Matrox MXO2 Mini connected to Mac or PC.
    Thanks
    Jeff Pulera
    Safe Harbor Computers

  • Safari 6 does not display motion jpegs from IP camera

    I do have several IP cameras from Axis and other companies. Until I upgraded to Moutain Lion / Safari 6, they worked fine. But in Safari 6, the motion JPEG is no longer streaming. It streams a few frames, but then stalls. Has anybody seen this as well?

    I will say that since I originally responded above that although Firefox works almost all the time, I have had a couple of occasions where Firefox as become unresponsive while streaming pictures from my Panasonic cameras...  The behavior is much worse on Safari where I can, in effect, only get one or a view images before it freezes and no more streaming occurs until you leave that streaming page and come right back to it, where it sends a few more frames and then freezes again...  Firefox never does any of that.  However, I do believe the couple of times where it has become unresponsive while streaming the same video images is likely related to a similar problem that Safari has under Mountain Lion.  But until Apple makes some improvement I have basically needed to stop using Safari to view images from these cameras...  I haven't tried Chrome...  Maybe I will give that a shot next... 
    And don't forget to send feedback to Apple at
    http://www.apple.com/feedback/
    thanks... bob...

  • I can't import image files from my camera to Photoshop Elements

    My iMac recognizes my camera (a Canon Powershot S100 Digital Elph).  I know this because it automatically starts iPhoto and loads the images.  The problem is, I am sick and tired of iPhoto, and I want to use Photoshop Elements instead.   When I connect the camera to the iMac (via a USB port), I do NOT get a camera icon signifying a new volume or drive on my desktop.  So when I open Photoshop 4.0, I can't find the files to import.  I could allow the computer to import automatically into the iPhoto library, then manually drag the image files into a different directory for use by PSE, but that seems way too complicated.  Why should I have to do that?  Please help if you can.
    John

    I'm using OS X 10.4.11. 
    Maybe I didn't explain it very well.  Let me try again:
    I would like to be able to connect my camera to the USB port of the iMac, turn on the camera, and then view the images from the camera memory on the screen using Bridge (the subroutine for file management in Photoshop Elements).  I have not been able to do that. 
    Instead, my iMac immediately displays the camera images by opening iPhoto.  There is no option in iPhoto for importing the images to anything other than the iPhoto library.  So I have to go find them there, copy them into the directory were I want them, and then erase them from the library (which is a little tricky by itself).  Then I can manage them in Elements/Bridge.
    I thought when I bought Photoshop Elements that I would be able to open it and then tell it to import the images from my camera, into a directory of my choosing.  That would be less error-prone and a lot less work. 

  • How to save image catch from USB camera to database ?

    Hi guys.
    I needed help on IMAQdx tools. But i dont know how to save image that catch from USB camera to database.

    So you can acquire the image OK?
    And you want to save it to a SQL database?
    See here:
    http://zone.ni.com/devzone/cda/epd/p/id/5210

  • May I receive resolution 640*480 in image LV from WEB-camera

    Hello all
    I have
    LV7.1.1
    I received
    the image from WEB-camera.
    WEB-camera
    has resolution 640*480 but I have resolution in the Image of LV -  320*240.
    May I
    receive resolution 640*480 in LV
    With respect.
    Aleksandr

    Hello,
    I assume you have to change the settings of the camera and not the code in LabVIEW...
    Just in case, see the attached code in LV 7.1.1 that allows to change the image resolution.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    AC_Util_ResampleImage.vi ‏126 KB

  • Unable to capture DV footage from HDV camera

    I am trying to capture from a dv tape using the Sony HVR-Z1E, but I keep getting the following message:
    Unable to initialize capture device and device control........ This might also happen if you play DV footage in an HDV device.
    I have tried changing the settings on the camera but to no avail.

    Hi James,
    This is a good workaround for curing your camera recognition problem:
    First, check that your Easy Setup / Timeline / Camera or Deck Settings are all exactly the same, then making sure your camera or deck is in VTR mode, try to capture again.
    Still not working?
    Check whether iMovie recognises your camera.
    FCP uses a different form of QT than iMovie for capturing, so if the camera works in iMovie (or if it's listed in System Profiler) but not FCP, it obviously means your Mac can see the VTR but FCP can't, so you need to do this QuickTime fix.
    http://docs.info.apple.com/article.html?artnum=301852
    Follow Apple's instructions carefully and you should have things running in no time - it's quite harmless!
    But if the Camera / Deck isn't recognised by iMovie or System Profiler, try resetting the Firewire Bus . . . Turn off the Mac and disconnect the power and all Firewire cables. Leave it for 30 mins then connect back up.
    Still not working? Try a different Firewire cable.
    Failing all this, try resetting the PMU (Power Management Unit). The method varies from machine to machine, so visit the Apple site and search for it in support.
    Don't use iMovie for capturing - it doesn't give you a timecode and that's very important.
    Let us know how you get on!
    Andy
    Quad 8GB. 250+500 HDs. G-Raid 1TB. NORTON. FCP 5.1.1. Shake 4.1. Sony HVR Z1E   Mac OS X (10.4.7)  
    "I've taught you all I know, and still you know nothing".

  • I recently purchased a macbook pro and i am trying to put some camcorder footage from my sony vx 2000 onto iMovies. for some reason i cannot import or capture any footage from my camera and tapes onto the imovies. i have the 9 to 4 inch pin firewall cable

    i have a sony vx2000 and a macbook pro and i obtained the 9 to 4 inch firewall cable. my issue is that cant get any footage from my vx2000 to my imovies. i have looked up how to do it online and they make seem like you just plug it in and go its all golden. but not for me what am i doing wrong it does seem to be recoginize that my camera is even plugged in and no way letting import of capture any of my footage to my imovies. please help

    The camera must be plugged in to AC power (not batteries only). And generally, the camera should be set to Play mode, not recording mode.

  • Problems with .dv file captured using Capture Magic HD from Panasonic Cam

    I am trying to capture video from my Panasonic AG-HVX200P Camera using a program called Capture Magic HD, and I want to capture using the Raw DV or M2T Stream file type setting. There is another option of Write DV as Quicktime setting, but takes forever to write. When I get the .dv footage, it has like a rainbow color look to it. Does anybody think that it's the program Capture Magic HD having problems, or my mac?

    My response in these discussions is always, "record to tape." You can solve any issue in post if you have the tape. If you don't have the tape, you're stuck with whatever you decided to try to capture. In many dozens of "capture live" threads we've entertained here over the years, I cna only recall a few where the user was actually satisfied they captured to the drives instead of to tape. All others ended in terrible, totally avoidable disasters.
    But I digress.
    You're saying this application digitizes and writes a separate .m2t file for each of the video source inputs?
    I have never heard of .m2t so I looked these up. the most interesting is that is seems to be a variant of the regular ol' HDV disguised as MPEG2. You might try simply changing the file extension or the Open With setting.
    from the cow:
    Okay, believe it or not, the solution is as simple as this - rename the .m2t to .mpg Ya, that's it. Now try to load it and After Effects has no trouble recognizing it. I'm going to delve into Vegas to see if it can change the extension on files it captures to save a few keystrokes but at least I'm back to editing rather than agonizing over having to render my files to another format before taking them to AE. <</div>
    Respond to this post Return to posts index
    Re: Sony m2t file workaround
    by Dave LaRonde on Jun 9, 2008 at 2:33:12 pm
    [Craig Stewart] "the solution is as simple as this - rename the .m2t to .mpg "
    That's not a really terrific solution if you intend to use the footage in AE. Read on:
    Dave's Stock Answer #1:
    If the footage you imported into AE is any kind of the following -- Native HDV, MPEG1, MPEG2, mp4, m2t, H.261 or H.264 -- you need to convert it to a different codec.
    These kinds of footage use temporal, or interframe compression. They have keyframes at regular intervals, containing complete frame information. However, the frames in between do NOT have complete information. Interframe codecs toss out duplicated information.
    In order to maintain peak rendering efficiency, AE needs complete information for each and every frame. But because these kinds of footage contain only partial information, AE freaks out, resulting in a wide variety of problems.
    So..... just to make sure if I've got this straight:
    You're proposing to change the suffix from .m2t to .mpg..... which is MPEG, yes? A temporally-compressed codec, yes?
    It sounds to me like you'd just be swapping one problem for another.
    Dave LaRonde
    Sr. Promotion Producer
    KCRG-TV (ABC) Cedar Rapids, IA
    <
    <div class="jive-quote">After changing the .m2t extension on samples video files to .mpg, I was also able to view them on the RealOne Player version 2.<
    It’s an Mpeg file for high definition Television. If you have a JVC HD camcorder, files downloaded to a pc are converted to this format.</div>
    <
    <div class="jive-quote">File Description High-definition video recording format used by many HD camcorders; commonly referred to as "HDV;" uses MPEG-2 compression to store HD video data on DV or MiniDV tapes; supports resolutions of 720p and 1080i. <</div>

  • How can I map an image (JPEG) from the SQL database image string

    I saved the image into SQL database, see attachment (SaveImage2SQLDB.rar), while I have some trouble to retrieve the image. I also attached the vi which I used to convert the string to image. The string already has a value I obtained from the database. Can anyone tell me the reason why it didn't work.
    Thanks in advance.
    Jane
    LabVIEW 2012, VDM 2012
    Attachments:
    convertstringtoimage.vi ‏78 KB
    SaveImage2SQLDB.zip ‏27 KB

    Hi Jane,
    What exactly isn't happening correctly?  The conversion or the retrieval? 
    This discussion forum may be of some use: http://forums.ni.com/t5/LabVIEW/image-from-compressed-string/m-p/2207894
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

Maybe you are looking for

  • Blank DVDs and CD-Rs No Longer Appear

    Since installing the latest security update for 10.3.9 on my 1.8 Dual Processor PowerMac (yes, I repaired permissions immediately before and after installing the update) blank recordable media no longer appear in Finder or on the Desktop. I am able t

  • Solaris cluster event log

    Someone please tell me there is a way to get readable data from the even log in /var/cluster/log. I'm not finding anything in my searches, so I really hope I'm just overlooking something simple. Thanks in advance for any help.

  • Time machine cant see old backups with New Macbook

    Hello, I recently migrated from an iMac to a MacBookPro6. I plugged in my externals hard drive into my Macbook and was accessing old backups from my iMac without a problem. THEN I used the hard drive to backup with time machine and now I cannot acces

  • Apple mail not showing all the messages?

    In Apple mail, for my icloud account, I have some mailboxes which show the wrong number of messages, it shows too few. As an example, a mailbox contains 150 messages, but apple mail reports there are only 146. I rebuilt the mailbox and let apple mail

  • How do I open music files from standard CDs on CS4?

    I recently got CS4 and have no idea of how to open songs from standard CDs, I have a lot of uncopyrighted music on standard CDs that I use in my productions but after hours of trying, I have given up how to open or extract the audios from the CDs on