[SOLVED] v4l emulated capture image formats missing

I'm trying to get my Webcam working with OpenCV on Archlinux. The Webcam is working through uvcvideo and OpenCV trys to access it through v4l requiring it to provide BGR24. The webcam itself only supports YUYV and MJPG and v4l should usually emulate the missing BGR24. This works perfect on lubuntu 64bit but on Archlinux 64bit the emulated formats are missing and therefore OpenCV cannot use the webcam.
Archlinux 64bit:
lubuntu 64bit:
Does anyone know why this is happening on archlinux?
Any help would be greatly appreciated!
SOLUTION: Turned out that Sundteks driver for a DVB USB Stick preloads libmediaclient.so for all programs what stuffs up v4l. I just removed the general preload and added it where necessary.
Last edited by bluber (2013-10-11 17:58:54)

hadrons123 wrote:
Sorry my bad
its
pacman -S librsvg
themusicalduck wrote:That did it. Thanks!
I had the same problem and nemo/nautilus was crashing in a segfault few seconds after starting, now all works fine, thanks! :-)

Similar Messages

  • Screen capture image format

    hi there,
    after i installed Adobe Acrobat, I got .pdf image when I use "commandshift3(4)" to capture the screen.
    How can I set up it to get .jpg format image as I did before.

    You can change it in the Terminal, but for those of us who like GUI's I've used Tinkertool to change this format. 
    Oh... I've just noticed Tinkertool says it only supports this function in 10.1 or 10.4 not 10.2 or 10.3. Even these other two only work under 10.4 apparently... so you'll have to go for the Terminal route. Type in one of the following to the Terminal and hit return:
    defaults write com.apple.screencapture type pdf
    defaults write com.apple.screencapture type png
    defaults write com.apple.screencapture type jpg
    defaults write com.apple.screencapture type tif
    defaults write com.apple.screencapture type psd
    mrtotes

  • Captured images missing installed applications

    Greetings,
    I am using MDT 2013 to capture an image of a reference computer that has Windows 8.1 installed, along with several additional applications.  When I deploy the captured image with a new task sequence set up for that purpose, the applications are
    missing.  This is not a matter of the shortcuts being gone; they do not exist in the their respective Program Files folders either, and do not appear in the Programs and Features list.
    I have verified that I'm using the captured image, and captured the reference image again (from a Hyper-V VM) just to be sure.  My understanding was that sysprep & capture did not remove applications, just data that's unique to users and the machine. 
    Thank you in advance for any help.

    Problem solved.  After updating the deployment share, I had forgotten to replace the boot image within WDS. 

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

  • Canon EOS 350D .CR2 pics still 'unsupported image format'?

    I was releaved to see updates in Mac OS X (10.4.8) and Aperture 1.5 the other week, hoping it would solve my problem, being able to finally work with my RAW files (.cr2) from the Canon EOS 350D (yes, being in Europe these days).
    I followed the posts on the forum throughout the summer, which recommended waiting for the next OS X update (which should support the camera in that raw definition file) and I didn't want to use the workaround, which clearly had problems with the colors on the pics.
    After all the updates the other week, nothing has changed on my MBP. Still the 'Unsupported Image Format' on my RAW files. On the other hand, I don't see any posts on problems with the 350D camera anymore as well (only on CR2 files in general).
    Am I missing something really basic here (tried rebuild library)? Or, have all the CR2 formats gone down the drain on Aperture 1.5?
    Any help is appreciated, as I have already looked into Adobe Lightroom Beta and although I don't want to switch, the files seem to work there...

    Yes, the import thumbnail is as you describe, the low res. JPG that is embedded in the RAW wrapper.
    10.4.8 needs to be installed prior to Aperture 1.5 .... from a functionality point of view. I am not aware of a dependence that says AP 1.5 has to be uninstalled before a 10.4.8 upgrade or any such, not that AP 1.5 should need re-installing after a 10.4.8 upgrade .... assuming it was working correctly beforehand.
    But to this last point, since you have an issue which may be related to AP or OS X, it is likely worthwhile updating both and in order.
    Final thought. do you import directly from the CF card / camera vs. using an intermediary tool such as ImageBrowser or DP Professional? I am wondering if Aperture is very OCD aboout the image format wrapper and chokes at the least excuse that other apps. and tools ignore.
    G.

  • 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

  • Unsupported Image Format?  CR2 from Canon 20d

    ok, so my jpg's import fine. my problem is with my CR2 Raw pictures from my Canon 20d. I tried to import some. They import, all the metadata info is there, but there is no thumbnail in aperture and in the top viewer it says unsupported image format. Has anyone had this problem? After import why are the CR2 thumbnails missing and why do the viewers say Unsupported Image Format? Any help or thoughts would be appreciated.

    Since I can't open the problem RAW files in Preview or import them into iPhoto, but can open them in ACR/Bridge or DPP, I'm fairly certain this has something to do with the underlying RAW support at the OS-level in Tiger -- and not just an Aperture issue.
    I have had no problem with some older RAW files captured using my 20D. I think I may have upgraded the 20D's firmware since those images were shot -- could it be an incompatibility brought on by that?!?!

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

  • 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

  • Firefox for Mac preferences shows .qif file format for quicken as "quicktime image format"-wrong application and won't let me select anything else

    Post to Firefox forum; Oct.2011
    Re: Quicken 2007; Mac OS 10.5
    Problem: can’t import or download Qif format files into quicken from bofa or Chase. Mac can’t recognize; how do I set preferences in Firefox (or Safari).
    https://support.mozilla.com/en-US/questions/new?product=desktop&category=d1&search=Firefox+for+Mac+preferences+shows+.qif+file+format+for+quicken+as+%22quicktime+image+format%22-wrong+application+and+won%27t+let+me+select+anything+else&showform=1
    Hello,
    I previously used Firefox on my old Mac G4 with OS 10.3.9; the above issue existed with that system and Firefox 2.00.2 (or similar). I then "tried" to move to a G5 Mac with OS 10.5, hoping that an updated Mac Operating system and updating Firefox would solve that problem.
    I'm now working on my son's MacBook Pro, OS 10.5.8, 2.4 ghz Intel Core 2 Duo; 2gb Memory; 2 gb 667 Mhz DDR2 SDRAM.
    I still have a problem in Firefox Preferences trying to download .qif files. BofA Mortgage accounts only allow downloading of .qif files. My .qfx download works fine, but the error message is as follows:
    The error message is that this is a corrupted file or one that Preview doesn't recognize.
    and it is still a problem when trying to download Quicken .qif format files for our B of A mortgage.
    The preferences for Firefox under File Helpers won't let me name the extension I want; instead, it CONFUSES .qif (Quicken Interchange Format) with .qtif (Quicktime Image Format) for Mac.
    Therefore, when I download .qif files and try to import them to Quicken, I get a message that this is a corrupted file:
    thanks for any help.
    Val in Seattle

    Well, in the end, I just gave up and deleted the photos, in the hope that it was something to do with them. Took some more photos and they seem to have imported without any problems at all.
    Given that the same irksome photos loaded on the wife's macbook without so much as a murmur, how weird is that?
    Still- all's well that ends well. Thanks for the suggestions- much appreciated.
    Matt

  • Mapviewer performance problem using image format FORMAT_RAW_COMPRESSED

    I am using the MapViewer.FORMAT_RAW_COMPRESSED map image in my (java) map application because some features must be clickable and as far as I can work out, this is the only way to achieve this in a Java client. On my local system, running the map server in an oc4j container, this works about as fast as using FORMAT_GIF_URL and loading the image from this url. There also doesn't seem to be much difference in memory and cpu usage.
    When I direct the request to a map server running on a remote Application Server the rendering time grows exponentially. The same maprequest using FORMAT_GIF_URL runs as fast as it does in my local OC4J container. The problem seems to be in "packing time" in RealWorker:
    Remote AS:
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 99ms
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 5560ms
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 142605ms
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 148264ms
    Local OC4J:
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 540ms
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 2490ms
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 120ms
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 3150
    The test server is smaller than my local system and more applications are running on the AS, generating the map takes all the available memory and cpu, but the difference between the time it takes generating a GIF image and generating a Java image of almost a factor 50 is puzzling.
    What could cause this enormous difference? Any idea's about how we can analyze or solve this? What could RealWorker be doing in this packing time? Any hints would be greatly appreciated.
    Many thanks,
    Ida

    Thanks for the replies!
    1. Which AS version are you using? -> 10.1.2
    2. Just as a test, if you restart AS (if possible) do you still get the same values? -> yes, we restarted the AS and the results are the same.
    The server is indeed running low in memory. It is a 512MB machine, just big enough to run the AS. The production server will have some more, but not very much. Could I estimate how much extra memory it will need to keep a good performance when generating maps with live features? And maybe I'm wrong, but shouldn't the extra load for the java image only be on the client, since that's where the image is made? On the server it's just the image data, isn't it?
    I tried removing the basemap, but that reduces the loading time just with a few seconds. The live themes are jdbc themes and result in only some 20 to 30 geofeatures. Removing them from the request so only an empty image with a title is retrieved still takes about 117 seconds. Reducing the device size does reduce the loading time, so it does seem to have something to do with the amount of pixels in the image space, not with the data. Could it be that in the "packing" of the image something happens that takes a lot of memory, related to the amount of pixels?
    In my situation it would be handy if the live features were also returned when the image format is not set to FORMAT_RAW_COMPRESSED, it is also possible to draw shapes onto an existing image and this would bypass the memory problems.
    Thanks for any further help.
    Ida

  • Image cannot be rendered because Aperture does not support image format

    Dear all,
    I have installed apple Aperture 3.03 and the complete Nick software plug-in selection:
    • Dfine 2.0 for Aperture
    • Color Efex Pro 3.0 Complete for Aperture
    • Silver Efex Pro for Aperture
    • Sharpener Pro 3.0 for Aperture
    • Viveza 2 for Aperture
    History
    Until a few days ago the system was running ok / no notable issues on performance. / all pug in seem to run good / no issues. Also
    • I Run OSX10.4/ Aperture 3.03 ( 32Bit mode)
    • My library contains just over 10000 images / approximately 140GB
    • I have recently updated the OSX software update including the security update 2010-005
    • as well as the Snow leopard graphic update 1.0
    • As far as I am aware all updates where automatically recommended by OSX Software update ( no manual intervention).
    • As far as I remember after update the system still was running ok but honestly I can not tell you how many times the Nick Plug in started out of Aperture.
    After all, Several times I continued using the system / still no noticeable problem until the following was happening:
    Problem:
    After creating with "PT gui" a panoramic image File type: "TIF" Pixel size: 5112 × 2556 (13,1 MP) I imputed this file in to Aperture (drag and drop). During the attempt to eddied this file with "Nick Define 2.0" the system was hamming up No response for several minutes from Dfine 2.0 / Aperture" At the end I had to "force quit" the applications.
    After the consequential reopening of Aperture I tried again to eddied images with any Nick software Plug-In but each time Aperture prepares any image previously stored in my Library ti open the Pug in the following Error message appears:
    *"This image cannot be rendered for editing because Aperture does not support the image format"*
    Currently non of my previously in the library safed images can be opened in a Nick software Plug-In this applies to all file types I have tied " Raw, tif, jpg"
    • I am still able to eddied normally with Aperture ( so far I do not find any other issue)
    • A newly imported Raw image after being taken with my EOS 5D can be edited in the completed Nick software Plug-In selection ( so far I do not find any other issue)
    The following actions have been taken to overcome the issue (all not successful):
    • I restored my Library out of my back Up ( to previous time of event ( no Time machine back up)
    • Uninstallation of all Nick software Plug-In selection
    • Uninstallation Aperture Reinstallation Aperture / Nick software Plug-In selection
    • Repairing the library ( all three possibilities)
    • installation of latest EOS utilitys
    Questions
    • Can you support me to overcome this issue?
    • Have you heard similar issues of Nick user Running the Aperture plug-ins?
    For me it is really strange that even after replacing the the library in my normally not connect back up the problem still exists (this should be not affected by the event as the back up was not done any more) / new imported images are editable with the Plug-In.
    I would be happy if you could support me in this issue.
    Best regards,
    Matthias
    PS: I have reported this issue to Apple (via Aperture feedback) as well as contacted the Nick software support and currently waiting for feedback.
    Harware:
    Modellname: MacBook Pro
    Modell-Identifizierung: MacBookPro5,1
    Prozessortyp: Intel Core 2 Duo
    Prozessorgeschwindigkeit: 2,66 GHz
    Anzahl der Prozessoren: 1
    Gesamtzahl der Kerne: 2
    L2-Cache: 6 MB
    Speicher: 4 GB
    Busgeschwindigkeit: 1,07 GHz
    Boot-ROM-Version: MBP51.007E.B05
    SMC-Version (System): 1.41f2

    Dear Ma-Le / All
    I have just had the same problem
    I use
    • Aperture 3.03 with a iMac 2.8 Intel Core 2 Duo with all files on external hard disks (mac extended fomat as apple suggests) with referenced masters.
    • Camera Nikon D300, with probably 75,000+ images on 2 hard drives
    • Photoshop CS2 with PhotoTools 2.5 plugin
    This has been working perfectly until yesterday when the system froze when I was using PhotoTools 2.5 with Photoshop CS2 - as a result of which I resorted to a force quit.
    Since then on most of my files it has not been possible to use an external editor.
    A message appears saying: *Editing Error - This image cannot be rendered for editing because Aperture does not support image format*.
    The problem seems to apply to the attempted use of any external editor (including Noise Ninja)
    The following have each been tried, all unsuccessfully:
    - Using each of Aperture's library 3 first aid options
    - Rebuilding directory using Diskwarrior
    - Checking for virus using Virus Barrier X4
    - Defragmenting library hard disk using TechTool pro
    - Changing permissions settings
    - Using Disk Utility first aid to repair permissions and checking main disk
    - Removing some plist elements when open 'show package contents' of library
    - Setting up a(n almost clean) new system, with newly loaded version of Aperture, with a new library from a vault saved prior to the crash when the problem first occured
    Several things seem to me to be totally bizarre:
    1 - The problem is the same on the other library hard disk which was not in use at the time
    2 - The problem still occurs when a back up vault saved prior to this problem is loaded - using a new hard disk with a new system and a newly reloaded and upgraded Aperture software
    3- The problem seems inconsistent. It appears to affect some photos but not all. Even from the same shoot, some photos can be edited using an external editor, whilst others cannot (but as far as i can tell most of the photos in a particular album seem to be consistently affected)
    4- The only way around it seems to be if I import a new (copy image) from the original master. Then everything works ok, and I can successfully edit that copy image in photoshop / phototools plug-in.
    I am beginning to wonder whether what has been corrupted is Aperture's ability to make copies from the master file which it then uses with the external editor (I have no real idea whether this is correct)
    Does anyone have any ideas or solutions - or has anyone else been suffering a similar problem?
    Eric
    PS: As a professional photographer this problem is a really serious issue for me - and I really don't really want to go to Lightroom or Capture One

  • When you save an image, your captured image is bec...

    I realize that when I take a picture picture from my 5800, ALL my saved images become foggy! According to preview (capture) image, preview images are NORMAL!... So I think the problem is about software based, not hardware!  I have V20 firmware .... I hope Nokia may interest about this problem!...Will upcoming 5800's firmware solve this problem?...
    Thanks.
    Nokia 5800 XpressMusic
    v20.0.012

    It always is to start with. Keep the image displayed for a few seconds and while it's up on the screen, the phone will render a sharper version and display it eventually.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • 'Some images are missing because they were deleted from the document'

    Hi,
    I created a document in Pages v5.2 last week and have just opened it and received the following message:
    'Some images are missing because they were deleted from the document'
    When I try and replace the missing images I get the following message:
    'The image "filename" couldn't be inserted.'
    When I try and reimport the original image I get the following message:
    'The image "filename" couldn't be inserted. This image is of an unsupported type.'
    If I try and insert an image that was not in the document before, in the same file format, it goes in fine.
    If I insert the original image into a blank Pages document it goes in no problem.
    I would also like to point out that the data folder still contains lots of versions of images in the document, but does not seem to have any of the ones I am actually using, which I guess is where the problem is. However I have no idea how or why these specific images have been deleted.
    Any light on how this problem has come about, and the best possible way to fix it would be greatly appreciated.
    Alex

    I have Pages v5.2.2 on OS X 10.9.4. I can not reproduce your stated issues with images in this version of Pages. I don't have a solution for you. See my test in the third paragraph. If I were experiencing this behavior, I would perform a Safe Boot to clear out System caches, and try again, before kicking Pages v5+ to the curb.
    The Safe Boot would be pressing and holding the shift key at boot chime, and until a horizontal progress bar shows on the screen. At the eventual login screen, after you type your password — press and hold the shift key — press the right arrow to login, and release the shift key after the Finder menu bar appears. Then reboot normally.
    I have created a new document. Dragged and dropped an image into it and saved. Exited Pages. Reopening worked fine. Deleted the image, and proceeded through the following steps, punctuated by save, exit, reopen, and deliberate image removal. Different .jpg image each time. About mid-way through the following item list, I rebooted the MBA just to throw some "spin" into the process. I did not perform a Safe Boot prior to this series of tests.
    Toolbar > Media insert
    Insert > Choose jpg into document
    Text Box image fill
    Shape image fill

  • TS3274 If I touch camera icon, the screen turns black instead of capturing image. Let me know how to troubleshoot.

    If I touch camera icon, the screen turns black instead of capturing image. Let me know how to troubleshoot?

    Try closing the Camera app:
    1. Double-click the Home button to reveal the Task Bar
    2. Hold down the Camera app for a second or two until you see the minus sign
    3. Tap the minus sign to close app
    4. Tap area above Task Bar to return to Home screen
    If the above doesn't solve the problem, do a reset:
    Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider

Maybe you are looking for

  • Need Standared report for Open Sales order for all customers

    VA05 is not useful as it gives this list for individual customers. We need to see a list of all open orders for asll customers in one report only. Thanx in advance.

  • HDMI vs. DVI vs. VGA

    I have a 24 inch full 1080P HD external monitor that I am using with my Macbook Pro. I"m not really a gamer, so I have a question. 1st. What is the difference if I use the HDMI connection or the DVI connection to my monitor? Is there a difference? 2.

  • Can you make a movie uncopy able? Protect it?

    Is there a way to watermark, or make a movie that you make, uncopy able. So if i put it on to a dvd, that it is copyrighted or protected, so others cant make copies? I have my own video buisness and was wondering this, so that people dont try to make

  • Placeholders have vanished, but work during playback

    First time Keynote user. I've placed some photos from the web onto placeholders- the images do not appear in any of the views, but do appear when I preview the presentation. Any ideas about viewing the placeholder images so I can edit them? Thanks in

  • SAP standard feature

    Dear All, Is there any standard way by which we can pull the highest info record price for a particular material during easy cost planning (CJ40) ? Regards, Sagnik