Quicktime converting 24 bit images to 16 bit images on paste

I am doing image processing of a QuickTime (7.1.5 pro) movie in Photoshop (CS2) using Applescript. When I copy an image (either with Applescript or manually) and paste it into a new QuickTime Player movie the image gets converted to a video depth of 16 (thousands) rather than 24. I have tried:
set DestMovie to make new movie with properties {data rate:SourceRate, video depth:24, high quality:true} -- I also tried video depth:0
paste
I also try:
tell movie 1
paste given video depth:24 -- I've also tried just paste
end tell
and still it converts my images to thousands. The image gets to photoshop perfectly. If I paste it into a Pages document the image depth is correct. I have tried both RGB and CMYK in 8 and 16 bit depths in Photoshop. If I save the file as JPEG in high quality mode and then open the file with Quicktime and copy and paste it, it works great, the only problem is I then have to make a new file for every image I process because if I close the file, QuickTime keeps it open so Photoshop can't then save to the same file.....
Will someone please help me figure out how to keep my image quality on pasting into Quicktime???
Thanks
Powerbook G4   Mac OS X (10.4.9)  

I open my original movie in Quicktime. I make a new movie in Quicktime for the modified images to be pasted into.
I copy the current frame from my source movie and paste it into Photoshop. I do my image processing and then save as a jpeg high quality and close my file (which strips out the audio from a muxed mpeg-1 file) then reopen the file in Photoshop. Now I have a good quality image in Photoshop. I have been using RGB 8 bit as my mode in Photoshop. I only tried CMYK to see if it would work better. It was exactly the same.
I then do a select all and copy in Photoshop, then go to Quicktime and do a paste. This is when it gets converted to 16 bit depth. If I do the same exact sequence and paste into a Pages document the image stays 24 bit, so I am pretty sure it is something in Quicktime.
Again, if I save the file in Photoshop and then open the same file in Quicktime, copy the image and then paste it into my destination movie, it works great. The only problem with this method is I have 15 minutes of video to process with is 27,000 jpeg files in the end. I prefer to use one file if I can. The reason for the 27,000 files is that when I open an image in Quicktime and paste it into a movie, it saves it as a track in the movie and even when I close the original file, Quicktime keeps it as in use. When I look at the movie properties, it keeps the original file in the list until I do a save as movie and it flattens the movie. If I flatten the movie once, then when I do another save, it keeps the original file open again. I would have to do a save as movie... again 27,000 movie files now. Geez...
Thanks!

