JPEG encoder quality problem

my static method is as follow: (copy from here, and i and a setQuality Method)
public class JPEGHandler
     public static void saveJPG(BufferedImage bi,float q,String pathname){
          String s = null;
          //BufferedImage bi = createBufferedImage(img);
          FileOutputStream out = null;
          try     {
               File file = new File(pathname);
               s = file.getName();
               out = new FileOutputStream(file);
          catch (java.io.FileNotFoundException io){
               System.out.println("File Not Found");
          catch (java.io.IOException e){
               System.err.println(e);
               JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
               JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
               param.setQuality(q, true); //Set the quality
          try {
               encoder.encode(bi);
          catch (java.io.IOException io)
               System.out.println("IOException");
          try{
               out.close();
          catch (java.io.IOException io){
               System.out.println("IOException");
          System.out.println("JPEG Saved: " + s);
no matter i assign 0.5 or 1 to the setQuality method, the quailty and the file size of the jpg remain unchange.
also, i have tried to set the second param of setQuailty to true and false, it dosn't help at all !!
Anyone know how to solve it ?

try{
     ByteArrayInputStream in=new ByteArrayInputStream(image_data);
     JPEGImageDecoder decoder =JPEGCodec.createJPEGDecoder(in,params);
     image = decoder.decodeAsBufferedImage();
     in.close();
     }catch (Exception e) {
     System.err.println("Exception "+e + " decoding "+image_name+" as JPEG");
I've just been playing with Java 1.4 (which includes updates Graphics2D) and it fixes a number or errors I had with 1.3
MArk

Similar Messages

  • JPEG Image Quality problem

    Until yesterday, when saving an image as a JPEG I would click "Save As", select my folder and the Image Quality dialog box would pop up and I would then select 12/Maximum as the image quailty and hit "OK".  Thereafter, every time I saved an image, Photoshop applied the same settings as the previous save i.e., 12/Maximum was pre-selected and I would just hit OK and move to my next image. 
    However, since yesterday Photoshop is no longer pre applying the last setting used and is defaulting to quality 8/High every time.  Si everytime I save, I am now having to slide the slider to 12 which is kind of interrupting my work flow.
    I have tried delete my preferences settings in the hope that this glitch would be fixed by resetting the program, but the problem persists.
    Has anyone experienced this and how can I fix it?
    Thanks.

    AFAIK jpeg quality settings are sticky per file, not globally (at least inside Photoshop, but that association may not transfer between applications).
    So if the files are out of a camera they probably already have a quality level assigned, and Photoshop is honoring that. Try a low setting on a test file and see what happens when you resave that. It should be the same.
    And...oh, never mind. You probably know already...cumulative quality loss and so on...

  • Problems when jpeg encoding multiple images

    Hi, im trying to write a servlet which generates multiple thumbs. However when encoding for the second time i get an error java.io.IOException: reading encoded JPEG Stream.
    I can't figure out the problem
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.awt.Image;
    import java.awt.Graphics2D;
    import java.awt.geom.AffineTransform;
    import java.awt.image.BufferedImage;
    import javax.swing.ImageIcon;
    import com.sun.image.codec.jpeg.JPEGCodec;
    import com.sun.image.codec.jpeg.JPEGImageEncoder;
    public class Thumbs extends HttpServlet {
      private String dbDriver = "com.mysql.jdbc.Driver";
      private String dbURL = "jdbc:mysql://localhost/shopper?";
      private String userID = "javauser";
      private String passwd = "javadude";
      private Connection dbConnection;
      //Initialize global variables
      public void init() throws ServletException {
      //Process the HTTP Get request
      public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        try{
          String foreignNr = request.getParameterValues("p")[0];
          String maxDim = request.getParameterValues("s")[0];
          if (foreignNr != null){
            int foreignID = Integer.parseInt(foreignNr);
            int maxDimension = Integer.parseInt(maxDim);
            response.setContentType("image/jpeg");
            OutputStream out = response.getOutputStream();
            writeThumbnailPictures(out,foreignID,maxDimension);
        } catch (Exception ex){
            log(ex.getMessage());
      public void writeThumbnailPictures(OutputStream out,int foreignID,int maxDimension){
        try{
          Class.forName(dbDriver);
          dbConnection = DriverManager.getConnection(dbURL, userID, passwd);
          PreparedStatement pageStatement;
          pageStatement = dbConnection.prepareStatement(
              "select * from pictures where ForeignID = ?");
          pageStatement.setInt(1, foreignID);
          ResultSet recs = pageStatement.executeQuery();
          while (recs.next()) {
            byte[] data = recs.getBytes("Picture");
            if (data != null) {
              Image inImage = new ImageIcon(data).getImage();
              // Determine the scale.
               double scale = (double)maxDimension / (double)inImage.getHeight(null);
               if (inImage.getWidth(null) > inImage.getHeight(null)) {
                   scale = (double)maxDimension /(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
               JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
               encoder.encode(outImage);
          out.close();
        catch(Exception ex){
          ex.printStackTrace();
      //Clean up resources
      public void destroy() {
    }

    Hi,
    I am facing same problem while generating the thumbs. Did you figure out what the problem is? if you have the solution, do post it.
    Thanks in advance
    Mo

  • Problems with JPEG encoding

    I'm making photo album on the web. But I have a problem with thumbnails generation. I have read alot about it on this forum (thanks guys) but I have a problem:
    Sometimes (but not every time) and independent on the image I've got thumbnail picture that can not be readed neither by IE or Photoshop or another programm. I'm using next encoding sequence:
    PEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    com.sun.image.codec.jpeg.JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bufferedImage);
    writeParam.setCompressionMode(JPEGImageWriteParam.MODE_EXPLICIT);
    param.setQuality(0.7f, true);
    encoder.setJPEGEncodeParam(param);
    encoder.encode(bufferedImage);
    And this code operate in the Servlet enviroment. So, I can not understand what is wrong?
    Renat.

    Hi Renat.
    I may be wrong but I have observed some troubles with JPEG encoding (particularly because of a lack of CPU)... You may have the same trouble... The problem is that I don't how to catch these errors but if someone knows how to, I would be really interested in... I can only catch them when I decode these images thanks to TruncatedFileException and ImageFormatException.
    Stephane.

  • Jpeg Encoding Problem

    Hello,
    I have an applet that reads a data file and plots a graph. Now i'm having problem converting the graph into a jpg file using a jpeg encoder.
    I have the following snippet of code in the end.
    File file = new File("c:\\vj\\graph.jpg");
         if (file.exists()) {file.delete();}
         try {file.createNewFile();} catch (IOException eIo) {}
         try
         OutputStream out = new FileOutputStream( file );
         Image image = (Image)chart2D.createImage(chart2D.getWidth() ,chart2D.getHeight());
         Graphics g = image.getGraphics();
         chart2D.paint(g);
         BufferedImage bufImage = (BufferedImage)image;
    //     JPEGEncodeParam jep = new JPEGEncodeParam();
         JPEGImageEncoder jencoder = JPEGCodec.createJPEGEncoder(out);
         jencoder.encode(bufImage);
         out.flush();
         out.close();
         } catch (IOException e) {}
    But when i run the applet it gives me a security exception saying:
    java.security.AccessControlException: access denied (java.io.FilePermission c:\vj\graph.jpg read)
    How do i fix this problem??
    Any help would be appreciated,
    Thanks,
    Mamtha.

    Unfortunately, you can't do file I/O from an applet unless it is a signed applet. See applet security FAQ:
    http://java.sun.com/sfaq/
    If it's at all feasible, by far the simplest solution is to add a min method and make it an application instead of an applet. If it must be an applet, things get a little more complicated! Here are a couple of possibilities:
    1) You could sign your applet. For an example, see:
    http://java.sun.com/security/signExample/
    2) You can send the file to the server where the applet came from, and then have the server write it to disk. Finally, the client can request the file from the server. For an explanation and example code, see:
    http://java.sun.com/docs/books/tutorial/applet/practical/workaround.html

  • Encoding quality in DSP 4

    Hello. I'm having trouble with the encoding quality in DSP. I exported a short film from FCP in DVC Pro HD format in quicktime. It looks great in the computer. However, when I import it into DSP and it encodes it, the final product looks very poor. For one, the titles look terrible and whenever there's movement the compression appears obvious to anyone. I've tried to get the best encoding and it looks the same. Is it a regular problem? Does this happen to all compressed footage? or am I doing something wrong? I even suspect that it looks better on iDVD.
    thanx

    Length is 28 minutes.
    Bit rate 8.0 - Max Bit rate 8.6
    Audio was mixed in FCP. Sample rate 48K 16 bit
    Media is TDK DVD-R
    the titles are generated from FCP
    In both my computer screen (cinema display) and tv Sony Wega, the dvd version doesn't look professional-especially titles.
    how do you do it to look great?
    thanx

  • IPhoto conversion to JPEG poor quality

    I have a Nikon D70s Digital camera and upload my Nikon raw files (.NEF) to an external drive connected to my iMac. I then use iPhoto 08 to import the pictures to the library. I then export to a folder on the desktop coverting them to JPEG (for printing) using the best quality and biggest size. The size of the files are from around 5MB in NEF format and after converting to JPEG it's around 1.3MB.
    Now, I do realize that the formats are different and they will change in size, however:
    When I use Nikon View on my iMac and open the files in .NEF format, convert to JPEG, best quality, biggest size and export the file, the size is around 3.4MB.
    I am doing the same things but in different programs. I then send the JPEG files (iPhoto, Nikon View) off for printing at 3 different labs. After getting them back the iPhoto prints are very, very dull, bad colouring where as the Nikon View prints are vibrant and full of colour.
    Anybody, help or have the same problem?

    I am having a similar problem with an Olympus E410.
    My wife imports the pics into her Macbook using iPhoto, and I copy them onto my PC using the camera as an external USB hard drive.
    She ordered Kodak pictures through iPhoto and the quality was very bad. The pictures were dark, had low color, and looked as though there was a grey film over the photos.
    I did a test order through my PC by loggin onto the Kodak website and uploading my versions of the same pictures, and the quality was very good.
    We though she had recieved a bad batch on her initial order, so we did a second test from the Mac, and had the same bad quality. It seems as though something is wrong with iPhoto, and I was wondering if anyone has found a solution to this issue or knows what might be happening.
    Thanks,
    Trackaholic

  • 4 Questions on New Project Settings with Pemiere Elements 9 - & Fix Quality Problems.

    When I started my new project I selected PAL, DSLR - 1920 x 1080p  - 24 fps.
    Once in New Project, I dragged the movie onto the Timeline, then up poped a box saying something like "Fix Quality Problems", whch I accepted.
    Q1 Which is the best frame rate to record in, to subsequently bring media into Premiere Elements 9?
    I am in The UK so we have PAL and therefore, I could use 24p or 25p   - 25 p is 25 fps, and 24p is 23.976 fps. per the Canon manual.   [NB the Canon will not record at 50 or 60p in PAL]
    Q2, I read somewhere that some Video Editors can not accept a movie file in its native format , and thus change it to a different format and then edit it, and then export and convert it back - often with a serious loss of quality. I would like to maximise the quality.
    Q2i] Does Premiere Elements 9 do this converstion? If so does it harm the quality significantly - are there ways to avoid this?
    Q2ii] and if so, is there a recording format best suited for me to record in,  and subsequently import my videos into Premiere Elements 9?  eg would it be better to record in 25 fps?
    Q2iii]  There was also a screen somewhere about this section like 2,2,3,2,2  I think its something to do with pulldown?  What is the best setting for the highest quality?
    Background info:-
    I shot my videos with my new Canon DSLR 5D MkIII;  I set the movie quality to:-
    PAL, 1920 x 1080p  ALL-I (this was the highest quality the 5DIII can record at, there was an "IPB" option for lower quality).  And I selected 24 fps  - which the manual says is actually 23.976 fps
    The manual also says it is a MPEG-4 AVC/H.264 [movie recording compression] Recording Format = MOV
    But  strangely it loads onto my laptop as a "Quick Time Movie". I was expecting to see a .MOV file. [whether this is because this Sony Laptop comes with 'PMB Organiser' and view software. Or the hated iTunes changed how things are imported, I just don't understand any of this stuff .  All I do know is iTunes repeatedly tried to change my default viewer. So did it change the format, which files are imported in?? [re loading the files from my cameras CF card into my laptop]
    Any advice much appreciated
    Peter

    Peter,
    The way out of the project is encoding. And recoding tends to degradation of the export in varying degrees for different formats. Typically DV AVI undergoes less change with reencoding than the rest. But, we are not dealing with DV AVI here. Your source appears to be
    AVCHD (MPEG4 AVC/H.264) video compression
    1920 x 1080 16:9 @ 24 progressive frames per second
    Rather than export the Premiere Elements 9.0/9.0.1 Timeline to a .mov file or something else and then importing that into Premiere Elements 11 for is AVCHD export, please consider trying to open the Premiere Elements 9.0/9.0.1 project in Premiere Elements 11 and then proceed there to export Publish+Share/Compute/AVCHD with Presets = MP4 - H.264 1920 x 1080 p24.
    Keep in mind that if you take a project created in Premiere Elements 9.0/9.0.1 and edit it in Premiere Elements 11 and then decide to further edit it in Premiere Elements 9.0/9.0.1, cannot do. And, if some unexpected perk allows the opening of the Premiere Elements 11 edited version, there will be problems. Unless there is a special reason, best complete a project in the version that created and create anew in the newer version.
    A just in case note, the original on the hard drive is not altered. Premiere Elements traces back to the original from the Project Assets thumbnail (copy of original).
    But, you should make the comparsion between your H.264.mov opportunity in version 9.0/9.0.1 and your AVCHD.mp4 opportunity in Premiere Elements 11. I believe that you said that is your intention.
    For your Premiere Elements 11 tryout download, check out another browser. I always had to go to Internet Explorer for that download. Firefox never was good for that. But with this version 11, Firefox did the job. I had better results saving the downloaded folder to Documents than I did to Desktop.
    Please review and let us know if I have targeted your questions. If not, please detail what I overlooked.
    Thanks.
    ATR

  • Encoding Quality Resets!

    I'm having a problem with iDVD '08 that the Encoding Quality Resets every time I open the project back up! I can't tell if it's effecting the current project or a project once it's been created, but whenever I open it I have to change the settings then start a new project to get the Encoding Quality I want. In past versions the Encoding Quality stuck from project to project.
    Anyone else facing this issue?

    Understood. The setting will effect subsequent projects only after you relaunch the app. So even if it defaults to a prior setting, this will not effect the existing iDVD project unless a dialog box pops up asking if you wish to re encode your existing project (and you hit yes/return) in which case it would first need to delete all previous encoded assets prior to burning to disc. Does this dialog box show up on your screen asking to re encode the entire project (yes/ no)? If not, then it has touched any of the existing assets.

  • Jpeg encoding in headless environment PLEASE HELP

    Hello, thank you so much for anyone that might be able to help me. If I am in the wrong forum, sorry.. please tell me where I need to go (I'm new here).
    I am running a servlet (tomcat 4.01 - JRE 1.4.1) that uploads jpg images and creates thumbnails from them in a headless environment. The images are created without a problem for some amount of time and then all the images created are black (but they are the correct size). I haven't figured out what the trigger is yet. The memory seems to be ok (5 - 20MB left depending on how big the upload is). The only think I can do to make the process work correctly again is to restart the server. I have written out the image to a file before converting it and the image uploads fine... just the resized thumbnail is black. I have seen other issues like this which say to use a MediaTracker but I have 2 questions about that:
    1) I don't have a component to use for the MediaTracker because I get a HeadlessException
    2) I save the uploaded content into a byte array before converting so, I should have it already, right?
    Below is the code I am using and any help would GREATLY appreciated. I thank anyone for taking the time to read this!
    import java.awt.Image;
    import java.awt.Graphics2D;
    import java.awt.geom.AffineTransform;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import javax.swing.ImageIcon;
    import com.sun.image.codec.jpeg.JPEGCodec;
    import com.sun.image.codec.jpeg.JPEGImageEncoder;
    // this is the image resizine method snippet
    public void resizeImage (int maxDim, byte[] imgContent, File outputFile) throws IOException {
         Image inImage = new ImageIcon(imgContent).getImage();
         int width = inImage.getWidth(null);
         int height = inImage.getHeight(null);
         double scale = maxDim / (double) height;
         if (width > height) scale = maxDim / (double) width;
         int scaledWidth = (int)(scale * width);
         int scaledHeight = (int)(scale * height);
         BufferedImage outImage = new BufferedImage(scaledWidth, scaledHeight, BufferedImage.TYPE_INT_RGB);
         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.
         FileOutputStream os = null;
         try {
              os = new FileOutputStream(outputFile);
              JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
              encoder.encode(outImage);
         finally {
              os.close();
    }

    Hello, thank you so much for anyone that might be able to help me. If I am in the wrong forum, sorry.. please tell me where I need to go (I'm new here).
    I am running a servlet (tomcat 4.01 - JRE 1.4.1) that uploads jpg images and creates thumbnails from them in a headless environment. The images are created without a problem for some amount of time and then all the images created are black (but they are the correct size). I haven't figured out what the trigger is yet. The memory seems to be ok (5 - 20MB left depending on how big the upload is). The only think I can do to make the process work correctly again is to restart the server. I have written out the image to a file before converting it and the image uploads fine... just the resized thumbnail is black. I have seen other issues like this which say to use a MediaTracker but I have 2 questions about that:
    1) I don't have a component to use for the MediaTracker because I get a HeadlessException
    2) I save the uploaded content into a byte array before converting so, I should have it already, right?
    Below is the code I am using and any help would GREATLY appreciated. I thank anyone for taking the time to read this!
    import java.awt.Image;
    import java.awt.Graphics2D;
    import java.awt.geom.AffineTransform;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import javax.swing.ImageIcon;
    import com.sun.image.codec.jpeg.JPEGCodec;
    import com.sun.image.codec.jpeg.JPEGImageEncoder;
    // this is the image resizine method snippet
    public void resizeImage (int maxDim, byte[] imgContent, File outputFile) throws IOException {
         Image inImage = new ImageIcon(imgContent).getImage();
         int width = inImage.getWidth(null);
         int height = inImage.getHeight(null);
         double scale = maxDim / (double) height;
         if (width > height) scale = maxDim / (double) width;
         int scaledWidth = (int)(scale * width);
         int scaledHeight = (int)(scale * height);
         BufferedImage outImage = new BufferedImage(scaledWidth, scaledHeight, BufferedImage.TYPE_INT_RGB);
         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.
         FileOutputStream os = null;
         try {
              os = new FileOutputStream(outputFile);
              JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
              encoder.encode(outImage);
         finally {
              os.close();
    }

  • Print Quality problems

    My print quality for Reds & Greens is coming out streaked. The blacks and blues are fine. I use HP ink cartridges anad keep them cleaned and aligned. But on the Alignment page the reds & greens are streaked and cannot be cognized. Could this be a print head problem ? 

    Hello novemberwolf,
    Welcome to the HP Forums.
    I see that you are having some printing issues when attempting to print in colour.
    Please click on the following link on Fixing Print Quality Problems for the HP Officejet Pro 8600 e-All-in-One Printer Series.
    If the troubleshooting does not help resolve your issue, I would then suggest calling HP's Technical Support to see about further options for you. If you are calling within North America, the number is 1-800-474-6836 and for all other regions, click here: click here.
    Thanks for your time.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Print quality problems on Fuji Xerox printers when printing from ArchiCAD and/or Preview.

    Hello,
    We experience major print quality problems when printing directly from Graphisoft's ArchiCAD, Nemetscheks Vectorworks and from Apple's Preview.
    Basically we see various artefacts on our printed drawings, e.g. line thicknesses change and hatched patterns / fills are reproduced with patches where the lineweights and clours change completely... which is not acceptable.
    This affects the following Fuji Xerox printer models on both 10.6.x and 10.7.x with the latest FJX PPDs:
    ApeosPort C5540I
    Xerox LF6605 MF
    The workarounds for us are to either print PDFs from Adobe Acrobat Reader or via the rather dated Accxess Tools, besides that we prefer at times to print directly from a given Software it is also not always possible to generate a PDF and print it from Acrobat Reader... especially since the latest Adobe Reader update to its print dialogue makes printing from it extremely tedious - in fact we are considering going back to 9.5.2
    Obviously, we have approached FJX Tech Support and are awaiting a reply - however we are disappointed that this is happening on relatively new equipment and wonder if anybody else has already found a solution.

    The symptoms you mention could be related to the FJX engine and Acrobat is masking this fault. To test, you can create a Postscript file from the print dialog of ArchiCAD or VectorWorks and then download this to the Apeos RIP. If this produces the same result as when using the printer driver from the applications, then it would indicate that the engine is not capable of handling the data being sent to it from these applications.

  • Encoding Quality concerns

    Hi all..
    Am running iDVD `09 and have noticed allot of posts regarding which encoding quality "better" than another.
    Apple's help, goes by what this forum claims, Best Quality: up to 60 minutes, High Quality: 60 to 120 minutes (1 to 2 hours), or Professional Quality: anything over.
    However, Apple also goes by (and again probably this forum does too), those encoding settings are specified for single layer... No one mentions what quality for dual layer.
    And all these settings are only applicable if you play the resulting DVD on your Mac. They don't mention of sharing or viewing on a standard HD TV.
    Having said that, this poses a few questions:
    1. If I select a certain quality, why would it be different viewing on a TV screen (CRT or LCD) vs viewing on your Mac ? I would think the quality would be the same as you've burned it that way.
    2. I always use High Quality whenever possible (regardless of length), this is because I don't want to wait 4 hours just for something you can get about the same for 2. Plus, the quality is acceptable.. for me
    I guess thats just me, but the first one is more important.
    For example, my source movies are from VHS tape, Their recorded into mpeg2 format with EyeTV software from Elgato.
    I then use iDVD to encode them in High Quality... Why would this quality be any different if I were viewing either on my mac, or viewing on my 32" Samsung LCD TV.?
    Just find it interesting to see quality matters depends what your going to be viewing the final product on. For some reason, I just can't see why it would.

    Encoding quality has nothing to do with what you are viewing your movie on. I'm not sure where you got that idea. To compress video, software analyzes images and motion. Mpeg2 is highly compressed, so it takes a long time to do this. If you do it quickly, it may result in visual artifacts. If you take a long time to do it, the software may be able to compress more efficiently, avoiding artifacts. You said that you feel that you get the same results in two hours as opposed to four. If you are using a short video, then the bitrate is high enough that the differences may be minimal. Or you may not be able to see them yourself, but someone else could. So if you are comfortable trading off quality for time, then you can use the encoding setting you like. But it has nothing to do with how you play it back.
    Dual layer discs double the capacity, so you can double times you listed.
    You talked about viewing on an HD tv; you understand that DVDs are only SD by definition, right?
    Now, it is possible that DVDs will appear worse depending on how you watch them. There are a few reasons why this might be:
    1. People get used to high definition broadcasts and Blu-ray discs, and forget how DVDs look by comparison. Or they may not have stared hard at a DVD the way they do while making their own DVDs. Then they want to know why their homemade DVDs look worse than any other Hollywood discs (with its professional lighting, colorists, directing, cameras etc.) This is sort of like wondering why the wall you just painted doesn't look even after two days of painting; you just might not examine someone else's wall as carefully.
    2. Flat screen TVs are progressive, but DVDs are interlaced, as is our broadcast system. So HDTVs have deinterlacing circuitry which may do a good or poor job. Amateur footage (lots of shaky movement and rapid pans) can make interlacing artifacts look worse.
    3. Some people try to preview their DVD on their computer, a high-resolution progressive display. A DVD looks awful in comparison with all those nice menus, pictures, and fonts. Also, they are sitting about twenty inches away.
    So it is possible for the perception of quality to be different depending on your viewing device. But the encoding settings are about how the video is compressed to mpeg2.

  • Save metadata in LR - degrade JPEG image quality?

    Hi:
    Does anyone know whether using the 'save metadata' feature in LR to save changed metadata to a JPEG file will result in a resaving of the entire file and/or otherwise degrade the JPEG image quality? 
    If it does not degrade the image quality, how does this feature work?
    Many thanks for the help

    Each pixel remains unchanged in this process.
    I was under the impression that any re-saving of a jpeg image results in a slight loss of quality, regardless of whether there have been changes to the image
    This is true for other editors, such as Photoshop or Photoshop Elements, but it is not true for Lightroom because, as explained, LR does things differently than other software.

  • Jpeg export quality differing from separate macs

    I have noticed a discrepancy in the quality of jpeg images exported from iPhoto 9 on different Mac models...
    I recently bought an estarling wireless photo frame. With it you can email the pictures to a gmail account and the frame will download them. As I was uploading photos from different Macs I noticed a difference in quality of the images on the frame. To test this I followed the exact same procedure from four different Mac models all with iPhoto 9 and 10.6.4: MacBook Pro Core 2 Duo, iMac Core Duo (older mac), MacBook Core 2 Duo, and a MacMini Core 2 Duo. The procedure I followed was to import photos from my Camera to an iPhoto Library. Crop them at a 5x3 aspect ratio. Choose a photo and File > Export. Choose JPEG, Maximum Quality, Custom Size dimension of 800px and export them to the desktop. I then send them to the frame. Comparing identical photos, what I noticed is that the photos from the MacBook Pro and the MacMini are very noticeably more crisp and clean looking on the frame, while the photos from the MacBook and iMac are much more pixelated.
    Has anyone else noticed anything similar? Could this be related to hardware? Please let me know if I can provide any further information that would be helpful. Thanks.

    I would first compare them after export and before emailing, to remove the possibility that the discrepancy is introduced by the uploading/downloading process.
    Regards
    TD

Maybe you are looking for

  • Sharepoint Foundation 2010 and SSRS

    Hi I have one small problem with Sharepoint Foundation 2010 and SSRS Integrated mode. We have one installation with frontend and backend server, backend is installed on SSRS server and Kerberos authentication is enabled. There are no problem to view

  • Calling BI Publisher report  using FND_SUBMIT.SUBMIT_REQUEST---

    Hi Experts, We have a requirement in which BI Publisher report will be called using a PL/SQL procedure. i am successfully able to call BI publisher report using FND_SUBMIT.SUBMIT_REQUEST function. Business requirement is that the BI publisher report

  • No fact table exists at the requested level of detai error

    Hi Gurus, Gud Evening, There is a report with 10 columns and its coming fine when ever we are adding new column some date column (Start Date) it is showing the below error State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A gen

  • How to re-install PSE7? [was: lost disc]

    Hi, I can't find my PS Elements 7 disc (yes, I know it's old but good enough for me) and tried unsuccessfully to use my serial number to activate a downloaded copy.  Is there a way around this without having to pay for another copy?

  • Confused with backups

    hi all, i am slowly, very slowly getting to grips with my Mac Book Pro, but i am still confused by Time Machine, i have a "My Passport" 1tb drive to put my backups on, i have so far done about 5 back ups and only used,  about 50gig of space on the 1t