Black image where JPG should be

Hi all,
I'm new to video editing, but have been working on a simple video consisting of AVIs and JPGs, and have run into a problem I can't figure out.
At various points in the movie, I have multiple images flash by consecutively (6 or so per second). A few of them, however, are simply black and in the exported video show nothing but sound still plays. I've checked the image from the folder it's in on my computer and it's fine, as well as clicking "Edit Original" in Premiere, the image pops up in my default viewer (Windows Picture and Fax Viewer).
However, it just won't appear in the video. Other JPGs, including the ones before and after it, appear. Just not these few. (Few is relative, I'm having trouble with about 20 of them). I've tried deleting them from the bin and adding it again, but it continues to be black. Does anybody know a solution to this problem? Thanks.

I have also read that some digital cameras add "extra" information to the file header that is not compatible with Premiere
Solution is to open in Photoshop and resave... then try that with Premiere
Or, convert to the TIF or PSD formats

Similar Messages

  • List view shows black spaces where letters should be

    G5, dual 2.5GHrz, 10.3.9
    Just recently when I'm in list view, spaces appear where letters should be. In Icon and Column view everything appears correctly. I have shut down and restarted and corrected permissions. None of that seems to help. Any ideas what might be causing this?
    Thanks,
    Tom

    I found a solution. I moved the preference file named "com.apple.desktop.plist" from the /Users/HomeFolder/Library/Preferences to the desktop and restarted.

  • Photobooth & iPhoto show black screen where photos should be??

    My iPhoto shows a black screen whenever I click on a picture. I can't see the photo when I want to edit it and it does not let me enlarge any of the pictures.
    Also, my Photo Booth shows a black screen where its supposed to show the webcam picture. If I click on the white space where the thumbnails of previous pictures are supposed to show up, it pops up a different screen with the pictures already taken. But, I still cannot see the webcam picture.
    If anybody could help solve this problem, I would greatly appreciate it.
    Thanks!!

    You may have some damaged software. 
    If the problems are the same after restarting your Mac, reinstall Mac OS X 10.9.
    Message was edited by: EZ Jim
    Mac OSX 10.9

  • Can't copy artwork from internet into itunes; I just get a black screen where artwork should be. How can I fix this?

    It was just working fine a few days ago, but since yesterday, I cannot copy my album artwork from the internet into itunes. Please help. I don't know what's wrong with it...I may have to reinstall the whole program.

    Mr Green wrote:Use Arch cd and chroot in to repair install
    I've chrooted into it and undid everything and yet it doesn't change anything. I've uninstalled splashy and v86d, reedited the conf files to their original form. Perhaps there is some modifications that I am not aware of that happened during the installation. Packages I installed were splashy-full, v86d, and 915resolution-static which I have all removed. Files I've modified include rc.conf, mkinitcpio.conf, /boot/grub/menu.lst, and uvesafb.conf. Aside from pacman I ran the command mkinitcpio -p kernel26

  • ** Reduce jpg file size...returns black image

    Hey Guys,
    I have this function to reduce the image file size.
    It works but returns a black image when I view it.
    This code is what I have found on other boards...I just can't seem to get it to work..
    Any ideals??
    Phil
    ======================================
                     try
                         FileInputStream inFile = new FileInputStream(imagePathName);
                         ImageIcon imageIcon = new ImageIcon(imagePathName);                    
                         Image image = imageIcon.getImage();                    
                         int height = image.getHeight(null);
                         int width  = image.getWidth(null);                    
                         if(height > MAX_HEIGHT || width > MAX_WIDTH)
                             //See which one was over the most by percentage
                             float widthOver  = (float)(height - MAX_HEIGHT) / (float)MAX_HEIGHT;
                             float heightOver = (float)(width - MAX_WIDTH) / (float)MAX_WIDTH;         
                             int newWidth;
                             int newHeight;                        
                             if(widthOver > heightOver)
                                 float ratio = (float)MAX_HEIGHT / (float)height;                            
                                 newWidth = (int)(width * ratio);         
                                 newHeight = MAX_HEIGHT;
                             else
                                 float ratio = (float)MAX_HEIGHT / (float)height;                            
                                 newWidth = (int)(width * ratio);         
                                 newHeight = MAX_HEIGHT;
                             System.out.println("Original size was: width = " + width + "  height = " + height);
                             System.out.println("New size is: width = " + newWidth + "  height = " + newHeight);                        
                             System.out.println("Phil -- New size is: width ---> " + newWidth + "  height ----> " + newHeight);                 
                             Image newImage = image.getScaledInstance(newWidth, newHeight, Image.SCALE_SMOOTH);
                             //============================
                             try
                                 BufferedImage bufferedImage = createBufferedImage(newImage,newWidth,newHeight);                                                                               
                                 try
                                     File file77 = new File("newimage_ps.jpg");
                                     ImageIO.write(bufferedImage, "jpg", file77);
                                    catch (IOException ioe)
                                      System.out.println("IOExcepotion caught: " + ioe.toString());
                             catch (Exception buffError)
                                 System.out.println("IOExcepotion BufferedImage: " + buffError.toString());
                     catch(IOException ioe)
                         System.out.println("IOException reading: " + imagePathName + "\n" + ioe.toString());
    // ==============================================================                
        static public BufferedImage createBufferedImage(Image imageIn, int pass_newWidth, int pass_newHeight )
               System.out.println(" " );     
                 System.out.println("+++++ imageIn   " + imageIn.getWidth(null) ); 
                 System.out.println("pass_newWidth " + pass_newWidth);
               System.out.println(" " );     
    //          BufferedImage bufferedImageOut = new BufferedImage(imageIn.getWidth(null),
    //                                                             imageIn.getHeight(null),
    //                                                             BufferedImage.TYPE_INT_RGB);
              BufferedImage bufferedImageOut = new BufferedImage(pass_newWidth,
                                                 pass_newHeight,
                                                                 BufferedImage.TYPE_INT_RGB);         
              // Graphics g = bufferedImageOut.getGraphics();
              Graphics2D g2 = bufferedImageOut.createGraphics();
              g2.drawImage(imageIn, 0, 0, null);
             // g.drawImage(imageIn, 0, 0, null);
              return bufferedImageOut;
        }     

    >
    Hi Andrew,
    Thanks for your reply..Your links sent me to this ...
    Page Not Found
    We are sorry, the page you have requested was not found on our system. >Ahh. That is because I foolishly hand edited those links and did not check them. They included 'api' twice.
    In any case they were simply the links to the javadocs for those two classes.
    Search [google for bytearrayoutputstream|http://www.google.com.au/search?hl=en&q=bytearrayoutputstream&meta=] and you will end up in the same or similar place.
    As to using them, you simply put an appropriate ByteArray stream in place of the other streams (e.g. File based) that you were using.
    I'd have to search for an actual example, but you could do the same (probably faster).
    Edit 1:
    Adding 'imageio' to 'bytearrayoutputstream' as a search led to this as top hit [Memory Efficiency of BufferedImage and ImageIO|http://forum.java.sun.com/thread.jspa?threadID=5261937&tstart=0].
    Edited by: AndrewThompson64 on Jul 6, 2008 2:37 PM

  • HT5163 I need one Ipad 128Gb with Retina iPad (3rd generation) Wi-Fi + Cellular (Black colour), where should I approach in Delhi/NCR for this product? I am unable to find this in Croma and other retailers.

    I need one Ipad 128Gb with Retina iPad (3rd generation) Wi-Fi + Cellular (Black colour), where should I approach in Delhi/NCR for this product? I am unable to find this in Croma and other retailers.
    i need one very urgently for my day to day work. Can anyone suggest from where I can get a new piece(boxed) on or before 11 March 2013? As this is already launched in India in Jan month, but still not available with retailers, might be because of less demand of this very product.
    Any help will be much appriciated.
    Waiting for some clue.
    Pawan Sharma

    The 3rd Generation iPad does not come in 128GB capacity, only 16, 32, and 64GB capacities.
    The 4th generation iPad does come in 128GB capacity.

  • Am unable to print cd covers. All I get is the songlist on one side and a black space where the picture should be. Any suggestions?

    I am unable to print cd covers. All I get is the songlist on one side and a black space where the picture should be. Any suggestions?

    Thanks Bob.
    I am thinking along the same line.
    It's interesting that some of the unaffected graphics in the document come up as embedded, but some are just placed there with no link information.
    I guess it's just a matter of how the original graphic was treated or saved.

  • HT5117 I am producing an ibook with video and jpg images, what sizes should they be?

    I am producing an ibook with video and jpg images, what sizes should they be?
    <Image Edited by Host>

    I and others answered a similar question only  yesterday.
    There are also many other similar posts and it is advised we first check out "our"  problem by doing a search.
    I also  suggest you download "iBookstore Asset Guide 5" its a pdf and contains all the  information you  ask for.

  • Macbook pro screen is blue where it should be white and red where it should be black?!?

    Since i turned my macbook pro on a couple of days ago... my screen is red where it should be dark and light blue where it should be white... this is effecting everything i go on?!?! any ideas??

         Reset PRAM. http://support.apple.com/kb/PH18761?viewlocale=en_US&locale=en_US

  • How do I lighten or remove dark/black images or layers in Photoshop CS5?

    For several months, I have been trying to find the best ways to reduce the excessive amount of toner that is required to print many pdf documents in black and white, or even grayscale.  I use Leanprint but it can still leave pages of dark and black images.    
    Several Adobe Acrobat X posts say to use Photoshop to remove black graphics and/or reduce the darkness of images.  However, they give no further information about what to do in Photoshop.  I am not a simpleton but I know very little about Photoshop other than that there are probably several ways to accomplish this, depending on the circumstances.  I dread having to spend more hours trying to figure out what is the best option to use in each specific situation.
    It is puzzling that it has been so difficult to find the information needed, especially since many other people would like this information as well.
    I hope that someone can advise me or just point me to some directions and resources  as places to start.   Even knowing the best search terms to find this information could be useful.
    Thank you for any assistance.
    Cathy

    Ok, something to keep in mind with CS5 photoshop any change of its brightness and or contrast usually is considered a permanent change.
    However if your image is a camera raw file (straight from the camera in its native raw format) a tiff or a jpg, you can and should open the file in Adobe Camera Raw (ACR) as any edits done in ACR are non-destructible in that any changes made can be changed or reset at any later time in the future as it does not alter the image it self, but applies the edits to the metadata.
    That said, it means in order for a program to see those changes it needs the ability to read the metadata, which not all programs can do.
    In ACR you will find a contrast slider, by decreasing the contrast the image will become lighter. You can also increase the highlights or whites and you can decrease the shadows or blacks. This effectively is similar to lowering the contrast, but because it is an additional step, you can do all three sliders effectively reducing the contrast even further than you would be moving the contrast slider by itself.
    Since this is a metadata alteration, this change you made can be applied to a folder full of images that are the same formats I mentioned above, or you can select a group of images in bridge and apply to just the selected group.
    At any time in the future you can remove the edits should you need to use the original image once again.

  • IPHONE 5: Saving images to camera roll from an email results in a black image

    I have emailed myself a couple images  (medium res .jpgs) and when I open the email the colors are overly bright. When I then go to save them, they save as a very dark black image with a little bit of a blue outline of the image. Anyone know what the problem is? Thanks in advance!
    PS these images are illustrations I have made in illustrator/photoshop. Not sure if that matters though.

    Depending on the format of the video you may or may not be able to do this.
    If its a supported format, like m4v or similar, you can tap and hold on the icon in the email and a box with options should pop up.  One of them being "Save Video". This will save the video to the camera roll.
    If you don't have the "Save Video "  option you will not be able to save it your camera roll, but still might be able to save it to an App that can play the video by tapping the icon for the App in that same screen.

  • Getting black image when resize to thumbnail

    When uploading images through a servlet via a webbrowser, I am saving the image to the harddrive and then resizing the image as thumbnail for certain view pages.
    I have tried serveral approaches to resizing the image, with all solutions I use the thumbnail image is being returned as a solid back image.
    I started with the example on the Sun Tech Tips site: http://java.sun.com/developer/TechTips/1999/tt1021.html
        public static void createThumbnail(
                String orig, String thumb, int maxDim) {
            try {
                // Get the image from a file.
                Image inImage = new ImageIcon(orig).getImage();
                // Determine the scale.
                double scale = (double) maxDim / (double) inImage.getHeight(null);
                if (inImage.getWidth(null) > inImage.getHeight(null)) {
                    scale = (double) maxDim / (double) inImage.getWidth(null);
                // Determine size of new image. One of them
                // should equal maxDim.
                int scaledW = (int) (scale * inImage.getWidth(null));
                int scaledH = (int) (scale * inImage.getHeight(null));
                // Create an image buffer in which to paint on.
                BufferedImage outImage = new BufferedImage(scaledW, scaledH,
                        BufferedImage.TYPE_INT_RGB);
                // Set the scale.
                AffineTransform tx = new AffineTransform();
                // If the image is smaller than the desired image size,
                // don't bother scaling.
                if (scale < 1.0d) {
                    tx.scale(scale, scale);
                // Paint image.
                Graphics2D g2d = outImage.createGraphics();
                g2d.drawImage(inImage, tx, null);
                g2d.dispose();
                // JPEG-encode the image and write to file.
                OutputStream os = new FileOutputStream(thumb);
                JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
                encoder.encode(outImage);
                os.close();
            } catch (IOException e) {
                e.printStackTrace();
        }I have tried other approaches from various posting I found off google such as:
        public static void scale(String filename, String outputfile, int width, int height)
                throws Exception {
            ImageIcon source = new ImageIcon(filename);
            double sf_x = width / (double) source.getIconWidth();
            double sf_y = height / (double) source.getIconHeight();
            System.err.println("Scale_factor_X: " + sf_x);
            System.err.println("Scale_factor_Y: " + sf_y);
            BufferedImage bufimg = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
            Graphics2D g = bufimg.createGraphics();
            g.setComposite(AlphaComposite.Src);
            AffineTransform aft = AffineTransform.getScaleInstance(sf_x, sf_y);
            g.drawImage(source.getImage(), aft, null);
            FileOutputStream os = new FileOutputStream(outputfile);
            JPEGImageEncoder enc = JPEGCodec.createJPEGEncoder(os);
            enc.encode(bufimg);
            os.flush();
            os.close();
        }No matter the implementation, the output is always the black image. I tried additional steps such as adding the JVM flag of:
    -Djava.awt.headless=true
    I've certainly spent a few hours on the google search engine and reviewing various newgroup posting, your suggestions come with many thanks.
    Cheers,
    Justen

    I tried your method and it worked okay. The only way I can get the black image is to send in a distorted path. One of the problems with the ImageIcon.getImage technique is that you get no feedback about loading failure. Here's a way to peek into the process for some indication of how it went. If you can tolerate j2se 1.4+ you could use the ImageIO methods in lieu of the proprietary JPGImageEncoder.
    import com.sun.image.codec.jpeg.*;
    import java.awt.*;
    import java.awt.geom.AffineTransform;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.URL;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class ImageScalingTest extends JPanel
        public static void createThumbnail(
                String orig, String thumb, int maxDim) {
            try {
                // Get the image from a file.
                ImageIcon icon = new ImageIcon(orig);
                int status = icon.getImageLoadStatus();
                String s = "";
                switch(status)
                    case MediaTracker.ABORTED:
                        s = "ABORTED";
                        break;
                    case MediaTracker.ERRORED:
                        s = "ERRORED";
                        break;
                    case MediaTracker.COMPLETE:
                        s = "COMPLETE";
                System.out.println("image loading status: " + s);
                Image inImage = icon.getImage();
    //            Object o = ImageScalingTest.class.getResource(orig);
    //            /*Buffered*/Image inImage = ImageIO.read(((URL)o).openStream());
                // Determine the scale.
                double scale = (double) maxDim / (double) inImage.getHeight(null);
                if (inImage.getWidth(null) > inImage.getHeight(null)) {
                    scale = (double) maxDim / (double) inImage.getWidth(null);
                // Determine size of new image. One of them
                // should equal maxDim.
                int scaledW = (int) (scale * inImage.getWidth(null));
                int scaledH = (int) (scale * inImage.getHeight(null));
                // Create an image buffer in which to paint on.
                BufferedImage outImage = new BufferedImage(scaledW, scaledH,
                        BufferedImage.TYPE_INT_RGB);
                // Set the scale.
                AffineTransform tx = new AffineTransform();
                // If the image is smaller than the desired image size,
                // don't bother scaling.
                if (scale < 1.0d) {
                    tx.scale(scale, scale);
                // Paint image.
                Graphics2D g2d = outImage.createGraphics();
                g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                     RenderingHints.VALUE_INTERPOLATION_BICUBIC);
                g2d.drawImage(inImage, tx, null);
                g2d.dispose();
                // JPEG-encode the image and write to file.
                OutputStream os = new FileOutputStream(thumb);
                JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
                encoder.encode(outImage);
                os.close();
    //           ImageIO.write(outImage, "jpg", new File(thumb));
            } catch (IOException e) {
                e.printStackTrace();
        public static void main(String[] args)
            String path = "images/cougar.jpg";
            String fileName = "imageScalingTest.jpg";
            int size = 75;
            ImageScalingTest test = new ImageScalingTest();
            test.createThumbnail(path, fileName, size);
    }

  • How do I convert a color jpg to a pure black and white jpg with no grey/shading?

    how do I convert a color jpg to a pure black and white jpg with no grey/shading using Automator?

    Hi mns579,
    Thanks for your swift reply.
    I'm afraid that sequence leads to a burn-out of some of the black text, making it unreadable.
    To clarify, what I did was photograph pages from a book.  The interior lighting of the room where I photographed these pages leads to a jpg image with slight graying or shading of parts of the page.  So when I simply convert it to B/W, I get a washing out of some areas of the page where there is text, and this makes it unreadable.
    I know that some software programs have a feature that allows a color jpg to be converted to b/w such that the text is made pure black and any surrounding areas of the text are made pure white (ie, all color is removed from the non-black areas), which makes for an easily readable b/w text page.  Am I able to do this with my Mac, and if so, how using the Automator feature?
    (I have more than 50 jpgs that I would like to clean up in this manner, hence the ability to do so through Automator is important.)
    Thanks for your attention to this.

  • Reduce File Size in Acrobat Pro (9.5.5) Corrupts Graphics in PDF Documents - shows up as black image

    Whenever I use Reduce File Size in Acrobat Pro (9.5.5), sometimes some of the images (not all) get corrupted and show up as a black image in the new document.
    Actually, the new reduced document looks okay when viewed in Acrobat, but the problem shows up when viewed in the Preview application on the Mac.
    I'm using Acrobat 9.5.5 with Mac OS 10.8.6
    I've tried re-importing the graphic into a new graphic box, which didn't work.  Thinking there may be some type of corruption with the actual graphic file, I then tried viewing the graphic, then taking a screenshot of it to create a completely new file, and then re-importing the new graphic file into the original document (created in Adobe In Design 5.0.4).  I then export the new document as a pdf, and brought it into Acrobat Pro to do the Reduce File Size.  Same thing happens - black box appears where the graphic was.
    I then tried using the Reduce File Size within the Save As function of the Preview application on the Mac - while the graphic remains intact, many of the other graphics in the document are "reduced" too much, to the point where the image quality is seriously degraded, and therefore not usable.
    Any other ideas?

    Hi Anoop,
    I can share the graphic file, but not the pdf which contains it (as it contains confidential information) - thanks!

  • How to Change the color of the black image

    Hi,
    I have created a black image. But want to insert some text and chnage the color of the same. I am trying to do it, by usign various classes of javax.imageio.*, java.awt.image. But, I have not the required output till now. I am showing my code below. The image I created is totally black.
    Any suggestion greatly appreciated.
    File f = new File("C:/tomcat5.5.15/apache-tomcat-5.5.16/webapps/plugintest/03974701.jpg");
    BufferedImage image = ImageIO.read(f);
    int height = image.getHeight();
    int width = image.getWidth();
    int type = image.getType();
    ColorModel cm = image.getColorModel();
    System.out.println("Width of the Image is "+width);
    System.out.println("Height of the Image is "+height);
    System.out.println("type of the Image is "+type);
    BufferedImage image1 = new BufferedImage(width,height,type);
    //image1.setRGB(45,45,rgb);
    File f1 = new File("blank.jpg");
    RenderedImage ri = image1;
    ImageIO.write(ri,"jpg",f1);

    Color c = new Color(0, 0, 0);
    Graphics g = image1.getGraphics();
    g.setColor(c);Thanks for your suggestion I added these lines to the
    code(code is shown above), but the there is no change
    in the color of the jpg image saved in the file. Am I
    missing something.Yes.
    a) Do you know what color 0,0,0 is? Hint: not mauve
    b) When you call set color that sets the drawing colour. But you aren't drawing anything. You can draw things with the methods of Graphics and Graphics2D. I suggest starting with fillRect
    http://java.sun.com/developer/Books/Graphics/
    Thanks

Maybe you are looking for