Similar Messages

  • Need conversion mechanism for converting 24 bit image to 16 bit

    In my java project I need to convert 24 bit image to 16 bit image. I don't have any clue. Please provide me the option to implement it.
    Thanks,
    jai

    That doesn't tell me much, and I know what you're talking about. I doubt that it tells the OP anything useful whatsoever.Sorry EJP, it was a mouthful I know. Maybe this will help instead, a ColorConversionOps class to work on *32 bit > 16 bit > 32 bit colors*. To help clarify where the 16 bit color input and output goes, some of the methods return or require parameters of type short. Also take notice the bitmask for variables of type short vs the bitmasks for int. AND pay particular attention to the unsigned right bit-shifting of the most-significant-digit.
    public class ColorConversionOps
      public static short convert32_16(int rgb) {
        int a = ((rgb & 0xF0000000) >>> 16);
        int r = ((rgb & 0x00F00000) >>  12);
        int g = ((rgb & 0x0000F000) >>   8);
        int b = ((rgb & 0x000000F0) >>   4);
        return (short)( a | r | g | b);
      public static int convert16_32(short rgb) {
        int a = ((rgb & 0xF000) << 16);
        int r = ((rgb & 0x0F00) << 12);
        int g = ((rgb & 0x00F0) <<  8);
        int b = ((rgb & 0x000F) <<  4);
        return (a | r | g | b);
      public static void printRGB_32(int rgb) {
        System.out.println("a="+((rgb & 0xFF000000) >>> 24));
        System.out.println("r="+((rgb & 0x00FF0000) >>  16));
        System.out.println("g="+((rgb & 0x0000FF00) >>  8));
        System.out.println("b="+ (rgb & 0x000000FF));
        System.out.println();
      public static void printRGB_16(short rgb) {
        System.out.println("a="+((rgb & 0xF000) >>> 12));
        System.out.println("r="+((rgb & 0x0F00) >>  8));
        System.out.println("g="+((rgb & 0x00F0) >>  4));
        System.out.println("b="+ (rgb & 0x000F));
        System.out.println();
    }Now to make the conversion from 32 bit color to 16 bit color and back. NOTICE there willl be a loss of precision -- just like someone else has already said.
    public class Test
      public static void main(String[] args)
        int rgb = 0xFFFFFFFF;
        ColorConversionOps.printRGB_32(rgb);
        //a=255
        //r=255
        //g=255
        //b=255
        rgb = ColorConversionOps.convert32_16(rgb);
        ColorConversionOps.printRGB_16((short)rgb);
        //a=15
        //r=15
        //g=15
        //b=15
        rgb = ColorConversionOps.convert16_32((short)rgb);
        ColorConversionOps.printRGB_32(rgb);
        //a=240
        //r=240
        //g=240
        //b=240
    }And now we see, the reason 16bit color is so unpopular to the rest of the world, but not for us here!

  • Convert 256-bit image to one-bit

    I want to convert 256-bit bmp image to 1-bit.So please help me.

    armalcolm wrote:
    OK here's a frameworkUmm... Drawing onto a BI of TYPE_BYTE_BINARY should achieve this in just a few lines. The API says
    When color data is stored in an image of this type, the closest color in the colormap is determined by the IndexColorModel and the resulting index is stored. Approximation and loss of alpha or color components can result, depending on the colors in the IndexColorModel colormap.
    Of course, if this is homework then OP will probably be required to reinvent the wheel.
    db

  • To convert an rgb image to 8 bit grayscale

    Hey,
    I need to convert an rgb image to 8 bit grayscale image as the image is being acquired, im using the imaq create VI, which has an 'image type' terminal which allows the choice of image to be selected.however this isnt working. any solutions?
    also
    Im trying to make a image constant for the imaq subtraction VI, so the this constant image is subtracted from each image as its acquired.what would be the easiest way of doing this, without having the user specify the same image path each time? thanks.

    Not sure what you mean by extracting a plane?
    Here is a VI that will convert an image to 8-Bit.  This paired with the grayscale one will get the desired result.  See example.vi below.  Order that they are applied does give slightly different results.
    LV 8.0 through 2013, Win 7
    CLA
    Attachments:
    example.vi ‏12 KB
    QSI Convert to 8-Bit Image.vi ‏22 KB
    QSI Grayscale Image.vi ‏28 KB

  • [Bug] iOS 5.1 missing covers after "convert higher bit rate songs to" with iTunes 10.6

    All my music has covers in iTunes Library. But after i updated to iOS 5.1 they are missing on my devices.
    It happens every time i check "convert higher bit rate songs to 192/256 kbps" on iTunes 10.6 (40) on my Mac.
    On the screenshot (iPad 2010 running iOS 5.1) Bon Iver's album copied by default settings, and Coldplay's album converted to 192 kbps.
    BTW on my old iPhone 3G (iOS 4.2.1) all covers are OK even when convert feature is ON.

    I have solved it by unchecking (momentaneously till apple fix it) the "Convert higher bit rate songs" option.
    I know that it need more space but i don't have too much music synced so.. it isn't a problem for me..
    I have this problem because i'm using the "manually manage music and videos", i'm not using the auto sync option because iTunes always try to copy my new apps to my mac even having that option unchecked...
    Now we have iCloud... i don't know why apple still have not deleted this feature!
    Anyway... i have solved it momentaneously.
    Apple.... come on!

  • ITunes 7 and Shuffle:"Convert higher bit rate songs to 128kbps AAC" broken

    This has become unusably slow in iTunes 7. Is this fixed yet? Does anyone have a workaround?

    I have the same issue but with my iPad 2 and iPhone 3GS. Songs play fine in iTunes. If is uncheck Convert higher bit rate songs to 128kbps AAC the no more scratching sounds on my devices.

  • HT1535 How do i convert higher bit rate songs to 128 kbps AAC

    I am trying to sync selected songs to my Iphone 5 from my itunes library. I have recently taken my computer to be fixed and all of my music documents were taken off but the files were replaced shorty after. I re-downloaded itunes and it is up to date. My iphone is also on the ios 7.0.4. Whenever i plug my phone in to be synced it never goes past the "waiting for changes to be applied" step. While my phone was still connected i went to the "On this iphone" tab and clicked the autofill button and a message came up that said i must convert higher bit rate songs to 128 kbps ACC to allow the songs to be copied to my iphone. How do i do this? Also, once this is done will it solve my problem with transfeering my songs from my library to my iphone?

    Sid,
    With the device connected, click the Summary tab and you will see the "Convert higher bit rate..." option.  Set it to 128.  See picture below:

  • Using the "Convert higher bit rate songs to 128 kbps AAC" feature...

    I recently discovered the "Convert higher bit rate songs to 128 kbps AAC" feature and used it to copy my entire 70 GB music library to my 64GB iPad. The music library now occupies only 45 GB. Awesome!!!
    Unfortunately, the whole process took well over 24++ hours on my quad core Windows 7 computer (takes about 6 seconds per track). Questions:
    1. Is it possible to speed up the process? Even though I am using iTunes 64-bit version, it seems that at no point is more than a single core being used at 33%. Seems to me like overall 8% of the CPU (33% / 4) capacity is being used for the conversion and 92% is being left idle. Is this just bad programming or is there anything I can do to speed up the process? Others see similar problems?
    2. Now I have already started dreading the day, I need to restore my iPad (e.g., when OS version 4 becomes available). I would hate to have to do this process all over again. Should I need to restore my iPad, is there anyway I can force iTunes to back up the 128-bit AAC versions on my computer and restore it up from there?
    Any insights into both these questions will be deeply appreciated.
    Cheers,

    ed2345 wrote:
    malus_domestica wrote:
    Thanks for the response.
    So, I am wondering why iTunes uses only 8% of the processor power in converting the songs.
    Possible reasons not to grab more of the CPU power (1) maybe the process is I/O bound due to all the writing, and is not processor limited? (2) since conversion is almost always a background program, and the user will typically have other things going on, maybe it intentionally limits CPU use?
    I ran a few quick experiments (out of curiosity) and think the answer is #2. No apparent technical reason but potentially a limitation introduced by Apple's engineers to maintain a good user experience (for some people at least). I fired up 4 instances of dbpoweramp and ran multiple conversions and found that the process goes faster than what iTunes can do by an order of magnitude. With luck, someday Apple will have an option for users to select how much of processor bandwidth to be allocated for the conversion.

  • Converting 8 bits to unicode?

    how do i convert 8 bit chars to unicode?
    thnaks in advance
    peleg

    You have to prevent sign extension on the (signed) 8 bit byte:   byte b= ...;
       char c= (char)(b&0xff);kind regards,
    Jos

  • What does convert higher bit rates songs to 128 kbps mean

    what does convert higher bit rate songs to 128 kbps mean?

    pattyfromsyracuse wrote:
    what does convert higher bit rate songs to 128 kbps mean?
    Some people, myself included, import their music from original audio CDs. When doing so I choose to import using Apple Lossless format so as to keep the full original quality of the audio CDs (this is after all why it is called Apple Lossless format in that you are not losing any quality).
    The drawback of doing this is that the music files take a lot more disk space than a lossy format like MP3 or AAC. This is these days not a problem on a computer as hard disk space is now cheap an plentiful but it can be a problem on a flash memory based music player like the iPod Shuffle, iPod Nano, iPod Touch, or iPhone as these have far less capacity.
    Therefore Apple now let you turn on this option to automatically convert from Apple Lossless to AAC when syncing to one of these music players. As a result on your computer the music is still kept in the full lossless high quality format, but is converted and transferred as a much smaller but slightly lower quality for use on these music players. As with an iPod you are not listening in a quiet room with high quality speakers you will not really notice the difference in quality.

  • I am tying to add music from a disk i imported but it says "convert higher bit rate songs to 128 kbps AAC"? How do i do this?

    How do i convert the bit rate to 128 kbps? Having difficulty figuring that out

    Add to what?  An iOS device (of which you make no mention)?
    https://discussions.apple.com/message/18341150 (picture for iPad)

  • Want to convert 32 bit assembly code to 64 bit assembly

    hi
    Friends
    I want to convert 32 bit assembly code to 64 bit.
    extern "C" long sparc_atomic_add_32 (volatile long* p, long val);
    static void asm_code()
    asm(".align 8"); \
    asm(".global sparc_atomic_add_32"); \
    asm(".type sparc_atomic_add_32, #function"); \
    asm("sparc_atomic_add_32:");
    asm(" membar #Lookaside | #LoadLoad | #LoadStore | #StoreLoad");
    asm(" ld [%o0], %l0"); // l0 = *p;
    asm(" add %l0, %o1, %l2"); // l2 = l0 + val
    asm(" cas [%o0], %l0, %l2"); // if (*p = l0) swap([o0], l2);
    asm(" cmp %l0, %l2"); // does it match
    asm(" bne sparc_atomic_add_32");// if not try again
    asm(" nop"); // delay slot filler
    asm(" add %l2, %o1, %o0"); // set return code
    asm(" membar #Lookaside | #LoadLoad | #LoadStore | #StoreLoad");
    asm("retl");
    asm("nop");
    }

    mickeyanton wrote:
    Adobe recommends going to a 32 bit Lightroom
    Adobe specifically recommended that to you personally?
    It makes far more sense to install 64 bit Lightroom on a 64 bit operating system.
    What problems are you having with 64 bit Lightroom?

  • Convert 16 bit tiff?

    I am trying to recover disk space and have been using the DNG Converter to save 10-20 percent on my Canon cr2 files
    I also have over 256 Gigs of 16 bit tiff files that I have outputted over the years from the HDR program Photomatix Pro,
    When I originally saved them I saved them at a bit depth of 16 so I would have more to work with for the final editing.
    So, on average the tiff  files are each about 100 megs, I am guessing that as a DNG , it would shrink that by about 75%
    DNG converter doesnt like the 16 bit tiffs and skips them.
    Is there another piece of software that can convert 16 bit tiffs to DNG
    OR
    Is there another piece of software that can batch convert 16 bit tiffs to 8 bit so I can dump  then them into the DNG converter without having to do each file one by one.
    Thanks
    Todd McIntosh

    I have not used it before to convert 8-bit Tiffs.
    I am only assuming it does so, because the program pulls the tiff files into the cue when you have them in the folder you are converting.
    When the program goes to convert them (16 bit tiffs) it gives me a status of ...
    "there was an error parsing the file"
    Perhaps I am incorrect in assuming the results would be different with an 8 bit Tiff.
    Hmmmm,
    Todd

  • When I Tick Convert higher bit rate songs to 128kbps and press sync it says are you sure you want to remove apps. Help please

    Hi, I recently put music on my ipad (manually, I do not sync because I dont like leaving music in my itunes) I realised they take up a lot of space because of the bit rate so I went into iTunes and pressed "Convert higher bit rate songs to 128 kbps AAC" Then I pressed apply and I got the message "Are you sure you want to remover 113 apps......." I have checked and sync Apps is unticked so my question is why does it say this and is there a way around it. Also if i tick convert to AAC will it convert the songs already on my ipad or just ones I add from now on.

    SeasiderChris wrote:
    Hi, I recently put music on my ipad (manually, I do not sync because I dont like leaving music in my itunes
    Why not? That's what it is for.
    So Restoring your iPad when it crashes and losing all your music is acceptable to you?
    Then I pressed apply and I got the message "Are you sure you want to remover 113 apps......." I have checked and sync Apps is unticked so my question is why does it say this and is there a way around it.
    Since you now want to sync the iPad and have told it you do not want to sync apps, it will remove them all.
    Check the apps you want on the iPad.
    Also if i tick convert to AAC will it convert the songs already on my ipad or just ones I add from now on.
    It will only convert new songs added to the iPad.

  • Convert higher bit rate songs?

    This is an option on the device screen every tme I sync my iPod touch - now at OS v6.
    Should I click on it and convert? And if so, to which kbps setting?

    On-the-fly conversion is only available on the iPod shuffle. The iPod shuffle (probably because of it's limited capacity) has the option to "Convert higher bit rate songs to 128 kbps AAC". This option is not available for any other model iPod. Syncing anything larger than a shuffle and converting in the process would be a very slow process. For the larger iPods the files have to be converted in iTunes first or indeed have to have been imported in a compressed format prior to transfer.
    There are a couple of ways to handle this, one is to convert the songs in your library and put them in a playlist to sync the iPod from, the other is to have a second library of compressed songs and sync the iPod from there:
    iPod - Syncing Music
    Using multiple iTunes libraries -Mac

Maybe you are looking for

  • Mac app store borderlands PROBLEM

    so i was casually buying borderlands goty and BLAMMO it still tells me that i havent bought it even though i downloaded it and it works perfectly it thinks i havent donloaded it how do i make it recognize the game

  • How to preverify all classes under a directory and subdirectories?

    I have compiled all my java codes into class files in "build/classes" directory. Now I am trying to preverify the class files with the following command: preverify -classpath /opt/midp/classes:build/classes -d build/preverified build/classes However

  • Opening an image in a new window

    Ok, I've been browsing around the web trying to find out but all examples point me to the this one: on(release){ getURL ("your page name/path", "_blank"); but i don't want to grab the image from a url i want to be able to click on a thumbnail which t

  • Crash using Hand tool

    after effects 13.2 keeps on crashing when i use the hand tool too much... problem details (Problem Event Name: APPCRASH   Application Name: AfterFX.exe   Application Version: 13.2.0.49   Application Timestamp: 54816501   Fault Module Name: StackHash_

  • MBP retina blue screens when it is being moved, how to fix it?

    Problem started about a few weeks ago when it stopped detecting external display (HDMI) ocasionally, but the problem was minor and it would go away after  afew tries. Then it turned into blue screening for a few seconds when external dispaly is plugg