AVCaptureDevice adjustingExposure is False but captured image is dark

The facetime camera is supposed to automatically set exposure but the adjustingExposure parameter of AVCaptureDevice is always "NO" and the observer is never called. So my app does not now when it's safe to capture the image.
I've described my code in more details on stackoverflow:
http://stackoverflow.com/questions/27260697/avcapturedevice-adjustingexposure-is -false-but-captured-image-is-dark

You may need to register your camera with the the launch service database again, see this post by Alan Roseman: Re: Aperture 3 preview of raw file greenish
There is a "typo" in the command given in the link above, so read also the following posts on how to correctly enter the command and how the fix is supposed to work
Good luck.
Post back, if this does not help.
Regards
Léonie

Similar Messages

  • HT3805 Sudden problem: Adjustment panel blank (metadata and library OK). Thumbnail shown as file loads but then  image has dark blue cast and is not adjustable.  Have current version of Aperture running.  Help please

    Aperture Help needed: Adjustment panel is blank, although metadata and library panels normal.  Thumbnails appear normal but when RAW (CR2) file is loaded, it appears with a dark blue cast, and does not load into the adjustment panel, and is not adjustable. Suggestions please

    You may need to register your camera with the the launch service database again, see this post by Alan Roseman: Re: Aperture 3 preview of raw file greenish
    There is a "typo" in the command given in the link above, so read also the following posts on how to correctly enter the command and how the fix is supposed to work
    Good luck.
    Post back, if this does not help.
    Regards
    Léonie

  • When capturing images from a Nikon D600, they show in Bridge, but when clicked to load into CS6,an error message says that it is the wrong type of document, even jpeg files. This is a NEW frustration.

    When capturing images from a Nikon D600, they show in Bridge, but when clicked to load into CS6,an error message says that it is the wrong type of document, evne jpeg files. This is a NEW frustration.

    Nikon raw files would open up in Adobe Camera Raw and so should jpegs.
    If you select one in Bridge and give the command "Ctrl r" (Windows), what happens?
    Also what is the version of ACR in the title bar?
    Gene
    Note: unmark your question as "answered". the green balloon next to the subject shows it as "solved".

  • 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}

  • Problem with capture image from wc

    hi all, i want to capture image from my webcam and play it, but it's not work
    please help me, here's code
    public class Demo extends JFrame {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Demo demo = new Demo();
         public Demo() {
              super();
              int a=30;
              final JPanel panel = new JPanel();
              getContentPane().add(panel, BorderLayout.CENTER);
              setVisible(true);
              DataSource dataSource = null;
              PushBufferStream pbs;
              Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
              CaptureDeviceInfo deviceInfo=null;boolean VideoFormatMatch=false;
              for(int i=0;i<deviceList.size();i++) {
              // search for video device
              deviceInfo = (CaptureDeviceInfo)deviceList.elementAt(i);
              if(deviceInfo.getName().indexOf("vfw:/")<0)continue;
              VideoFormat videoFormat=new VideoFormat("YUV");
              System.out.println("Format: "+ videoFormat.toString());
              Dimension size= videoFormat.getSize();
              panel.setSize(size.width,size.height);
              MediaLocator loc = deviceInfo.getLocator();
              try {
                   dataSource = (DataSource) Manager.createDataSource(loc);
                   // dataSource=Manager.createCloneableDataSource(dataSource);
                   } catch(Exception e){}
                   Thread.yield();
                   try {
                        pbs=(PushBufferStream) dataSource.getStreams()[0];
                        ((com.sun.media.protocol.vfw.VFWSourceStream)pbs).DEBUG=true;
                        } catch(Exception e){}
                        Thread.yield();
                        try{dataSource.start();}catch(Exception e){System.out.println("Exception dataSource.start() "+e);}
                        Thread.yield();
                        try{Thread.sleep(1000);}catch(Exception e){} // to let camera settle ahead of processing
    }

    iTool wrote:
    hi all, i want to capture image from my webcam and play it, but it's not workThat's a very descriptive error message, "it's not work". Everyone on the board will certainly be able to help you out with that.
    The first error I see is that you're using the CaptureDeviceManager in an applet. If T.B.M pops in here, he can tell you why that's going to be a CF 99% of the time.
    The other error I see is that your code looks absolutely nothing like any working JMF webcam capture code I've personally ever seen.
    Lastly, the big one, even if you were somehow capturing video magically, you're not even trying to display it...so I'm not entirely sure why you expect to see anything with the code you just posted.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JVidCap.html]
    Your best bet would be starting over and using the example code from the page linked above.

  • Unable to capture images since upgrade to MDT 2013

    I recently updated MDT 2012 to MDT 2013 to enable support for Windows 8.1. Under MDT 2012 I was able to both capture and deploy images without an issue. Since upgrading to MDT 2013 I've had nothing but grief. When I launch my Sysprep and Capture task I am
    returned with the following error:
    Error creating an image of drive D:, rc=2ZTI ERROR -Non-zero return code by ZTIBackup, rc=2Litetouch deployment failed, Return Code = -2147467259 0x80004005
    Failed to run the action: Create WIM.
    The system cannot find the file specified. (Error: 00000002; Source: Windows)
    The execution of the group (Capture Image) has failed and the execution has been aborted.
    An action failed.
    Operation aborted (Error: 80004004; Source Windows)
    Failed to run the last action Create WIM.  Execution of task sequence failed.
    The system cannot find the file specified.  (Error 00000002; Source: Windows)
    Task Sequence Engine Failed!  Code: enExecutionFail
    Task sequence execution failed with error code 80004005
    Error TAsk Sequence Manager failed to execute task sequence.  Code 0x80004005
    Once the machine boots up again I check the BDD log located in C:\Windows\Temp\DeploymentLogs and notice the following error:
    <![LOG[  Console > Error opening file [\\rmh-vm-mdt2012\DeploymentShare$\Captures\WINDOWS.8.1.REF.wim].]LOG]!><time="10:23:55.000+000" date="02-06-2014" component="ZTIBackup" context="" type="1"
    thread="" file="ZTIBackup">
    <![LOG[  Console > Access is denied. ]LOG]!><time="10:23:55.000+000" date="02-06-2014" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    My issue appears to be a permissions problem.  For troubleshooting purposes I've given Everyone full access to \DeploymentShare$ however the problem continues to persist. 
    I'm not sure where to go from here.  Hoping someone can help. 
    Thanks.

    Additionally, ensure that the share itself is marked R/W access.
    As a test, boot to WinPE and try to create a file, any file on the share.
    However, Lordy86 may have the correct solution :^).
    Keith Garner - keithga.wordpress.com

  • WDS capture image on a Windows 2012 R2 server fails with a winload error

    Hello,
    I have been fighting with this problem for days now. I have to install
    30 Win8.1 Pro PC's with  WDS. The WDS service is running on a Win2012 R2
    server. I added the Win 8.1 Pro boot and install images and created a capture image.
    Now when I boot the reference computer I get  a Boot Manager message saying that winload.exe is missing or corrupt. The original boot wim works
    correctly.I removed and added the WDS role a couple of times, I tried the procedure with a 32 bit Win7 boot image, and that worked, But when I added the capture image created from the original Win8.1 boot.wim, that spoiled both capture images.  I tried
    the same thing with a Win2012 R2 Standard server after removing and adding the WDS role again, but the capture image generated the same error as above. .I see that since about mid-April many people has the same problem.Different solutions are suggested, but
    none of them   worked for me.  One of them is to mount and unmount the capture image, that didn't help for me.
    Any help is appreciated.
    Thanks
    Gabor

    Do I understand correctly that if you deploy original wim file to your testPC1 it works all right, but if you deploy an image that you captured on buildPC to testPC1 then you get the winload.exe error ?
     Are you formatting (deleting all the partitions) on testPC1 during the
    deployment of captured image ? Can you check and confirm if the HDD seting for AHCI or IDE (yes, its still around) is the same option on both stations?

  • Imported from cf but all images are mixed up

    I have downloaded LR for a 30 day trial.  I have succesfully imported images from
    compact flash memory card.
    BUT The images have not downloaded in order of the time taken.  I therefore have a jumble of different photo shoots.
    What do I need to do to avoid this happening again ?
    How can I quickly sort these into the relevant folders so I can find them again eg: Wedding one, two, three
    Thank U - Hoping someone can advise x

    Try changing the Sort order from Added Order to Captured Time when in the Library module, either using the View / Sort menu item up top, or using the Toolbar along the bottom of the Grid view that you may need to make visible using the T key.
    As far as sorting things quickly into relevant folders, what folder or folders on your hard-drive are the photos in, now, and do the folders already exist you want to move the photos to or will you be creating them?
    The way I move photos from one folder to a set of folders I create, is to select the photos I want to move in the Grid view, then go over to the folder listing at the left and right-click on the folder than is above where I want to create a new folder, then choose Create Folder Inside "xxxxxxxx", type in a name and also make sure Include Selected Photos is enabled, and then click Ok.
    If the destination folder already exists in the folder list at the left, then just right-click on that folder in the folder view at the left and choose the Move option.

  • Administrator account is disable when deploying windows 7 x64 captured image

    I’m using MDT 2012 update 1. I create one deployment share with two task sequence.
    The task sequences are: one for windows 7 x86 and the other one is windows 7 x64.
    Both are working fine until I try to sysprep and capture with all the windows updates.
    Sysprep and capture windows 7 x86 with all windows update work fine. I’m able to deploy the captured image without an error.
    My problem is with the windows 7 x64 captured image. I’m able to sysprep and capture the windows7 x64 with all the windows update. Once the capture is completed, I change the .win file in my windows 7 x64 task sequence to point to the new .win file (capture
    image with all the windows update). When I deploy windows 7 x64 on a pc, the OS get install but boot up to the sign on screen. The Task sequence does not complete. No error message. Cannot log in as local or domain administrator, account is disable.
    Why does it work with my windows 7 x86 image and not with my windows 7 x64 image?
    With my windows 7 x86 image the task sequence completed successfully with no error and it logon automatically in windows but not with my windows 7 x64 image.
    Both task sequences are the same.
    Let me know if any info for this please.
    thanks

    They should both work, perhaps you missed a step when creating the x64 image.
    1. Verify that the Windows 7 x64 image was created cleanly, with no errors. Sysprep ran with no errors.
    2. Verify that you created the windows 7 deployment task sequence cleanly. I would do a windiff of the TS.xml and unattend.xml file from both folders in the deployment share.
    3. Try running without a domain. Some domain's have a GP set to disable the local administrator account.
    Keith Garner - keithga.wordpress.com

  • Labview IMAQ VI for capturing images and saving with incremental file names

    Hello,
    I am using LabView 7.1(IMAQ) to capture images with NI's PCI 1426 card, and a JAI CV-M2 camera. Now, with the example VI's like LL Grab, or LL Sequence, or Snap and Save to File.vi, I can capture the images. But what I actually want is to capture images continuously and keep saving them with a sequentially incrementing file name.
    I have tried to modify the Snap and Save to File.vi  by adding a 'for loop', so as to run this for required number of images. This works okay, but I can't really change the file name after every image. However, I'm not confident with this method either. I think it would be better to use the buffer itself, as is given in LL Grab.vi and somehow save images from the buffer. I think this would be faster ?
    In any case, any ideas as to how I should go about implementing auto-incrementing of the file name ?
    Any help will do. 
    Thanks.
    - Prashant

    Hi,
    Thanks a lot for replying. 
    I tried using this in the VI i was working with, but using the "build path" vi doesnt seem to work. If I use just the base path from user's input, it works, but then again it keeps overwriting the images into one file rather than giving each file a new name. I'm attaching the vi. 
    Please take a look and tell me where i'm going wrong.
    Thanks again.
    Attachments:
    LL Sequence_mod.vi ‏62 KB

  • Capture images

    Hello Sir and Maam!
    i am an engineering student. i have a problem, i want to take pictures form labview using my built in camera in my laptop. I have read many discussions hwo to use it.. I downloaded Ni Imaq, Visa, Vision Assistant too but in the end my built in camera is not supported to capture images. I need to do it but after searching some cameras that Labview is compatible it is too much costy for me.
    to make that story short i found an example program that makes me allow to use of my built in camera. I'll attatch it here. But i want to ask a favor on how to add some codes to capture image. it is just using a express vi. 
    I'll attatch the code! tnx maam and sir!
    -hoping for your help
    Example Grab Express.vi
    Solved!
    Go to Solution.
    Attachments:
    IMAQdx Express Examples.llb ‏482 KB
    IMAQdx Express Examples.llb ‏482 KB

    Mr_ask wrote:
    Hello Sir and Maam!
    i am an engineering student. i have a problem, i want to take pictures form labview using my built in camera in my laptop. I have read many discussions hwo to use it.. I downloaded Ni Imaq, Visa, Vision Assistant too but in the end my built in camera is not supported to capture images. I need to do it but after searching some cameras that Labview is compatible it is too much costy for me.
    to make that story short i found an example program that makes me allow to use of my built in camera. I'll attatch it here. But i want to ask a favor on how to add some codes to capture image. it is just using a express vi. 
    I'll attatch the code! tnx maam and sir!
    -hoping for your help
    Example Grab Express.vi
    check this vi i made to snap and save image. You can use MAX to get camera name or to configure them too.
    Attachments:
    camera snap.vi ‏52 KB

  • Capture image after Sysprep w/generalize option...

    Hello all. disclaimer...I'm more versed in IBM mainframe OSes but I can get around pretty good with Windows utils and concepts. But this is probably a noob kinda question ;-)
    I'm in a work environment where i have an image that has already been customized. The default administrator has already been created. So typically when an image is laid down via WDS I can sign in with the default admin account with no issues. I am now trying
    to capture this image after some required customizations. So i use Sysprep with the generalize option...BUT...here's my dilemma. I do not want to use OOBE. So how would I reseal the image under AUDIT before capture so that i may IMAGEX /APPLY my 'captured'
    image to deliver the same default sign-on screen upon successful completion of the apply of the image? I wish for no OOBE Welcome screen nor an AUDIT SYSPREP screen where I have to cancel out of. I wish to come to the same sign-on environment that I would
    come to had I just done a 'capture' with no SYSPREP involved.
    I know that IMAGEX /CAPTURE without a SYSPREP /GENERALIZE usage would give me exactly what I want. However, I do need the unique identifiers removed from the image of the testing PC. So I do need SYSPREP /GENERALIZE functionality.  Would I have to use
    an unattend.xml to achieve this? And if so, what passes would be necessary? I am not that familiar with the unattend file. But I have been reading up on it.
    I hope all of this makes clear sense. Any advice on how to proceed is greatly appreciated. Thanks.

    Yes, use an answer file with sysprep to fill out the OOBE information. Then the user will not see those screens after imaging. Here is an example XML i have handy.
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-us</UILanguage>
    </SetupUILanguage>
    <InputLocale>en-us</InputLocale>
    <UILanguage>en-us</UILanguage>
    <SystemLocale>en-us</SystemLocale>
    <UILanguageFallback>en-us</UILanguageFallback>
    <UserLocale>en-us</UserLocale>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ComputerName>*</ComputerName>
    <TimeZone>Eastern Standard Time</TimeZone>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Home_Page>http://www.google.com/</Home_Page>
    <Help_Page>http://www.google.com/</Help_Page>
    <DisableFirstRunWizard>true</DisableFirstRunWizard>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-us</SystemLocale>
    <UILanguage>en-us</UILanguage>
    <UserLocale>en-us</UserLocale>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Other</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Group>Administrators</Group>
    <DisplayName>UserAccount</DisplayName>
    <Name>UserAccount</Name>
    <Password>
    <Value>password</Value>
    <PlainText>true</PlainText>
    </Password>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="catalog:c:/image creation/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  • Files not showing captured images after belle upda...

    after belle update i cant see the images i have captured with n8's camera in files(file manager of phone) even though i can see them in gallery.......only the captured images after update are not showing..does anybody else have the same problem..how could i resolve it?????
    Solved!
    Go to Solution.

    I have the similar problem after updating to Belle on my N8. My photos, previously taken with the phone are still somewhere on the memory card and are visible if I want to add them to the contact profile, but otherwise, can not locate them? Tried thru attach to e-mail, MMS, connected to PC and browsing .... It must be some hidden folder. Does anybody can help me? Thanks!

  • Captured images not showing in gallery Nokia N8

    I have 2 identical Nokia N8.
    I have changed nothing on either in terms of programs/ applications/ etc.
    When I took a photo, image would appear in both:
    - Gallery (1st page)
    - Captured (2nd page)
    Suddenly, on one phone only the photo is only appearing in the Captured images.
    Images are saved onto F. Memory card. I have tried ejecting & reinserting the memory card. I get "refreshing your media", but the items are still only showing in "Captured".
    When I sync photos with my pc the captured images are synced correctly.
    It is just annoying that I cannot access the Gallery immediately anymore.
    I do appreciate any tips.

    LFSwiss wrote:hpholm:
    I do not have a card reader [I transfer with PC Suite]. I have tried the SDHC from my other phone, but this makes no difference.
    I do respect your comment on Forum rules (however, "On a repairability scale from 0-10 where 10 is the easiest to repair, the N8 scores 8." has piqued my interest (all the internet searches I have done only say "take it to Nokia Care", which is not an option for me - warranty has long expired). Am I right in thinking I should take it to a "generic" repair shop...
    Many thanks (and happy end to your weekends).
    If changing the SDHC does not help, that would point towards corruption on the C or E drive - which the software recovery tool should have solved. Since you have presumably backed up everything already and the N8 is in a risk-willing state, I suggest safe eject the SDHC from the Files app and then physically remove the memory card from the phone. Now in the Files app format the E drive on the phone (Notice that you lose off-line maps and apps installed on E) Then in the Camera app reset to defaults. Try and snap some photos and see how it goes without the memory card?
    Another run of the software recovery tool without the memory card inserted may also be useful. So may a fresh format of the memory card, to avoid something strange being inherited from the hidden folders and files on the memory card.
    All the above is just off the top of my head. I have never experienced this particular error on my N8 (knock on wood!) - My N8 has lost the notification LED functionality on the button and the small charge indicator LED a year ago. The rest of the phone does what it is supposed to do, and there are no obvious mechanical issues inside after a clean-up, so I decided to ignore it.
    The xenon trouble is either the "bulb" itself failing or the array of spring connectors from the motherboard failing.
    An N8 is built like a tank. Teardown instructions are found elsewhere. Whatever you decide, do not spend too much money on it. A second-hand N8 in fair condition is worth €50-80 in Denmark, perhaps even less now that Skype and the social app stopped working, and some of the root certificates expired. It still wakes me up in the morning every day - a simple task that the Lumia failed several times.
    Hans

  • Capturing image with electronic signature.

    A new functionality of electronic signature is provided with webcenter content. We can create metadata for electronic signature but its type can only be text, int, checkbox, lontText etc. It does not allow capturing image.
    As per our requirement we want a process like
    1. System will allow every user to upload an image of his signature. (We can do it by normal check in so no problem here)
    2. Electronic signature should be configured to take image as a metadata. (Currently I believe signature can't take image)
    3. When user signs a document, image metadata should get automatically populated with users signature as checked in in first step. (Currently I believe we can't set default value for signature metadata)
    4. User should provide password and other metadata information and document should get signed. (No problem here)
    5. As part of water mark we should be able to show image of signature on document.
    How should we achieve it?
    Thanks
    Sanjeev.

    I believe there's a disconnect between what an official "electronic signature" is vs. other electronic signatures. There is a defined regulation that states what an official electronic record signature is: 21 cfr part 11 .
    putting an image isn't a 'real' esig.
    I do not believe that WCContent's new esig feature is what you're after.
    I'm not sure exactly what the last few lines of your previous post were after, but you might be able to get away with only using the PDF Watermark component if you just want to stamp specific content into the pdf.
    If you want to stamp images into pdfs, you'll have to create a custom component that does some custom image manipulation, I believe.
    If you have a requirement for 'real' electronic signatures. you should check if your requirement needs to follow 21 cfr part 11. if so, then you should use what WCContent offers out of the box.
    This document seems to cover the topic in very good detail:
    http://www.usdatamanagement.com/attachments/article/274/Oracle-ECM-Part-11-Certification-White%20Paper.pdf
    Does this help separate what UCM offers as an esig vs. stamping an ink-signature image into a pdf?
    -ryan

Maybe you are looking for

  • Displaying a column in report dynamically

    I have a report where under one condition I need to have an additional column displayed in the report data sent to Excel. I have tried to add a lexical value in the select and in the BeforeReport trigger set it to the column needed or not. This does

  • XSLT upper-case function()

    Does anybody know how to use a upper-case() function in XSLT? I have it in a XSL mapping of a routing service. I want it as below: <xsl:when test='(upper-case(/imp1:GENERIC4) = "YES") or (/imp1:AWARDTYPE = "227")'> <top:ccFlag> <xsl:text disable-outp

  • Error when running TestClient in BC4J samples Caching.jpr

    Folks, While I have not problem to run DemoModuleImpl.java, the following errors are shown when I run TestClient.java in Caching.jpr BC4J samples. I am getting really frustrated by this and I hope some one could help me out. I know it is the followin

  • Nokia X3-02: How to remove apps?

    Hello, I tried several time to find the way to delete some rubbish apps but I could not find the menu with delete option. Also in Ovi suite, no way to delete apps. Thanks in advance, Julien Solved! Go to Solution.

  • I can not find File "Import to Library" in iPhoto.

    I can not find File> "Import to Library" in iPhoto.